claude-code - 💡(How to fix) Fix [Bug] Performance degradation causing slow command execution [2 comments, 3 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#48519Fetched 2026-04-16 06:57:55
View on GitHub
Comments
2
Participants
3
Timeline
7
Reactions
0
Author
Timeline (top)
labeled ×4commented ×2cross-referenced ×1

Error Message

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/suleyman/.local/share/claude/versions/2.1.107 (expected in multi-process scenarios)\n at bd_ (/$bunfs/root/src/entrypoints/cli.js:2334:2153)\n at nt6 (/$bunfs/root/src/entrypoints/cli.js:2334:1233)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T06:58:50.316Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at zDH (/$bunfs/root/src/entrypoints/cli.js:1698:33932)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T06:58:50.328Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at zDH (/$bunfs/root/src/entrypoints/cli.js:1698:33932)\n at async k (/$bunfs/root/src/entrypoints/cli.js:5976:11711)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T06:58:52.632Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at zDH (/$bunfs/root/src/entrypoints/cli.js:1698:33932)\n at async G (/$bunfs/root/src/entrypoints/cli.js:5976:10916)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T06:58:52.632Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at zDH (/$bunfs/root/src/entrypoints/cli.js:1698:33932)\n at async G (/$bunfs/root/src/entrypoints/cli.js:5976:10916)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T07:33:11.045Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at zDH (/$bunfs/root/src/entrypoints/cli.js:1698:33932)\n at async k (/$bunfs/root/src/entrypoints/cli.js:5976:11711)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T07:33:11.051Z"}]

Code Example

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/suleyman/.local/share/claude/versions/2.1.107 (expected in multi-process scenarios)\n    at bd_ (/$bunfs/root/src/entrypoints/cli.js:2334:2153)\n    at nt6 (/$bunfs/root/src/entrypoints/cli.js:2334:1233)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T06:58:50.316Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at zDH (/$bunfs/root/src/entrypoints/cli.js:1698:33932)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T06:58:50.328Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at zDH (/$bunfs/root/src/entrypoints/cli.js:1698:33932)\n    at async k (/$bunfs/root/src/entrypoints/cli.js:5976:11711)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T06:58:52.632Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at zDH (/$bunfs/root/src/entrypoints/cli.js:1698:33932)\n    at async G (/$bunfs/root/src/entrypoints/cli.js:5976:10916)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T06:58:52.632Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at zDH (/$bunfs/root/src/entrypoints/cli.js:1698:33932)\n    at async G (/$bunfs/root/src/entrypoints/cli.js:5976:10916)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T07:33:11.045Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at zDH (/$bunfs/root/src/entrypoints/cli.js:1698:33932)\n    at async k (/$bunfs/root/src/entrypoints/cli.js:5976:11711)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T07:33:11.051Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description getting started is very slow in claude code. long data processing and transition to action

Environment Info

  • Platform: darwin
  • Terminal: tmux
  • Version: 2.1.107
  • Feedback ID: 553fb38a-b9c2-4db9-bdd5-0cd2b76c12be

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/suleyman/.local/share/claude/versions/2.1.107 (expected in multi-process scenarios)\n    at bd_ (/$bunfs/root/src/entrypoints/cli.js:2334:2153)\n    at nt6 (/$bunfs/root/src/entrypoints/cli.js:2334:1233)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T06:58:50.316Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at zDH (/$bunfs/root/src/entrypoints/cli.js:1698:33932)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T06:58:50.328Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at zDH (/$bunfs/root/src/entrypoints/cli.js:1698:33932)\n    at async k (/$bunfs/root/src/entrypoints/cli.js:5976:11711)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T06:58:52.632Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at zDH (/$bunfs/root/src/entrypoints/cli.js:1698:33932)\n    at async G (/$bunfs/root/src/entrypoints/cli.js:5976:10916)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T06:58:52.632Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at zDH (/$bunfs/root/src/entrypoints/cli.js:1698:33932)\n    at async G (/$bunfs/root/src/entrypoints/cli.js:5976:10916)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T07:33:11.045Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at zDH (/$bunfs/root/src/entrypoints/cli.js:1698:33932)\n    at async k (/$bunfs/root/src/entrypoints/cli.js:5976:11711)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T07:33:11.051Z"}]

extent analysis

TL;DR

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

Guidance

  • The errors indicate a missing GITHUB_PERSONAL_ACCESS_TOKEN environment variable, which is required for the MCP server to function correctly.
  • Verify that the GITHUB_PERSONAL_ACCESS_TOKEN variable is set in your environment before running the application.
  • Check the documentation for the correct format and scope of the personal access token.
  • Consider setting the environment variable in your terminal configuration or shell startup script to ensure it is always available.

Notes

The provided errors are consistent and clearly indicate a missing environment variable. Setting the GITHUB_PERSONAL_ACCESS_TOKEN variable should resolve the MCP server error. However, the "Lock acquisition failed" error may be related to a different issue and may require further investigation.

Recommendation

Apply workaround: Set the GITHUB_PERSONAL_ACCESS_TOKEN environment variable to resolve the MCP server error, as it is the most direct solution to the reported issue.

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] Performance degradation causing slow command execution [2 comments, 3 participants]