Skip to content

MCP server timeout #5325

Description

@steelp02

Before submitting your bug report

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

  1. install uvenv on your computer
  2. add the config as above under mcpServers in config.yaml, add a username and server address (I omitted this due to security reasons)
  3. look at the MCP tab in the prompt window and observe the error.

Log output

Metadata

Metadata

Labels

area:configurationRelates to configuration optionsarea:mcpRelates to Model Context Protocol (MCP)good-first-issueSuggested issue for new contributorskind:bugIndicates an unexpected problem or unintended behaviorpriority:highIndicates high priority

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions