claude-code - 💡(How to fix) Fix [Bug] Keybinding conflict: cmd+c reserved by macOS system copy [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#52829Fetched 2026-04-25 06:19:47
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Author
Timeline (top)
labeled ×4commented ×1

Error Message

[{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n at o0H (/$bunfs/root/src/entrypoints/cli.js:2769:32776)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-04T12:08:11.746Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n at o0H (/$bunfs/root/src/entrypoints/cli.js:2769:32776)\n at async k (/$bunfs/root/src/entrypoints/cli.js:6355:11810)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-04T12:08:14.340Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n at o0H (/$bunfs/root/src/entrypoints/cli.js:2769:32776)\n at async N (/$bunfs/root/src/entrypoints/cli.js:6355:12696)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-04T12:08:14.341Z"},{"error":"Error: 1: Command failed with ERR_STREAM_PREMATURE_CLOSE: code --force --install-extension anthropic.claude-code\nPremature close \n at _Q1 (/$bunfs/root/src/entrypoints/cli.js:1717:4046)\n at async ec1 (/$bunfs/root/src/entrypoints/cli.js:1717:1435)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-04T12:08:15.161Z"}]

Code Example

[{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n    at o0H (/$bunfs/root/src/entrypoints/cli.js:2769:32776)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-04T12:08:11.746Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n    at o0H (/$bunfs/root/src/entrypoints/cli.js:2769:32776)\n    at async k (/$bunfs/root/src/entrypoints/cli.js:6355:11810)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-04T12:08:14.340Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n    at o0H (/$bunfs/root/src/entrypoints/cli.js:2769:32776)\n    at async N (/$bunfs/root/src/entrypoints/cli.js:6355:12696)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-04T12:08:14.341Z"},{"error":"Error: 1: Command failed with ERR_STREAM_PREMATURE_CLOSE: code --force --install-extension anthropic.claude-code\nPremature close \n    at _Q1 (/$bunfs/root/src/entrypoints/cli.js:1717:4046)\n    at async ec1 (/$bunfs/root/src/entrypoints/cli.js:1717:1435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-04T12:08:15.161Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description ✘ Keybinding configuration issues · /Users/brunofay/.claude/keybindings.json
└ "cmd+c" may not work: macOS system copy

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 2.1.123
  • Feedback ID: d086f315-ef93-458f-9c16-22ce8fbf146e

Errors

[{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n    at o0H (/$bunfs/root/src/entrypoints/cli.js:2769:32776)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-04T12:08:11.746Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n    at o0H (/$bunfs/root/src/entrypoints/cli.js:2769:32776)\n    at async k (/$bunfs/root/src/entrypoints/cli.js:6355:11810)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-04T12:08:14.340Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n    at o0H (/$bunfs/root/src/entrypoints/cli.js:2769:32776)\n    at async N (/$bunfs/root/src/entrypoints/cli.js:6355:12696)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-04T12:08:14.341Z"},{"error":"Error: 1: Command failed with ERR_STREAM_PREMATURE_CLOSE: code --force --install-extension anthropic.claude-code\nPremature close \n    at _Q1 (/$bunfs/root/src/entrypoints/cli.js:1717:4046)\n    at async ec1 (/$bunfs/root/src/entrypoints/cli.js:1717:1435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-04T12:08:15.161Z"}]

extent analysis

TL;DR

Set the GREPTILE_API_KEY environment variable to resolve the MCP server error.

Guidance

  • The error messages indicate a missing GREPTILE_API_KEY environment variable, which is required for the MCP server to function correctly.
  • To mitigate the issue, set the GREPTILE_API_KEY environment variable before running the application.
  • Verify that the environment variable is set correctly by checking the application logs or using a debugging tool.
  • If the issue persists, check the application configuration to ensure that the GREPTILE_API_KEY variable is being used correctly.

Notes

The provided error messages suggest that the issue is related to a missing environment variable, but the root cause of the problem may be more complex. Additional debugging or configuration changes may be required to fully resolve the issue.

Recommendation

Apply workaround: Set the GREPTILE_API_KEY environment variable to resolve the MCP server error, as this is the most direct solution implied by the error messages.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [Bug] Keybinding conflict: cmd+c reserved by macOS system copy [1 comments, 2 participants]