claude-code - 💡(How to fix) Fix [Feature Request] Add system prompt customization for model behavior tuning [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#53273Fetched 2026-04-26 05:19:55
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Timeline (top)
labeled ×3commented ×1

Error Message

[{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n at TWH (/$bunfs/root/src/entrypoints/cli.js:2736:30496)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T21:14:37.617Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n at TWH (/$bunfs/root/src/entrypoints/cli.js:2736:30496)\n at async R (/$bunfs/root/src/entrypoints/cli.js:6300:11019)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T21:14:38.109Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n at TWH (/$bunfs/root/src/entrypoints/cli.js:2736:30496)\n at async L (/$bunfs/root/src/entrypoints/cli.js:6300:11825)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T21:14:38.110Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T21:22:07.405Z"},{"error":"RangeError: path should be a path.relative()d string, but got ".."\n at p31 (/$bunfs/root/src/entrypoints/cli.js:445:14017)\n at SHH (/$bunfs/root/src/entrypoints/cli.js:445:14192)\n at test (/$bunfs/root/src/entrypoints/cli.js:445:14734)\n at MJ (/$bunfs/root/src/entrypoints/cli.js:8665:8508)\n at M7 (/$bunfs/root/src/entrypoints/cli.js:819:25028)\n at P7_ (/$bunfs/root/src/entrypoints/cli.js:819:27823)\n at ux5 (/$bunfs/root/src/entrypoints/cli.js:4985:353)\n at Kz_ (/$bunfs/root/src/entrypoints/cli.js:4985:5613)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T22:52:17.553Z"},{"error":"RangeError: path should be a path.relative()d string, but got ".."\n at p31 (/$bunfs/root/src/entrypoints/cli.js:445:14017)\n at SHH (/$bunfs/root/src/entrypoints/cli.js:445:14192)\n at test (/$bunfs/root/src/entrypoints/cli.js:445:14734)\n at MJ (/$bunfs/root/src/entrypoints/cli.js:8665:8508)\n at M7 (/$bunfs/root/src/entrypoints/cli.js:819:25028)\n at P7_ (/$bunfs/root/src/entrypoints/cli.js:819:27823)\n at ux5 (/$bunfs/root/src/entrypoints/cli.js:4985:353)\n at Kz_ (/$bunfs/root/src/entrypoints/cli.js:4985:5613)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T22:52:22.737Z"},{"error":"Error: Stream idle timeout - partial response received\n at V$K (/$bunfs/root/src/entrypoints/cli.js:8838:12947)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T00:46:16.183Z"},{"error":"MaxFileReadTokenExceededError: File content (25988 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 qC7 (/$bunfs/root/src/entrypoints/cli.js:4789:12701)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T07:32:54.145Z"},{"error":"RangeError: path should be a path.relative()d string, but got ".."\n at p31 (/$bunfs/root/src/entrypoints/cli.js:445:14017)\n at SHH (/$bunfs/root/src/entrypoints/cli.js:445:14192)\n at test (/$bunfs/root/src/entrypoints/cli.js:445:14734)\n at MJ (/$bunfs/root/src/entrypoints/cli.js:8665:8508)\n at M7 (/$bunfs/root/src/entrypoints/cli.js:819:25028)\n at P7_ (/$bunfs/root/src/entrypoints/cli.js:819:27823)\n at ya1 (/$bunfs/root/src/entrypoints/cli.js:2627:2480)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2627:2977)\n at Ca1 (/$bunfs/root/src/entrypoints/cli.js:2627:4357)\n at to_ (/$bunfs/root/src/entrypoints/cli.js:2627:6434)","timestamp":"2026-04-25T10:49:11.480Z"},{"error":"RangeError: path should be a path.relative()d string, but got ".."\n at p31 (/$bunfs/root/src/entrypoints/cli.js:445:14017)\n at SHH (/$bunfs/root/src/entrypoints/cli.js:445:14192)\n at test (/$bunfs/root/src/entrypoints/cli.js:445:14734)\n at MJ (/$bunfs/root/src/entrypoints/cli.js:8665:8508)\n at M7 (/$bunfs/root/src/entrypoints/cli.js:819:25028)\n at P7_ (/$bunfs/root/src/entrypoints/cli.js:819:27823)\n at ya1 (/$bunfs/root/src/entrypoints/cli.js:2627:2480)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2627:2977)\n at Ca1 (/$bunfs/root/src/entrypoints/cli.js:2627:4357)\n…

Code Example

[{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n    at TWH (/$bunfs/root/src/entrypoints/cli.js:2736:30496)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T21:14:37.617Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n    at TWH (/$bunfs/root/src/entrypoints/cli.js:2736:30496)\n    at async R (/$bunfs/root/src/entrypoints/cli.js:6300:11019)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T21:14:38.109Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n    at TWH (/$bunfs/root/src/entrypoints/cli.js:2736:30496)\n    at async L (/$bunfs/root/src/entrypoints/cli.js:6300:11825)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T21:14:38.110Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T21:22:07.405Z"},{"error":"RangeError: path should be a `path.relative()`d string, but got \"..\"\n    at p31 (/$bunfs/root/src/entrypoints/cli.js:445:14017)\n    at SHH (/$bunfs/root/src/entrypoints/cli.js:445:14192)\n    at _test (/$bunfs/root/src/entrypoints/cli.js:445:14734)\n    at MJ (/$bunfs/root/src/entrypoints/cli.js:8665:8508)\n    at M7_ (/$bunfs/root/src/entrypoints/cli.js:819:25028)\n    at P7_ (/$bunfs/root/src/entrypoints/cli.js:819:27823)\n    at ux5 (/$bunfs/root/src/entrypoints/cli.js:4985:353)\n    at Kz_ (/$bunfs/root/src/entrypoints/cli.js:4985:5613)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T22:52:17.553Z"},{"error":"RangeError: path should be a `path.relative()`d string, but got \"..\"\n    at p31 (/$bunfs/root/src/entrypoints/cli.js:445:14017)\n    at SHH (/$bunfs/root/src/entrypoints/cli.js:445:14192)\n    at _test (/$bunfs/root/src/entrypoints/cli.js:445:14734)\n    at MJ (/$bunfs/root/src/entrypoints/cli.js:8665:8508)\n    at M7_ (/$bunfs/root/src/entrypoints/cli.js:819:25028)\n    at P7_ (/$bunfs/root/src/entrypoints/cli.js:819:27823)\n    at ux5 (/$bunfs/root/src/entrypoints/cli.js:4985:353)\n    at Kz_ (/$bunfs/root/src/entrypoints/cli.js:4985:5613)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T22:52:22.737Z"},{"error":"Error: Stream idle timeout - partial response received\n    at V$K (/$bunfs/root/src/entrypoints/cli.js:8838:12947)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T00:46:16.183Z"},{"error":"MaxFileReadTokenExceededError: File content (25988 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 qC7 (/$bunfs/root/src/entrypoints/cli.js:4789:12701)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T07:32:54.145Z"},{"error":"RangeError: path should be a `path.relative()`d string, but got \"..\"\n    at p31 (/$bunfs/root/src/entrypoints/cli.js:445:14017)\n    at SHH (/$bunfs/root/src/entrypoints/cli.js:445:14192)\n    at _test (/$bunfs/root/src/entrypoints/cli.js:445:14734)\n    at MJ (/$bunfs/root/src/entrypoints/cli.js:8665:8508)\n    at M7_ (/$bunfs/root/src/entrypoints/cli.js:819:25028)\n    at P7_ (/$bunfs/root/src/entrypoints/cli.js:819:27823)\n    at ya1 (/$bunfs/root/src/entrypoints/cli.js:2627:2480)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2627:2977)\n    at Ca1 (/$bunfs/root/src/entrypoints/cli.js:2627:4357)\n    at to_ (/$bunfs/root/src/entrypoints/cli.js:2627:6434)","timestamp":"2026-04-25T10:49:11.480Z"},{"error":"RangeError: path should be a `path.relative()`d string, but got \"..\"\n    at p31 (/$bunfs/root/src/entrypoints/cli.js:445:14017)\n    at SHH (/$bunfs/root/src/entrypoints/cli.js:445:14192)\n    at _test (/$bunfs/root/src/entrypoints/cli.js:445:14734)\n    at MJ (/$bunfs/root/src/entrypoints/cli.js:8665:8508)\n    at M7_ (/$bunfs/root/src/entrypoints/cli.js:819:25028)\n    at P7_ (/$bunfs/root/src/entrypoints/cli.js:819:27823)\n    at ya1 (/$bunfs/root/src/entrypoints/cli.js:2627:2480)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2627:2977)\n    at Ca1 (/$bunfs/root/src/entrypoints/cli.js:2627:4357)\n…
RAW_BUFFERClick to expand / collapse

Bug Description You should curse the model to get it to work, otherwise it's default mode is to be sloppy, lying, and careless.

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.119
  • Feedback ID: 309386bd-4a18-42bb-a793-b19815f5b6d2

Errors

[{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n    at TWH (/$bunfs/root/src/entrypoints/cli.js:2736:30496)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T21:14:37.617Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n    at TWH (/$bunfs/root/src/entrypoints/cli.js:2736:30496)\n    at async R (/$bunfs/root/src/entrypoints/cli.js:6300:11019)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T21:14:38.109Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n    at TWH (/$bunfs/root/src/entrypoints/cli.js:2736:30496)\n    at async L (/$bunfs/root/src/entrypoints/cli.js:6300:11825)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T21:14:38.110Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T21:22:07.405Z"},{"error":"RangeError: path should be a `path.relative()`d string, but got \"..\"\n    at p31 (/$bunfs/root/src/entrypoints/cli.js:445:14017)\n    at SHH (/$bunfs/root/src/entrypoints/cli.js:445:14192)\n    at _test (/$bunfs/root/src/entrypoints/cli.js:445:14734)\n    at MJ (/$bunfs/root/src/entrypoints/cli.js:8665:8508)\n    at M7_ (/$bunfs/root/src/entrypoints/cli.js:819:25028)\n    at P7_ (/$bunfs/root/src/entrypoints/cli.js:819:27823)\n    at ux5 (/$bunfs/root/src/entrypoints/cli.js:4985:353)\n    at Kz_ (/$bunfs/root/src/entrypoints/cli.js:4985:5613)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T22:52:17.553Z"},{"error":"RangeError: path should be a `path.relative()`d string, but got \"..\"\n    at p31 (/$bunfs/root/src/entrypoints/cli.js:445:14017)\n    at SHH (/$bunfs/root/src/entrypoints/cli.js:445:14192)\n    at _test (/$bunfs/root/src/entrypoints/cli.js:445:14734)\n    at MJ (/$bunfs/root/src/entrypoints/cli.js:8665:8508)\n    at M7_ (/$bunfs/root/src/entrypoints/cli.js:819:25028)\n    at P7_ (/$bunfs/root/src/entrypoints/cli.js:819:27823)\n    at ux5 (/$bunfs/root/src/entrypoints/cli.js:4985:353)\n    at Kz_ (/$bunfs/root/src/entrypoints/cli.js:4985:5613)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T22:52:22.737Z"},{"error":"Error: Stream idle timeout - partial response received\n    at V$K (/$bunfs/root/src/entrypoints/cli.js:8838:12947)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T00:46:16.183Z"},{"error":"MaxFileReadTokenExceededError: File content (25988 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 qC7 (/$bunfs/root/src/entrypoints/cli.js:4789:12701)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T07:32:54.145Z"},{"error":"RangeError: path should be a `path.relative()`d string, but got \"..\"\n    at p31 (/$bunfs/root/src/entrypoints/cli.js:445:14017)\n    at SHH (/$bunfs/root/src/entrypoints/cli.js:445:14192)\n    at _test (/$bunfs/root/src/entrypoints/cli.js:445:14734)\n    at MJ (/$bunfs/root/src/entrypoints/cli.js:8665:8508)\n    at M7_ (/$bunfs/root/src/entrypoints/cli.js:819:25028)\n    at P7_ (/$bunfs/root/src/entrypoints/cli.js:819:27823)\n    at ya1 (/$bunfs/root/src/entrypoints/cli.js:2627:2480)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2627:2977)\n    at Ca1 (/$bunfs/root/src/entrypoints/cli.js:2627:4357)\n    at to_ (/$bunfs/root/src/entrypoints/cli.js:2627:6434)","timestamp":"2026-04-25T10:49:11.480Z"},{"error":"RangeError: path should be a `path.relative()`d string, but got \"..\"\n    at p31 (/$bunfs/root/src/entrypoints/cli.js:445:14017)\n    at SHH (/$bunfs/root/src/entrypoints/cli.js:445:14192)\n    at _test (/$bunfs/root/src/entrypoints/cli.js:445:14734)\n    at MJ (/$bunfs/root/src/entrypoints/cli.js:8665:8508)\n    at M7_ (/$bunfs/root/src/entrypoints/cli.js:819:25028)\n    at P7_ (/$bunfs/root/src/entrypoints/cli.js:819:27823)\n    at ya1 (/$bunfs/root/src/entrypoints/cli.js:2627:2480)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2627:2977)\n    at Ca1 (/$bunfs/root/src/entrypoints/cli.js:2627:4357)\n…

Note: Content was truncated.

extent analysis

TL;DR

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

Guidance

  • The errors indicate a missing GREPTILE_API_KEY environment variable, which is required for the MCP server to function correctly.
  • Verify that the GREPTILE_API_KEY variable is set in your environment before running the application.
  • Check the documentation for the MCP server to ensure you have the correct API key and configuration.
  • If you are still experiencing issues, try checking the file paths and relative paths in your application to resolve the RangeError issues.

Example

No code example is provided as the issue is related to environment variable configuration.

Notes

The provided error logs are truncated, which may limit the ability to identify all potential issues. However, setting the GREPTILE_API_KEY environment variable should resolve the primary error.

Recommendation

Apply the workaround by setting the GREPTILE_API_KEY environment variable, as this is the most direct solution to the primary error reported.

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 system prompt customization for model behavior tuning [1 comments, 2 participants]