[Bug] Claude Code hangs and requires session restart

Resolved 💬 2 comments Opened Mar 13, 2026 by prodepollo Closed Apr 10, 2026

Bug Description
Claude Code got stuck in the middle of task and I had to restart the iTerm2 session.

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.1.75
  • Feedback ID: 7e69151e-c48d-4d68-9539-62da432f02e9

Errors

[{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n    at CW_ (/$bunfs/root/src/entrypoints/cli.js:2283:28633)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-13T19:10:57.317Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server pinecone invalid: Missing environment variables: PINECONE_API_KEY\n    at CW_ (/$bunfs/root/src/entrypoints/cli.js:2283:28633)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-13T19:10:57.317Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server pinecone invalid: Missing environment variables: PINECONE_API_KEY\n    at CW_ (/$bunfs/root/src/entrypoints/cli.js:2283:28633)\n    at async M (/$bunfs/root/src/entrypoints/cli.js:4613:17370)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-13T19:10:57.691Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n    at CW_ (/$bunfs/root/src/entrypoints/cli.js:2283:28633)\n    at async M (/$bunfs/root/src/entrypoints/cli.js:4613:17370)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-13T19:10:57.691Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server pinecone invalid: Missing environment variables: PINECONE_API_KEY\n    at CW_ (/$bunfs/root/src/entrypoints/cli.js:2283:28633)\n    at async k (/$bunfs/root/src/entrypoints/cli.js:4613:16654)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-13T19:10:57.692Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n    at CW_ (/$bunfs/root/src/entrypoints/cli.js:2283:28633)\n    at async k (/$bunfs/root/src/entrypoints/cli.js:4613:16654)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-13T19:10:57.692Z"}]

View original on GitHub ↗

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