continue
continue copied to clipboard
MCP server timeout
Before submitting your bug report
- [x] I believe this is a bug. I'll try to join the Continue Discord for questions
- [x] I'm not able to find an open issue that reports the same bug
- [x] I've seen the troubleshooting guide on the Continue Docs
Relevant environment info
- OS: macOS
- Continue version: 1.0.6
- IDE version: 1.99.3
- YAML config:
mcpServers:
- name: snowflake_pip
command: uvenv
args:
- run
- mcp_snowflake_server
- --
- --authenticator
- external browser
Description
ISSUE
When using an external MCP server like for instance map_snowflake_server, it takes a while to start up the server, especially when using external browser authentication (longer than the default time in the DEFAULT_MCP_TIMEOUT parameter in core/context/mcp/MCPConnection.ts). This results in the server being started multiple times and failing every time on a connection time out (even though the server did start fully, but is not recognised by continue).
RESOLUTION
Please add an option in the YAML config to set a longer mcp_timeout value to overcome this.
To reproduce
- install uvenv on your computer
- add the config as above under mcpServers in config.yaml, add a username and server address (I omitted this due to security reasons)
- look at the MCP tab in the prompt window and observe the error.
Log output