Troubleshooting
Run the doctor first.
npx @ask-llm/mcp doctorchecks Node version, PATH, every provider CLI's presence + version, and env vars. It works even when MCP can't start. 90%+ of setup issues are caught here with a clear failed-check line; fix from the bottom of the report up.
bash
npx @ask-llm/mcp doctor # human-readable
npx @ask-llm/mcp doctor --json # established full JSON, exit 1 on error
npx @ask-llm/mcp doctor --format toon # bounded, versioned agent-facing TOON pilot
npx @ask-llm/mcp doctor --format toon --full # full TOON escape hatchInstallation Issues
"Command not found: gemini" / "codex" / "ollama"
Provider CLI is not installed or not on PATH
"PATH issue": CLI works in terminal but MCP server says "not found"
macOS GUI apps don't inherit your shell PATH
MCP server not responding (Claude Desktop cannot connect)
Server fails to start or connection drops
EUNSUPPORTEDPROTOCOL workspace:* (npx fails to start)
Stale npx cache from a pre-1.5.7 install poisons new runs. Clear it.
Connection & Auth
"Authentication failed" / "401 Unauthorized"
Provider CLI isn't authenticated
Quota / rate limit errors (Gemini RESOURCE_EXHAUSTED, Codex 429)
Provider quota exhausted
"Command timed out after Xs"
Provider call exceeded the per-provider wall-clock timeout
Tool & API Issues
"Provider X is not available" / tool call rejects provider
The orchestrator didn't detect the provider at startup
"Sub-agent silently produces 0-byte output" / brainstorm coordinator hang
Provider process killed by sub-agent lifecycle
Model & Response Issues
Response gets cut off mid-stream
MCP message size limits or executor timeout
Plugin Issues
Plugin slash commands not appearing in Claude Code
Plugin not installed or not loaded
Debug Mode
Enable verbose logging:
json
{
"mcpServers": {
"ask-llm": {
"command": "npx",
"args": ["-y", "@ask-llm/mcp"],
"env": {
"GMCPT_LOG_LEVEL": "debug"
}
}
}
}Logs go to stderr. Claude Desktop captures them in:
- macOS:
~/Library/Logs/Claude/mcp-server-*.log - Linux:
~/.config/claude/logs/
Getting Help
- Run the doctor first:
npx @ask-llm/mcp doctor - Check GitHub Issues for similar reports
- Open a new issue with: doctor output, your client (Claude Code/Desktop/Cursor/etc.), Node version, OS, and what you ran
- Ask in GitHub Discussions for usage questions