claude-code - 💡(How to fix) Fix [Feature Request] Add timeout warnings for interactive plan execution requiring user input [1 comments, 2 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#51723Fetched 2026-04-22 07:54:33
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Author
Timeline (top)
labeled ×3commented ×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 RMH (/$bunfs/root/src/entrypoints/cli.js:2752:30332)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T05:47:00.042Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at RMH (/$bunfs/root/src/entrypoints/cli.js:2752:30332)\n at async G (/$bunfs/root/src/entrypoints/cli.js:6147:11019)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T05:47:00.694Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at RMH (/$bunfs/root/src/entrypoints/cli.js:2752:30332)\n at async k (/$bunfs/root/src/entrypoints/cli.js:6147:11826)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T05:47:00.696Z"},{"error":"Error: LSP server plugin:ruby-lsp:ruby-lsp crashed with exit code 78\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:3165:21488)\n at emit (node:events:98:22)\n at #handleOnExit (node:child_process:520:14)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T05:50:11.463Z"},{"error":"Error: LSP server plugin:ruby-lsp:ruby-lsp crashed with exit code 78\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:3165:21488)\n at emit (node:events:98:22)\n at #handleOnExit (node:child_process:520:14)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T05:50:31.490Z"},{"error":"Error: LSP server plugin:ruby-lsp:ruby-lsp crashed with exit code 78\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:3165:21488)\n at emit (node:events:98:22)\n at #handleOnExit (node:child_process:520:14)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T05:50:33.299Z"},{"error":"Error: LSP server plugin:ruby-lsp:ruby-lsp crashed with exit code 78\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:3165:21488)\n at emit (node:events:98:22)\n at #handleOnExit (node:child_process:520:14)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T05:50:35.185Z"},{"error":"Error: LSP server 'plugin:ruby-lsp:ruby-lsp' exceeded max crash recovery attempts (3)\n at Y (/$bunfs/root/src/entrypoints/cli.js:3165:24709)\n at z (/$bunfs/root/src/entrypoints/cli.js:3165:30108)\n at D (/$bunfs/root/src/entrypoints/cli.js:3165:30493)\n at f (/$bunfs/root/src/entrypoints/cli.js:3165:31050)\n at call (/$bunfs/root/src/entrypoints/cli.js:3188:864)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T05:50:50.372Z"},{"error":"Error: Failed to start LSP server for file /Users/boster/Developer/tools/claude-tmux/lib/claude_tmux/project.rb: LSP server 'plugin:ruby-lsp:ruby-lsp' exceeded max crash recovery attempts (3)\n at z (/$bunfs/root/src/entrypoints/cli.js:3165:30134)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T05:50:50.372Z"},{"error":"Error: LSP server 'plugin:ruby-lsp:ruby-lsp' exceeded max crash recovery attempts (3)\n at Y (/$bunfs/root/src/entrypoints/cli.js:3165:24709)\n at z (/$bunfs/root/src/entrypoints/cli.js:3165:30108)\n at D (/$bunfs/root/src/entrypoints/cli.js:3165:30493)\n at f (/$bunfs/root/src/entrypoints/cli.js:3165:31050)\n at call (/$bunfs/root/src/entrypoints/cli.js:3188:864)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T05:50:50.373Z"},{"error":"Error: LSP server 'plugin:ruby-lsp:ruby-lsp' exceeded max crash recovery attempts (3)\n at Y (/$bunfs/root/src/entrypoints/cli.js:3165:24709)\n at z (/$bunfs/root/src/entrypoints/cli.js:3165:30108)\n at D (/$bunfs/root/src/entrypoints/cli.js:3165:30493)\n at f (/$bunfs/root/src/entrypoints/cli.js:3165:31050)\n at call (/$bunfs/root/src/entrypoints/cli.js:3188:864)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T05:50:59.606Z"},{"error":"Error: Failed to start LSP server for file /Users/boster/Developer/tools/claude-tmux/lib/claude_tmux/presets.rb: LSP server 'plugin:ruby-lsp:ruby-lsp' exceeded max crash recovery attempts (3)\n at z (/$bunfs/root/src/entrypoints/cli.js:3165:30134)\n …

Root Cause

Bug Description Ultraplan expired... that's a bunch of tokens down the drain. If it was waiting on input from me, I never saw it. If you can't walk away because a human has to do something like allow handoff of plans, it would be nice to be told that in advance, otherwise I would have checked on it sooner.

Code Example

