Skip to content

Fix claude code connectivity timeouts#3830

Merged
KoolADE85 merged 3 commits into
mcpfrom
bugfix/claude-mcp-timeouts
Jun 18, 2026
Merged

Fix claude code connectivity timeouts#3830
KoolADE85 merged 3 commits into
mcpfrom
bugfix/claude-mcp-timeouts

Conversation

@KoolADE85

Copy link
Copy Markdown
Contributor

Recent versions of Claude Code have intermittent issues connecting to a Dash MCP server when run on localhost.
This PR adds a workaround that allows Claude to connect reliably.

Issue:
The MCP server previously responded to GET requests with a 405 Not Allowed. While the spec does allow this, the dev server automatically closes connections with this response. Depending on the timing, Claude would attempt to reuse the already-closed connection which caused connectivity failures.

Solution:
The 405 response code is replaced with a 200 and an empty, completed stream which Claude accepts and correctly moves on.

@KoolADE85 KoolADE85 force-pushed the bugfix/claude-mcp-timeouts branch from 48f8f84 to c793778 Compare June 18, 2026 17:43
@ndrezn

ndrezn commented Jun 18, 2026

Copy link
Copy Markdown
Member

Is an e2e test connecting a Dash MCP to Claude Code in scope for our test suite?

@T4rk1n T4rk1n left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💃

@KoolADE85

Copy link
Copy Markdown
Contributor Author

Is an e2e test connecting a Dash MCP to Claude Code in scope for our test suite?

No, we don't have any plumbing in place to connect Claude to the MCP server in an integration test. I think that will be a heavier lift.

@KoolADE85 KoolADE85 merged commit f62582c into mcp Jun 18, 2026
27 of 28 checks passed
@sonarqubecloud

Copy link
Copy Markdown

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.

3 participants