Stdio Transport Failure: MCP Server Error Recovery Blocked

Resolved 💬 2 comments Opened Jul 14, 2025 by I116M Closed Nov 30, 2025

Bug Description
MCP stdio transport fails to recover after first error: When the Supabase MCP server encounters an initial error, the stdio transport cannot properly detect the error state, causing all subsequent requests to hang indefinitely until manual restart.

Environment Info

  • Platform: darwin
  • Terminal: cursor
  • Version: 1.0.51
  • Feedback ID: 127eccc5-f592-4661-9308-716d92d7a13f

Errors

[{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n    at checkExecSyncError (node:child_process:890:11)\n    at execSync (node:child_process:962:15)\n    at eD (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:712:4489)\n    at file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:624:13989\n    at Q (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:526:14406)\n    at QF (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:624:13129)\n    at cC (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:624:11995)\n    at qB (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:624:16609)\n    at OlA (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:624:16767)","timestamp":"2025-07-14T13:56:18.210Z"},{"error":"Error: 1: 1 Error: Please restart VS Code before reinstalling Claude Code.\n    at hl.h (file:///Applications/Cursor.app/Contents/Resources/app/out/vs/code/node/cliProcessMain.js:58:48587) {\n  code: 'Internal',\n  name: 'Internal'\n}\nFailed Installing Extensions: file:///usr/local/lib/node_modules/%40anthropic-ai/claude-code/vendor/claude-code.vsix\n(node:75163) [DEP0168] DeprecationWarning: Uncaught N-API callback exception detected, please run node with option --force-node-api-uncaught-exceptions-policy=true to handle those exceptions properly.\n(Use `Cursor --trace-deprecation ...` to show where the warning was created)\n\n    at euQ (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1343:5219)\n    at async ouQ (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1343:2582)","timestamp":"2025-07-14T13:56:19.795Z"},{"error":"Error: Error executing tool execute_postgresql: Operation with risk level 3 requires explicit user confirmation.\n\nWHAT HAPPENED: This high-risk operation was rejected for safety reasons.\nWHAT TO DO: 1. Review the operation with the user and explain the risks\n            2. If the user approves, use the confirmation tool with this ID: conf_9b1ef943\n\nCONFIRMATION COMMAND: confirm_destructive_postgresql(confirmation_id=\"conf_9b1ef943\", user_confirmation=True)\n    at Uq2 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1383:14523)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async Object.call (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1383:9921)\n    at async dL6 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1941:20231)\n    at async nz1 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1941:16952)\n    at async uL6 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1941:15977)\n    at async gL6 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1941:15606)\n    at async qE (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1941:14043)\n    at async qE (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1941:14733)\n    at async qE (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1941:14733)","timestamp":"2025-07-14T13:59:26.653Z"}]

View original on GitHub ↗

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