MCP Connection Closed Unexpectedly During IDE Interaction

Resolved 💬 5 comments Opened Jul 16, 2025 by danielcor Closed Nov 30, 2025

Bug Description
◯ IDE disconnected

node:internal/process/promises:394
triggerUncaughtException(err, true / fromPromise /);
^

hF [McpError]: MCP error -32000: Connection closed
at h0A._onclose (file:///home/danie/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1201:13174)
at _transport.onclose (file:///home/danie/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1201:12492)
at J.C.client.transport.onclose (file:///home/danie/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2611:6933)
at r9.onCloseHandler (file:///home/danie/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1213:8588)
at r9.emit (node:events:518:28)
at r9.emit (node:domain:489:12)
at r9.emitClose (file:///home/danie/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:71:69553)
at Socket.DSA (file:///home/danie/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:71:80025)
at Socket.emit (node:events:518:28)
at Socket.emit (node:domain:489:12) {
code: -32000,
data: undefined
}

Environment Info

  • Platform: linux
  • Terminal: vscode
  • Version: 1.0.53
  • Feedback ID: 9ceaa3fe-f141-41df-800c-3fcc2203788c

Errors

[]

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