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 # machine-readable, exit 1 on errorInstallation 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
Windows NPX flag issues
error: unknown option "-y" when using Claude Code on Windows
MCP server not responding (Claude Desktop cannot connect)
Server fails to start or connection drops
"npm install fails: EUNSUPPORTEDPROTOCOL workspace:*"
npm 9 or older choking on workspace:* in published packages
Connection & Auth
"Authentication failed" / "401 Unauthorized"
Provider CLI isn't authenticated
Quota / rate limit errors (Gemini RESOURCE_EXHAUSTED, Codex 429)
Provider quota exhausted
"Timeout after 210000ms"
Provider call exceeded server 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
Pre-commit hook running on every Bash call, not just git commit
The hook matches Bash but filters by command content
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 - Windows:
%APPDATA%\Claude\logs\ - 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