[{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at RMH (/$bunfs/root/src/entrypoints/cli.js:2752:30332)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T05:47:00.042Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at RMH (/$bunfs/root/src/entrypoints/cli.js:2752:30332)\n    at async G (/$bunfs/root/src/entrypoints/cli.js:6147:11019)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T05:47:00.694Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at RMH (/$bunfs/root/src/entrypoints/cli.js:2752:30332)\n    at async k (/$bunfs/root/src/entrypoints/cli.js:6147:11826)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T05:47:00.696Z"},{"error":"Error: LSP server plugin:ruby-lsp:ruby-lsp crashed with exit code 78\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:3165:21488)\n    at emit (node:events:98:22)\n    at #handleOnExit (node:child_process:520:14)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T05:50:11.463Z"},{"error":"Error: LSP server plugin:ruby-lsp:ruby-lsp crashed with exit code 78\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:3165:21488)\n    at emit (node:events:98:22)\n    at #handleOnExit (node:child_process:520:14)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T05:50:31.490Z"},{"error":"Error: LSP server plugin:ruby-lsp:ruby-lsp crashed with exit code 78\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:3165:21488)\n    at emit (node:events:98:22)\n    at #handleOnExit (node:child_process:520:14)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T05:50:33.299Z"},{"error":"Error: LSP server plugin:ruby-lsp:ruby-lsp crashed with exit code 78\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:3165:21488)\n    at emit (node:events:98:22)\n    at #handleOnExit (node:child_process:520:14)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T05:50:35.185Z"},{"error":"Error: LSP server 'plugin:ruby-lsp:ruby-lsp' exceeded max crash recovery attempts (3)\n    at Y (/$bunfs/root/src/entrypoints/cli.js:3165:24709)\n    at z (/$bunfs/root/src/entrypoints/cli.js:3165:30108)\n    at D (/$bunfs/root/src/entrypoints/cli.js:3165:30493)\n    at f (/$bunfs/root/src/entrypoints/cli.js:3165:31050)\n    at call (/$bunfs/root/src/entrypoints/cli.js:3188:864)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T05:50:50.372Z"},{"error":"Error: Failed to start LSP server for file /Users/boster/Developer/tools/claude-tmux/lib/claude_tmux/project.rb: LSP server 'plugin:ruby-lsp:ruby-lsp' exceeded max crash recovery attempts (3)\n    at z (/$bunfs/root/src/entrypoints/cli.js:3165:30134)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T05:50:50.372Z"},{"error":"Error: LSP server 'plugin:ruby-lsp:ruby-lsp' exceeded max crash recovery attempts (3)\n    at Y (/$bunfs/root/src/entrypoints/cli.js:3165:24709)\n    at z (/$bunfs/root/src/entrypoints/cli.js:3165:30108)\n    at D (/$bunfs/root/src/entrypoints/cli.js:3165:30493)\n    at f (/$bunfs/root/src/entrypoints/cli.js:3165:31050)\n    at call (/$bunfs/root/src/entrypoints/cli.js:3188:864)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T05:50:50.373Z"},{"error":"Error: LSP server 'plugin:ruby-lsp:ruby-lsp' exceeded max crash recovery attempts (3)\n    at Y (/$bunfs/root/src/entrypoints/cli.js:3165:24709)\n    at z (/$bunfs/root/src/entrypoints/cli.js:3165:30108)\n    at D (/$bunfs/root/src/entrypoints/cli.js:3165:30493)\n    at f (/$bunfs/root/src/entrypoints/cli.js:3165:31050)\n    at call (/$bunfs/root/src/entrypoints/cli.js:3188:864)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T05:50:59.606Z"},{"error":"Error: Failed to start LSP server for file /Users/boster/Developer/tools/claude-tmux/lib/claude_tmux/presets.rb: LSP server 'plugin:ruby-lsp:ruby-lsp' exceeded max crash recovery attempts (3)\n    at z (/$bunfs/root/src/entrypoints/cli.js:3165:30134)\n …
RAW_BUFFERClick to expand / collapse

Bug Description Ultraplan expired... that's a bunch of tokens down the drain. If it was waiting on input from me, I never saw it. If you can't walk away because a human has to do something like allow handoff of plans, it would be nice to be told that in advance, otherwise I would have checked on it sooner.

Environment Info

  • Platform: darwin
  • Terminal: tmux
  • Version: 2.1.116
  • Feedback ID: 10013347-2bfe-44e7-8441-8d17b4f145b3

Errors

[{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at RMH (/$bunfs/root/src/entrypoints/cli.js:2752:30332)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T05:47:00.042Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at RMH (/$bunfs/root/src/entrypoints/cli.js:2752:30332)\n    at async G (/$bunfs/root/src/entrypoints/cli.js:6147:11019)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T05:47:00.694Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at RMH (/$bunfs/root/src/entrypoints/cli.js:2752:30332)\n    at async k (/$bunfs/root/src/entrypoints/cli.js:6147:11826)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T05:47:00.696Z"},{"error":"Error: LSP server plugin:ruby-lsp:ruby-lsp crashed with exit code 78\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:3165:21488)\n    at emit (node:events:98:22)\n    at #handleOnExit (node:child_process:520:14)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T05:50:11.463Z"},{"error":"Error: LSP server plugin:ruby-lsp:ruby-lsp crashed with exit code 78\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:3165:21488)\n    at emit (node:events:98:22)\n    at #handleOnExit (node:child_process:520:14)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T05:50:31.490Z"},{"error":"Error: LSP server plugin:ruby-lsp:ruby-lsp crashed with exit code 78\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:3165:21488)\n    at emit (node:events:98:22)\n    at #handleOnExit (node:child_process:520:14)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T05:50:33.299Z"},{"error":"Error: LSP server plugin:ruby-lsp:ruby-lsp crashed with exit code 78\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:3165:21488)\n    at emit (node:events:98:22)\n    at #handleOnExit (node:child_process:520:14)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T05:50:35.185Z"},{"error":"Error: LSP server 'plugin:ruby-lsp:ruby-lsp' exceeded max crash recovery attempts (3)\n    at Y (/$bunfs/root/src/entrypoints/cli.js:3165:24709)\n    at z (/$bunfs/root/src/entrypoints/cli.js:3165:30108)\n    at D (/$bunfs/root/src/entrypoints/cli.js:3165:30493)\n    at f (/$bunfs/root/src/entrypoints/cli.js:3165:31050)\n    at call (/$bunfs/root/src/entrypoints/cli.js:3188:864)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T05:50:50.372Z"},{"error":"Error: Failed to start LSP server for file /Users/boster/Developer/tools/claude-tmux/lib/claude_tmux/project.rb: LSP server 'plugin:ruby-lsp:ruby-lsp' exceeded max crash recovery attempts (3)\n    at z (/$bunfs/root/src/entrypoints/cli.js:3165:30134)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T05:50:50.372Z"},{"error":"Error: LSP server 'plugin:ruby-lsp:ruby-lsp' exceeded max crash recovery attempts (3)\n    at Y (/$bunfs/root/src/entrypoints/cli.js:3165:24709)\n    at z (/$bunfs/root/src/entrypoints/cli.js:3165:30108)\n    at D (/$bunfs/root/src/entrypoints/cli.js:3165:30493)\n    at f (/$bunfs/root/src/entrypoints/cli.js:3165:31050)\n    at call (/$bunfs/root/src/entrypoints/cli.js:3188:864)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T05:50:50.373Z"},{"error":"Error: LSP server 'plugin:ruby-lsp:ruby-lsp' exceeded max crash recovery attempts (3)\n    at Y (/$bunfs/root/src/entrypoints/cli.js:3165:24709)\n    at z (/$bunfs/root/src/entrypoints/cli.js:3165:30108)\n    at D (/$bunfs/root/src/entrypoints/cli.js:3165:30493)\n    at f (/$bunfs/root/src/entrypoints/cli.js:3165:31050)\n    at call (/$bunfs/root/src/entrypoints/cli.js:3188:864)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T05:50:59.606Z"},{"error":"Error: Failed to start LSP server for file /Users/boster/Developer/tools/claude-tmux/lib/claude_tmux/presets.rb: LSP server 'plugin:ruby-lsp:ruby-lsp' exceeded max crash recovery attempts (3)\n    at z (/$bunfs/root/src/entrypoints/cli.js:3165:30134)\n …

Note: Content was truncated.

extent analysis

TL;DR

Set the GITHUB_PERSONAL_ACCESS_TOKEN environment variable to resolve the mcp-config-invalid error.

Guidance

  1. Identify the missing environment variable: The error messages indicate that GITHUB_PERSONAL_ACCESS_TOKEN is missing, which is required for the MCP server to function correctly.
  2. Set the environment variable: Set GITHUB_PERSONAL_ACCESS_TOKEN to a valid GitHub personal access token in your environment. This can typically be done in your shell configuration file or before running the application.
  3. Verify the LSP server: After setting the environment variable, try to start the LSP server again to see if it resolves the ruby-lsp crash issues.

Example

export GITHUB_PERSONAL_ACCESS_TOKEN=your_token_here

Replace your_token_here with your actual GitHub personal access token.

Notes

The provided error messages are truncated, so there might be additional issues. However, setting the GITHUB_PERSONAL_ACCESS_TOKEN environment variable should resolve the mcp-config-invalid error.

Recommendation

Apply the workaround by setting the GITHUB_PERSONAL_ACCESS_TOKEN environment variable, as it directly addresses the reported error.

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

claude-code - 💡(How to fix) Fix [Feature Request] Add timeout warnings for interactive plan execution requiring user input [1 comments, 2 participants]