claude-code - 💡(How to fix) Fix You're out of extra usage · resets 5pm (America/New_York) [1 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#47060Fetched 2026-04-13 05:42:31
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Author
Participants
Timeline (top)
labeled ×3

Error Message

[{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at cYH (/$bunfs/root/src/entrypoints/cli.js:1555:33932)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-12T17:51:22.013Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at cYH (/$bunfs/root/src/entrypoints/cli.js:1555:33932)\n at async W (/$bunfs/root/src/entrypoints/cli.js:6003:10596)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-12T17:51:24.155Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at cYH (/$bunfs/root/src/entrypoints/cli.js:1555:33932)\n at async Z (/$bunfs/root/src/entrypoints/cli.js:6003:11366)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-12T17:51:24.156Z"},{"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_011CZzJiJDEnq5HVU2THZ96K"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:53652)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-12T17:54:47.848Z"}]

Code Example

[{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at cYH (/$bunfs/root/src/entrypoints/cli.js:1555:33932)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-12T17:51:22.013Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at cYH (/$bunfs/root/src/entrypoints/cli.js:1555:33932)\n    at async W (/$bunfs/root/src/entrypoints/cli.js:6003:10596)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-12T17:51:24.155Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at cYH (/$bunfs/root/src/entrypoints/cli.js:1555:33932)\n    at async Z (/$bunfs/root/src/entrypoints/cli.js:6003:11366)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-12T17:51:24.156Z"},{"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_011CZzJiJDEnq5HVU2THZ96K\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:53652)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-12T17:54:47.848Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description On a Pro plan, CC hits a usage window limit, but despite me having extra usage credit available, and reported in /extra-usage, it refuses to proceed.

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.104
  • Feedback ID: e7ba4968-4044-4f5b-bfdb-63aba7247ffa

Errors

[{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at cYH (/$bunfs/root/src/entrypoints/cli.js:1555:33932)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-12T17:51:22.013Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at cYH (/$bunfs/root/src/entrypoints/cli.js:1555:33932)\n    at async W (/$bunfs/root/src/entrypoints/cli.js:6003:10596)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-12T17:51:24.155Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at cYH (/$bunfs/root/src/entrypoints/cli.js:1555:33932)\n    at async Z (/$bunfs/root/src/entrypoints/cli.js:6003:11366)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-12T17:51:24.156Z"},{"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_011CZzJiJDEnq5HVU2THZ96K\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:53652)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-12T17:54:47.848Z"}]

extent analysis

TL;DR

Set the GITHUB_PERSONAL_ACCESS_TOKEN environment variable to resolve the "Missing environment variables" error and potentially alleviate the rate limit issue.

Guidance

  • Verify that the GITHUB_PERSONAL_ACCESS_TOKEN is correctly set in your environment, as the error messages indicate it is missing.
  • Check the rate limit error message and consider implementing a delay or retry mechanism to handle the "rate_limit_error" response.
  • Review your usage credits and ensure that you are not exceeding the allowed limits, despite having extra usage credit available.
  • Investigate the /extra-usage report to understand how your usage is being calculated and if there are any discrepancies.

Example

No code snippet is provided as the issue does not clearly imply a specific code change.

Notes

The provided error messages suggest two separate issues: a missing environment variable and a rate limit error. Resolving the first issue may not necessarily address the second.

Recommendation

Apply workaround: Set the GITHUB_PERSONAL_ACCESS_TOKEN environment variable and consider implementing a retry mechanism to handle rate limit errors, as the root cause of the issue appears to be related to missing environment variables and rate limiting.

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