Skip to content

Conversation

@philschmid
Copy link
Owner

  • Pipe stderr from stdio transports to capture server output
  • Always stream stderr immediately during connection (not just with MCP_DEBUG)
  • Include captured stderr in error messages when connection fails
  • Enables visibility of auth prompts before connection timeout

This fixes the issue where auth URLs from MCP servers like google-workspace were only visible after the connection timed out, making it impossible to complete OAuth flows in time.

- Pipe stderr from stdio transports to capture server output
- Always stream stderr immediately during connection (not just with MCP_DEBUG)
- Include captured stderr in error messages when connection fails
- Enables visibility of auth prompts before connection timeout

This fixes the issue where auth URLs from MCP servers like google-workspace
were only visible after the connection timed out, making it impossible to
complete OAuth flows in time.
@philschmid philschmid force-pushed the feat/stderr-streaming branch from 3e853fd to d049cbb Compare January 12, 2026 19:37
@philschmid philschmid merged commit 9351ba6 into main Jan 12, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants