claude-code - 💡(How to fix) Fix [Bug] Swift LSP plugin not available in marketplace

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…

Error Message

[{"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-20T22:04:38.635Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server terraform invalid: Missing environment variables: TFE_TOKEN\n at GDH (/$bunfs/root/src/entrypoints/cli.js:2751:30115)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T22:04:38.636Z"},{"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-20T22:04:38.917Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server terraform invalid: Missing environment variables: TFE_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-20T22:04:38.917Z"},{"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-20T22:04:38.918Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server terraform invalid: Missing environment variables: TFE_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-20T22:04:38.918Z"}]

Code Example

[{"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-20T22:04:38.635Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server terraform invalid: Missing environment variables: TFE_TOKEN\n    at GDH (/$bunfs/root/src/entrypoints/cli.js:2751:30115)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T22:04:38.636Z"},{"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-20T22:04:38.917Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server terraform invalid: Missing environment variables: TFE_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-20T22:04:38.917Z"},{"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-20T22:04:38.918Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server terraform invalid: Missing environment variables: TFE_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-20T22:04:38.918Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description Cannot find the swift LSP in the plugin marketplace. I ran claude doctor, I am up to date, as well: https://code.claude.com/docs/en/discover-plugins#code-intelligence

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.114
  • Feedback ID: 528515dc-79b1-4de4-bdb5-543b2d9427eb

Errors

[{"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-20T22:04:38.635Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server terraform invalid: Missing environment variables: TFE_TOKEN\n    at GDH (/$bunfs/root/src/entrypoints/cli.js:2751:30115)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T22:04:38.636Z"},{"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-20T22:04:38.917Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server terraform invalid: Missing environment variables: TFE_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-20T22:04:38.917Z"},{"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-20T22:04:38.918Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server terraform invalid: Missing environment variables: TFE_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-20T22:04:38.918Z"}]

extent analysis

TL;DR

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

Guidance

  • The errors indicate missing environment variables GITHUB_PERSONAL_ACCESS_TOKEN and TFE_TOKEN, which are required for the MCP server to function correctly.
  • Verify that these variables are set in your environment before running the plugin.
  • Check the documentation for the plugin and MCP server to ensure you have the correct values for these variables.
  • If you are still having issues, try restarting your terminal or environment after setting the variables to ensure they are applied.

Notes

The issue seems to be related to missing environment variables, but without more information about the plugin or MCP server configuration, it's difficult to provide a more specific solution.

Recommendation

Apply workaround: Set the required environment variables GITHUB_PERSONAL_ACCESS_TOKEN and TFE_TOKEN to resolve the plugin MCP server errors. This should allow the plugin to function correctly until a more permanent solution can be found.

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 [Bug] Swift LSP plugin not available in marketplace