claude-code - 💡(How to fix) Fix Wasting time and tokens and not following directions [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#51963Fetched 2026-04-23 07:40:14
View on GitHub
Comments
0
Participants
1
Timeline
5
Reactions
0
Participants
Timeline (top)
labeled ×5

Error Message

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/vquinones/.local/share/claude/versions/2.1.114 (expected in multi-process scenarios)\n at sd_ (/$bunfs/root/src/entrypoints/cli.js:2751:2177)\n at WH8 (/$bunfs/root/src/entrypoints/cli.js:2751:1257)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T03:41:24.447Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at GDH (/$bunfs/root/src/entrypoints/cli.js:2751:30115)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T03:41:24.474Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n at GDH (/$bunfs/root/src/entrypoints/cli.js:2751:30115)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T03:41:24.474Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at GDH (/$bunfs/root/src/entrypoints/cli.js:2751:30115)\n at async G (/$bunfs/root/src/entrypoints/cli.js:6136:11023)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T03:41:25.059Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n at GDH (/$bunfs/root/src/entrypoints/cli.js:2751:30115)\n at async G (/$bunfs/root/src/entrypoints/cli.js:6136:11023)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T03:41:25.059Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at GDH (/$bunfs/root/src/entrypoints/cli.js:2751:30115)\n at async k (/$bunfs/root/src/entrypoints/cli.js:6136:11830)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T03:41:25.059Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n at GDH (/$bunfs/root/src/entrypoints/cli.js:2751:30115)\n at async k (/$bunfs/root/src/entrypoints/cli.js:6136:11830)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T03:41:25.059Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n at GDH (/$bunfs/root/src/entrypoints/cli.js:2751:30115)\n at async k (/$bunfs/root/src/entrypoints/cli.js:6136:11830)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T03:41:25.394Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at GDH (/$bunfs/root/src/entrypoints/cli.js:2751:30115)\n at async k (/$bunfs/root/src/entrypoints/cli.js:6136:11830)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T03:41:25.394Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n at GDH (/$bunfs/root/src/entrypoints/cli.js:2751:30115)\n at async G (/$bunfs/root/src/entrypoints/cli.js:6136:11023)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T03:41:25.395Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at GDH (/$bunfs/root/src/entrypoints/cli.js:2751:30115)\n at async G (/$bunfs/root/src/entrypoints/cli.js:6136:11023)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T03:41:25.395Z"},{"error":"McpToolCallError: failed to list commits: : GET https://api.github.com/repos/FutureTranz-Inc/github-portfolio-tracker/commits?author=victorjquinones&page=1&per_page=100&since=2026-04-01T00%3A00%3A00Z&until=2026-04-22T23%3A59%3A59Z: 404 Not Found []\n at CJ7 (/$bunfs/root/src/entrypoints/cli.js:4759:63)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T09:55:19.068Z"},{"error":"MaxFileReadTokenExceededError: File content (41105 tokens) exceeds maximum allowed tokens (25000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at nj7 (/$bu…

Code Example

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/vquinones/.local/share/claude/versions/2.1.114 (expected in multi-process scenarios)\n    at sd_ (/$bunfs/root/src/entrypoints/cli.js:2751:2177)\n    at WH8 (/$bunfs/root/src/entrypoints/cli.js:2751:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T03:41:24.447Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at GDH (/$bunfs/root/src/entrypoints/cli.js:2751:30115)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T03:41:24.474Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n    at GDH (/$bunfs/root/src/entrypoints/cli.js:2751:30115)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T03:41:24.474Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at GDH (/$bunfs/root/src/entrypoints/cli.js:2751:30115)\n    at async G (/$bunfs/root/src/entrypoints/cli.js:6136:11023)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T03:41:25.059Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n    at GDH (/$bunfs/root/src/entrypoints/cli.js:2751:30115)\n    at async G (/$bunfs/root/src/entrypoints/cli.js:6136:11023)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T03:41:25.059Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at GDH (/$bunfs/root/src/entrypoints/cli.js:2751:30115)\n    at async k (/$bunfs/root/src/entrypoints/cli.js:6136:11830)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T03:41:25.059Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n    at GDH (/$bunfs/root/src/entrypoints/cli.js:2751:30115)\n    at async k (/$bunfs/root/src/entrypoints/cli.js:6136:11830)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T03:41:25.059Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n    at GDH (/$bunfs/root/src/entrypoints/cli.js:2751:30115)\n    at async k (/$bunfs/root/src/entrypoints/cli.js:6136:11830)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T03:41:25.394Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at GDH (/$bunfs/root/src/entrypoints/cli.js:2751:30115)\n    at async k (/$bunfs/root/src/entrypoints/cli.js:6136:11830)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T03:41:25.394Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n    at GDH (/$bunfs/root/src/entrypoints/cli.js:2751:30115)\n    at async G (/$bunfs/root/src/entrypoints/cli.js:6136:11023)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T03:41:25.395Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at GDH (/$bunfs/root/src/entrypoints/cli.js:2751:30115)\n    at async G (/$bunfs/root/src/entrypoints/cli.js:6136:11023)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T03:41:25.395Z"},{"error":"McpToolCallError: failed to list commits: : GET https://api.github.com/repos/FutureTranz-Inc/github-portfolio-tracker/commits?author=victorjquinones&page=1&per_page=100&since=2026-04-01T00%3A00%3A00Z&until=2026-04-22T23%3A59%3A59Z: 404 Not Found []\n    at CJ7 (/$bunfs/root/src/entrypoints/cli.js:4759:63)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T09:55:19.068Z"},{"error":"MaxFileReadTokenExceededError: File content (41105 tokens) exceeds maximum allowed tokens (25000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at nj7 (/$bu…
RAW_BUFFERClick to expand / collapse

Bug Description Wasting time and tokens and not following directions 620061 tokens wasted

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 2.1.114
  • Feedback ID: bfca2c67-078d-48cb-af07-b7911f805e69

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/vquinones/.local/share/claude/versions/2.1.114 (expected in multi-process scenarios)\n    at sd_ (/$bunfs/root/src/entrypoints/cli.js:2751:2177)\n    at WH8 (/$bunfs/root/src/entrypoints/cli.js:2751:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T03:41:24.447Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at GDH (/$bunfs/root/src/entrypoints/cli.js:2751:30115)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T03:41:24.474Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n    at GDH (/$bunfs/root/src/entrypoints/cli.js:2751:30115)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T03:41:24.474Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at GDH (/$bunfs/root/src/entrypoints/cli.js:2751:30115)\n    at async G (/$bunfs/root/src/entrypoints/cli.js:6136:11023)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T03:41:25.059Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n    at GDH (/$bunfs/root/src/entrypoints/cli.js:2751:30115)\n    at async G (/$bunfs/root/src/entrypoints/cli.js:6136:11023)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T03:41:25.059Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at GDH (/$bunfs/root/src/entrypoints/cli.js:2751:30115)\n    at async k (/$bunfs/root/src/entrypoints/cli.js:6136:11830)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T03:41:25.059Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n    at GDH (/$bunfs/root/src/entrypoints/cli.js:2751:30115)\n    at async k (/$bunfs/root/src/entrypoints/cli.js:6136:11830)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T03:41:25.059Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n    at GDH (/$bunfs/root/src/entrypoints/cli.js:2751:30115)\n    at async k (/$bunfs/root/src/entrypoints/cli.js:6136:11830)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T03:41:25.394Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at GDH (/$bunfs/root/src/entrypoints/cli.js:2751:30115)\n    at async k (/$bunfs/root/src/entrypoints/cli.js:6136:11830)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T03:41:25.394Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n    at GDH (/$bunfs/root/src/entrypoints/cli.js:2751:30115)\n    at async G (/$bunfs/root/src/entrypoints/cli.js:6136:11023)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T03:41:25.395Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at GDH (/$bunfs/root/src/entrypoints/cli.js:2751:30115)\n    at async G (/$bunfs/root/src/entrypoints/cli.js:6136:11023)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T03:41:25.395Z"},{"error":"McpToolCallError: failed to list commits: : GET https://api.github.com/repos/FutureTranz-Inc/github-portfolio-tracker/commits?author=victorjquinones&page=1&per_page=100&since=2026-04-01T00%3A00%3A00Z&until=2026-04-22T23%3A59%3A59Z: 404 Not Found []\n    at CJ7 (/$bunfs/root/src/entrypoints/cli.js:4759:63)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T09:55:19.068Z"},{"error":"MaxFileReadTokenExceededError: File content (41105 tokens) exceeds maximum allowed tokens (25000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at nj7 (/$bu…

Note: Content was truncated.

extent analysis

TL;DR

Set the required environment variables GITHUB_PERSONAL_ACCESS_TOKEN and GREPTILE_API_KEY to resolve the plugin MCP server errors.

Guidance

  • The errors indicate missing environment variables GITHUB_PERSONAL_ACCESS_TOKEN and GREPTILE_API_KEY, which are required for the MCP server to function correctly.
  • To fix the issue, set these environment variables with the correct values for your GitHub and Greptile accounts.
  • Additionally, the MaxFileReadTokenExceededError suggests that you may need to adjust your file reading approach to stay within the token limit, potentially by using offset and limit parameters or searching for specific content.
  • Verify that the environment variables are set correctly by checking your system's environment variable settings or by printing them in your code.

Example

No code example is provided as the issue is related to environment variable setup, which is system-dependent.

Notes

The provided error messages are truncated, so there might be additional issues or details not captured here. Ensure you address all mentioned errors and warnings.

Recommendation

Apply the workaround by setting the required environment variables GITHUB_PERSONAL_ACCESS_TOKEN and GREPTILE_API_KEY. This should resolve the plugin MCP server errors related to missing environment variables.

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