claude-code - 💡(How to fix) Fix desktop is freezing and the weekly limit is not logging i chatted and making me wait 10 days vs 7 each week [2 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#55534Fetched 2026-05-03 04:50:55
View on GitHub
Comments
2
Participants
2
Timeline
6
Reactions
0
Author
Timeline (top)
labeled ×4commented ×2

Error Message

[{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at ZX6 (file:///C:/Users/ayoff/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:3010:30035)","timestamp":"2026-05-02T08:57:46.531Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at ZX6 (file:///C:/Users/ayoff/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:3010:30035)\n at async v (file:///C:/Users/ayoff/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:6394:10879)","timestamp":"2026-05-02T08:57:54.419Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at ZX6 (file:///C:/Users/ayoff/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:3010:30035)\n at async V (file:///C:/Users/ayoff/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:6394:11674)","timestamp":"2026-05-02T08:57:54.439Z"},{"error":"Error: 429 {"type":"error","error":{"type":"rate_limit_error","message":"This request would exceed your account's rate limit. Please try again later."},"request_id":"req_011CadU5Q6ijRpm9xYkcekP7"}\n at vq.generate (file:///C:/Users/ayoff/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:8:52537)\n at qh.makeStatusError (file:///C:/Users/ayoff/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:47:1652)\n at qh.makeRequest (file:///C:/Users/ayoff/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:47:4928)\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)","timestamp":"2026-05-02T08:59:33.511Z"}]

Code Example

[{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at ZX6 (file:///C:/Users/ayoff/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:3010:30035)","timestamp":"2026-05-02T08:57:46.531Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at ZX6 (file:///C:/Users/ayoff/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:3010:30035)\n    at async v (file:///C:/Users/ayoff/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:6394:10879)","timestamp":"2026-05-02T08:57:54.419Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at ZX6 (file:///C:/Users/ayoff/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:3010:30035)\n    at async V (file:///C:/Users/ayoff/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:6394:11674)","timestamp":"2026-05-02T08:57:54.439Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"},\"request_id\":\"req_011CadU5Q6ijRpm9xYkcekP7\"}\n    at vq.generate (file:///C:/Users/ayoff/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:8:52537)\n    at qh.makeStatusError (file:///C:/Users/ayoff/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:47:1652)\n    at qh.makeRequest (file:///C:/Users/ayoff/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:47:4928)\n    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)","timestamp":"2026-05-02T08:59:33.511Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description for the past two or three weeks the desktop app has been freezing and my chats are marked as ! and its affecting my weekly limit. each week i have to wait 9 to 10 days for a weekly reset bc it thinks i didnt chat on those days im owed time

Environment Info

  • Platform: win32
  • Terminal: mintty
  • Version: 2.1.112
  • Feedback ID: 0efde675-4113-45ff-b10b-02c7916cd9f5

Errors

[{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at ZX6 (file:///C:/Users/ayoff/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:3010:30035)","timestamp":"2026-05-02T08:57:46.531Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at ZX6 (file:///C:/Users/ayoff/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:3010:30035)\n    at async v (file:///C:/Users/ayoff/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:6394:10879)","timestamp":"2026-05-02T08:57:54.419Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at ZX6 (file:///C:/Users/ayoff/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:3010:30035)\n    at async V (file:///C:/Users/ayoff/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:6394:11674)","timestamp":"2026-05-02T08:57:54.439Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"},\"request_id\":\"req_011CadU5Q6ijRpm9xYkcekP7\"}\n    at vq.generate (file:///C:/Users/ayoff/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:8:52537)\n    at qh.makeStatusError (file:///C:/Users/ayoff/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:47:1652)\n    at qh.makeRequest (file:///C:/Users/ayoff/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:47:4928)\n    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)","timestamp":"2026-05-02T08:59:33.511Z"}]

extent analysis

TL;DR

Set the GITHUB_PERSONAL_ACCESS_TOKEN environment variable to resolve the "MCP server github invalid" error.

Guidance

  • The error messages 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 system environment variables.
  • Check the rate limit error message, which may be related to the freezing issue, and consider implementing a retry mechanism or adjusting your usage to avoid exceeding the rate limit.
  • Review your weekly limit and chat logs to ensure accuracy after resolving the environment variable issue.

Example

No code snippet is provided as it is not directly related to the issue, but you can set the environment variable in your operating system or in a .env file if supported by your application.

Notes

The provided errors suggest two separate issues: the missing environment variable and the rate limit error. Resolving the environment variable issue may not directly address the freezing problem or the weekly limit issue, which may require further investigation.

Recommendation

Apply workaround: Set the GITHUB_PERSONAL_ACCESS_TOKEN environment variable to resolve the immediate error, and then investigate the freezing and rate limit issues separately.

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 desktop is freezing and the weekly limit is not logging i chatted and making me wait 10 days vs 7 each week [2 comments, 2 participants]