MCP troubleshooting
Common MCP integration issues and fixes.
Cannot create a plan
- Ensure your prompt is detailed (typically ~300-800 words) and includes objective, scope, constraints, timeline, stakeholders, budget/resources, and success criteria.
- Some topics may be refused by the model (harmful, unethical, or dangerous requests).
- Try a smaller model or a more reliable paid model.
- Confirm the MCP server is reachable from your client.
Status never changes
- Long‑running plans are normal; retry after a few minutes.
- If it stalls, create a new task and compare behavior.
Download fails
- Confirm the
download_urlreturned byplan_file_infois reachable from your network. - If you run locally, make sure the base URL (
http://localhost:8001/mcp) is correct. - If downloads 401/403, re-check the
X-API-Keyheader (cloud) orPLANEXE_MCP_REQUIRE_AUTH(Docker).
Low‑quality output
- Increase prompt detail and constraints.
- Use a stronger model.
- Avoid “vague” or conflicting requirements.
Quota or billing errors
If you see errors like:
You exceeded your current quota, please check your plan and billing details
Then:
- Verify your provider has active billing.
- Check usage limits or rate limits.
- Try a different model or provider.
Invalid API key (403)
If your MCP client can reach https://mcp.planexe.org/mcp but receives {"detail":"Invalid API key"}:
- Send only the raw key value (e.g.
pex_…), notX-API-Key: pex_…. - The header should be
X-API-Key: <key>orAuthorization: Bearer <key>. - Verify with curl:
- For self-hosted deployments: ensure
PLANEXE_API_KEY_SECRETmatches in bothfrontend_multi_user(key issuer) andmcp_cloud(key validator). A mismatch causes allpex_…keys to be rejected.