claude-code - 💡(How to fix) Fix [Bug] Malformed text output after update to version 2.1.100 [3 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#46181Fetched 2026-04-11 06:27:00
View on GitHub
Comments
3
Participants
3
Timeline
6
Reactions
1
Timeline (top)
commented ×3labeled ×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 KYH (/$bunfs/root/src/entrypoints/cli.js:1466:33932)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-10T11:14:54.180Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at KYH (/$bunfs/root/src/entrypoints/cli.js:1466:33932)\n at async W (/$bunfs/root/src/entrypoints/cli.js:5907:10596)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-10T11:14:55.365Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at KYH (/$bunfs/root/src/entrypoints/cli.js:1466:33932)\n at async Z (/$bunfs/root/src/entrypoints/cli.js:5907:11366)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-10T11:14:55.365Z"}]

Code Example

[{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at KYH (/$bunfs/root/src/entrypoints/cli.js:1466:33932)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-10T11:14:54.180Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at KYH (/$bunfs/root/src/entrypoints/cli.js:1466:33932)\n    at async W (/$bunfs/root/src/entrypoints/cli.js:5907:10596)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-10T11:14:55.365Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at KYH (/$bunfs/root/src/entrypoints/cli.js:1466:33932)\n    at async Z (/$bunfs/root/src/entrypoints/cli.js:5907:11366)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-10T11:14:55.365Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description Malformed responses after update to 2.1.100: dical de1nic2 And, o, o,

, OML, o;

, a, a,

, 8, a, o,, o, ap, 11, a,

, 0789
1ically66
5(6 12(268 141(1, (

2/21/211И(111Ant1.
   1)
    a (

4, 1 (1
3
7
1 (2 (1 (, 2 (#, 1"#6), ("#1, ), (a.
6, d, ), (, 9, ), (2), ), (- ( ( ( -( + +((#( (- (-( (, (, ( (, ( (, (), (, (, (, (, (, (, (, (, (, (, (, (, (;

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.1.100
  • Feedback ID: 2ad5afc1-7aad-4e06-b6de-71ab97106caf

Errors

[{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at KYH (/$bunfs/root/src/entrypoints/cli.js:1466:33932)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-10T11:14:54.180Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at KYH (/$bunfs/root/src/entrypoints/cli.js:1466:33932)\n    at async W (/$bunfs/root/src/entrypoints/cli.js:5907:10596)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-10T11:14:55.365Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at KYH (/$bunfs/root/src/entrypoints/cli.js:1466:33932)\n    at async Z (/$bunfs/root/src/entrypoints/cli.js:5907:11366)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-10T11:14:55.365Z"}]

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 environment before running the application.
  • Check the documentation for the MCP server to ensure you are setting the environment variable correctly, as the process may vary depending on your operating system and shell configuration.
  • If you are using a .env file or another environment variable management system, ensure that the GITHUB_PERSONAL_ACCESS_TOKEN variable is properly configured and loaded.

Example

No code snippet is provided as the issue is related to environment variable configuration, not code.

Notes

The provided error messages are consistent and clearly indicate a missing environment variable. However, the exact steps to set the GITHUB_PERSONAL_ACCESS_TOKEN variable may vary depending on the user's specific environment and configuration.

Recommendation

Apply workaround: Set the GITHUB_PERSONAL_ACCESS_TOKEN environment variable to resolve the error, as this is a required configuration for the MCP server to function correctly.

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