claude-code - 💡(How to fix) Fix [Feature Request] Add command to list active Claude sessions [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#51956Fetched 2026-04-23 07:40:25
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
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 oJH (/$bunfs/root/src/entrypoints/cli.js:2756:30499)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T12:21:02.933Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at oJH (/$bunfs/root/src/entrypoints/cli.js:2756:30499)\n at async Z (/$bunfs/root/src/entrypoints/cli.js:6153:11021)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T12:21:05.050Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at oJH (/$bunfs/root/src/entrypoints/cli.js:2756:30499)\n at async T (/$bunfs/root/src/entrypoints/cli.js:6153:11827)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T12:21:05.051Z"}]

Code Example

[{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at oJH (/$bunfs/root/src/entrypoints/cli.js:2756:30499)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T12:21:02.933Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at oJH (/$bunfs/root/src/entrypoints/cli.js:2756:30499)\n    at async Z (/$bunfs/root/src/entrypoints/cli.js:6153:11021)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T12:21:05.050Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at oJH (/$bunfs/root/src/entrypoints/cli.js:2756:30499)\n    at async T (/$bunfs/root/src/entrypoints/cli.js:6153:11827)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T12:21:05.051Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description claude sessions para saber la cantidad de sessiones abiertas

Environment Info

  • Platform: linux
  • Terminal: vte-based
  • Version: 2.1.117
  • Feedback ID: ef18b1ef-6c57-4678-9650-27171a82c597

Errors

[{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at oJH (/$bunfs/root/src/entrypoints/cli.js:2756:30499)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T12:21:02.933Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at oJH (/$bunfs/root/src/entrypoints/cli.js:2756:30499)\n    at async Z (/$bunfs/root/src/entrypoints/cli.js:6153:11021)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T12:21:05.050Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at oJH (/$bunfs/root/src/entrypoints/cli.js:2756:30499)\n    at async T (/$bunfs/root/src/entrypoints/cli.js:6153:11827)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T12:21:05.051Z"}]

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.
  • To fix this, you need to set the GITHUB_PERSONAL_ACCESS_TOKEN environment variable before running the application.
  • You can set environment variables in your operating system or in your application's configuration files, depending on your setup.
  • Verify that the environment variable is set correctly by checking your system's environment variables or your application's configuration.

Example

export GITHUB_PERSONAL_ACCESS_TOKEN=your_token_here

Replace your_token_here with your actual GitHub personal access token.

Notes

The exact steps to set the environment variable may vary depending on your operating system and application setup. Make sure to replace your_token_here with a valid GitHub personal access token.

Recommendation

Apply workaround: Set the GITHUB_PERSONAL_ACCESS_TOKEN environment variable, as it 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