[Bug] GitHub token authentication error persists after configuration

Status Fixed / completed
Reported on v2.1.133
Maintainer reply ✓ Yes — localden
Activity 3 comments · opened May 8, 2026 · closed May 9, 2026
💡 Likely answer: A maintainer (localden, collaborator) responded on this thread — see the highlighted reply below.

Bug Description
O Doctor continua apresentando erro mesmo após imputação do token do GitHub

Environment Info

  • Platform: win32
  • Terminal: vscode
  • Version: 2.1.133
  • Feedback ID: 31404986-e1a2-46d9-a63e-6a06b8df1a82

Errors

[{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at SGH (B:/~BUN/root/src/entrypoints/cli.js:2708:35772)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-08T13:03:22.071Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at SGH (B:/~BUN/root/src/entrypoints/cli.js:2708:35772)\n    at async T (B:/~BUN/root/src/entrypoints/cli.js:6416:11775)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-08T13:03:25.894Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at SGH (B:/~BUN/root/src/entrypoints/cli.js:2708:35772)\n    at async N (B:/~BUN/root/src/entrypoints/cli.js:6416:12661)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-08T13:03:25.895Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at SGH (B:/~BUN/root/src/entrypoints/cli.js:2708:35772)\n    at async T (B:/~BUN/root/src/entrypoints/cli.js:6416:11775)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-08T13:03:31.939Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at SGH (B:/~BUN/root/src/entrypoints/cli.js:2708:35772)\n    at async N (B:/~BUN/root/src/entrypoints/cli.js:6416:12661)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-08T13:03:31.940Z"}]

View original on GitHub ↗

3 Comments

github-actions[bot] · 5 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/57189
  2. https://github.com/anthropics/claude-code/issues/56131
  3. https://github.com/anthropics/claude-code/issues/55522

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

localden collaborator · 5 months ago

Thank you for your report. Based on the error captured in your log, this looks like a configuration issue rather than a bug — the error message indicates what's missing or misconfigured in your setup. Please double-check your MCP server configuration against the error and the docs at https://code.claude.com/docs/en/mcp. If you're still seeing problems after addressing it, reopen this issue with the steps you tried and the error you're now hitting.

github-actions[bot] · 3 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.