claude-code - 💡(How to fix) Fix [Bug] TUI: MCP list cursor doesn't scroll when reaching bottom of visible area [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

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#49075Fetched 2026-04-17 08:51:36
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Author
Timeline (top)
labeled ×4commented ×1

Error Message

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/chris/.local/share/claude/versions/2.1.110 (expected in multi-process scenarios)\n at kg_ (/$bunfs/root/src/entrypoints/cli.js:2751:2153)\n at jt6 (/$bunfs/root/src/entrypoints/cli.js:2751:1233)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T09:28:44.677Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n at hwH (/$bunfs/root/src/entrypoints/cli.js:2751:30220)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T09:28:44.861Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server sourcegraph invalid: Missing environment variables: SOURCEGRAPH_ENDPOINT, SOURCEGRAPH_ACCESS_TOKEN\n at hwH (/$bunfs/root/src/entrypoints/cli.js:2751:30220)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T09:28:44.861Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n at hwH (/$bunfs/root/src/entrypoints/cli.js:2751:30220)\n at async E (/$bunfs/root/src/entrypoints/cli.js:6137:10916)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T09:28:45.907Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server sourcegraph invalid: Missing environment variables: SOURCEGRAPH_ENDPOINT, SOURCEGRAPH_ACCESS_TOKEN\n at hwH (/$bunfs/root/src/entrypoints/cli.js:2751:30220)\n at async E (/$bunfs/root/src/entrypoints/cli.js:6137:10916)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T09:28:45.907Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n at hwH (/$bunfs/root/src/entrypoints/cli.js:2751:30220)\n at async v (/$bunfs/root/src/entrypoints/cli.js:6137:11711)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T09:28:45.912Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server sourcegraph invalid: Missing environment variables: SOURCEGRAPH_ENDPOINT, SOURCEGRAPH_ACCESS_TOKEN\n at hwH (/$bunfs/root/src/entrypoints/cli.js:2751:30220)\n at async v (/$bunfs/root/src/entrypoints/cli.js:6137:11711)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T09:28:45.912Z"}]

Code Example

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/chris/.local/share/claude/versions/2.1.110 (expected in multi-process scenarios)\n    at kg_ (/$bunfs/root/src/entrypoints/cli.js:2751:2153)\n    at jt6 (/$bunfs/root/src/entrypoints/cli.js:2751:1233)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T09:28:44.677Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n    at hwH (/$bunfs/root/src/entrypoints/cli.js:2751:30220)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T09:28:44.861Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server sourcegraph invalid: Missing environment variables: SOURCEGRAPH_ENDPOINT, SOURCEGRAPH_ACCESS_TOKEN\n    at hwH (/$bunfs/root/src/entrypoints/cli.js:2751:30220)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T09:28:44.861Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n    at hwH (/$bunfs/root/src/entrypoints/cli.js:2751:30220)\n    at async E (/$bunfs/root/src/entrypoints/cli.js:6137:10916)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T09:28:45.907Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server sourcegraph invalid: Missing environment variables: SOURCEGRAPH_ENDPOINT, SOURCEGRAPH_ACCESS_TOKEN\n    at hwH (/$bunfs/root/src/entrypoints/cli.js:2751:30220)\n    at async E (/$bunfs/root/src/entrypoints/cli.js:6137:10916)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T09:28:45.907Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n    at hwH (/$bunfs/root/src/entrypoints/cli.js:2751:30220)\n    at async v (/$bunfs/root/src/entrypoints/cli.js:6137:11711)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T09:28:45.912Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server sourcegraph invalid: Missing environment variables: SOURCEGRAPH_ENDPOINT, SOURCEGRAPH_ACCESS_TOKEN\n    at hwH (/$bunfs/root/src/entrypoints/cli.js:2751:30220)\n    at async v (/$bunfs/root/src/entrypoints/cli.js:6137:11711)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T09:28:45.912Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description In TUI mode (fullscreen) when using /mcp, if the list is too long when moving the cursor down the list, the list does not scroll up when the cursor reaches the end of the visible page, it continues but is hidden.

Environment Info

  • Platform: darwin
  • Terminal: tmux
  • Version: 2.1.110
  • Feedback ID: ec4b6023-b730-460d-8639-2fd9ada51b68

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/chris/.local/share/claude/versions/2.1.110 (expected in multi-process scenarios)\n    at kg_ (/$bunfs/root/src/entrypoints/cli.js:2751:2153)\n    at jt6 (/$bunfs/root/src/entrypoints/cli.js:2751:1233)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T09:28:44.677Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n    at hwH (/$bunfs/root/src/entrypoints/cli.js:2751:30220)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T09:28:44.861Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server sourcegraph invalid: Missing environment variables: SOURCEGRAPH_ENDPOINT, SOURCEGRAPH_ACCESS_TOKEN\n    at hwH (/$bunfs/root/src/entrypoints/cli.js:2751:30220)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T09:28:44.861Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n    at hwH (/$bunfs/root/src/entrypoints/cli.js:2751:30220)\n    at async E (/$bunfs/root/src/entrypoints/cli.js:6137:10916)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T09:28:45.907Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server sourcegraph invalid: Missing environment variables: SOURCEGRAPH_ENDPOINT, SOURCEGRAPH_ACCESS_TOKEN\n    at hwH (/$bunfs/root/src/entrypoints/cli.js:2751:30220)\n    at async E (/$bunfs/root/src/entrypoints/cli.js:6137:10916)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T09:28:45.907Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n    at hwH (/$bunfs/root/src/entrypoints/cli.js:2751:30220)\n    at async v (/$bunfs/root/src/entrypoints/cli.js:6137:11711)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T09:28:45.912Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server sourcegraph invalid: Missing environment variables: SOURCEGRAPH_ENDPOINT, SOURCEGRAPH_ACCESS_TOKEN\n    at hwH (/$bunfs/root/src/entrypoints/cli.js:2751:30220)\n    at async v (/$bunfs/root/src/entrypoints/cli.js:6137:11711)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T09:28:45.912Z"}]

extent analysis

TL;DR

The issue can be mitigated by setting the required environment variables for the MCP servers, such as GREPTILE_API_KEY, SOURCEGRAPH_ENDPOINT, and SOURCEGRAPH_ACCESS_TOKEN.

Guidance

  • The errors indicate that the MCP servers (greptile and sourcegraph) are missing required environment variables, which is likely causing the scrolling issue in TUI mode.
  • To verify, check the environment variables set in the terminal or tmux session where the command is being run.
  • Set the required environment variables for the MCP servers, for example: export GREPTILE_API_KEY=your_api_key and export SOURCEGRAPH_ENDPOINT=your_endpoint and export SOURCEGRAPH_ACCESS_TOKEN=your_token.
  • If the issue persists, try checking the version of the software and ensuring it is up to date, as the issue may be related to a known bug in the version being used (2.1.110).

Notes

The provided errors suggest that the issue is related to missing environment variables, but it is unclear if this is the root cause of the scrolling issue in TUI mode. Further investigation may be needed to determine the exact cause.

Recommendation

Apply workaround: set the required environment variables for the MCP servers, as this is a clear and actionable step that can be taken to potentially resolve the issue.

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