claude-code - 💡(How to fix) Fix [Bug] Text and progress bar overlap in `/usage` command on Windows terminal [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#52514Fetched 2026-04-24 06:05:10
View on GitHub
Comments
2
Participants
3
Timeline
6
Reactions
0
Timeline (top)
labeled ×3commented ×2closed ×1

Error Message

[{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at cWH (B:/~BUN/root/src/entrypoints/cli.js:2812:30468)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T17:11:11.716Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at cWH (B:/~BUN/root/src/entrypoints/cli.js:2812:30468)\n at async G (B:/~BUN/root/src/entrypoints/cli.js:6200:11019)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T17:11:13.712Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at cWH (B:/~BUN/root/src/entrypoints/cli.js:2812:30468)\n at async V (B:/~BUN/root/src/entrypoints/cli.js:6200:11825)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T17:11:13.713Z"}]

Code Example

[{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at cWH (B:/~BUN/root/src/entrypoints/cli.js:2812:30468)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T17:11:11.716Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at cWH (B:/~BUN/root/src/entrypoints/cli.js:2812:30468)\n    at async G (B:/~BUN/root/src/entrypoints/cli.js:6200:11019)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T17:11:13.712Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at cWH (B:/~BUN/root/src/entrypoints/cli.js:2812:30468)\n    at async V (B:/~BUN/root/src/entrypoints/cli.js:6200:11825)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T17:11:13.713Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description the /usage skill isn't displaying properly in the Windows terminal. text and progress bars overlap, can't see everything. fragmented words, etc.

Environment Info

  • Platform: win32
  • Terminal: null
  • Version: 2.1.118
  • Feedback ID: 5cf2557b-927e-4164-b96c-76031374c212

Errors

[{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at cWH (B:/~BUN/root/src/entrypoints/cli.js:2812:30468)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T17:11:11.716Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at cWH (B:/~BUN/root/src/entrypoints/cli.js:2812:30468)\n    at async G (B:/~BUN/root/src/entrypoints/cli.js:6200:11019)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T17:11:13.712Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at cWH (B:/~BUN/root/src/entrypoints/cli.js:2812:30468)\n    at async V (B:/~BUN/root/src/entrypoints/cli.js:6200:11825)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T17:11:13.713Z"}]

extent analysis

TL;DR

Set the GITHUB_PERSONAL_ACCESS_TOKEN environment variable to resolve the MCP server 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 environment variable is set by checking the system settings or running a command to print the variable's value.
  • To mitigate the issue, set the GITHUB_PERSONAL_ACCESS_TOKEN environment variable with a valid token, and then retry the operation.

Notes

The provided error messages suggest that the issue is related to the missing environment variable, but the display issue in the Windows terminal may be a separate problem.

Recommendation

Apply workaround: Set the GITHUB_PERSONAL_ACCESS_TOKEN environment variable to resolve the MCP server error, and then investigate the display issue in the Windows terminal 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