claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

Desktop app: no way to reconnect a connected stdio MCP server, and a respawned server keeps its stale tool list

Open gddrx opened this issue 1 month ago • 1 comments

Environment: Claude desktop app (Code tab), Linux, Claude Code 2.1.308. A stdio MCP server configured in user settings (~/.claude.json).

Steps:

  1. A session is connected to the stdio server, which exposes 25 tools.
  2. Replace the server's binary with a build that adds a 26th tool.
  3. Open /mcp → the server. It shows "Connected · 25 tools" with no Reconnect or Restart action.
  4. Kill the server process. The next tool call respawns it from the new binary, and old tools return the new answers. But the session still lists 25 tools, and the new tool cannot be called.

Expected: a Reconnect/Restart action for connected servers, or a fresh tools/list when a stdio server is respawned.

Also: the agent's built-in guidance points to a Reconnect button in /mcp, so the agent tells users to press a button that is not there for a connected server.

gddrx avatar Oct 25 '26 17:10 gddrx

I'm facing the same issue. After I do changes that require reconnecting the MCP, the only way I managed to do it would be to cmd+q the app and reopen again, this reconnecting the MCP. In cli i can do /mcp -> -> reconnect.

mvatafu avatar Oct 26 '26 10:10 mvatafu