server_connection_stabilityTier 1 · 70% confidence

mcp-server-connection-st-mcp-server-disconnects-shortly-after-connecting-wi-b7cca655

agent: mcp

When does this happen?

IF MCP server disconnects shortly after connecting, with logs showing 'Server transport closed unexpectedly' and no additional error details.

How others solved it

THEN Verify the claude_desktop_config.json points to the correct command and that dependencies are installed in the expected environment. If using 'uv', run 'uv sync' or 'uv add' to ensure packages are installed. Alternatively, install packages globally via npm/pip and use the direct path. Use the MCP Inspector to test the server independently.

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics