ask-llm
About
Unified MCP server — auto-detects Gemini, Codex, Claude, Ollama, and Antigravity providers
Use this server
Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.
Transportstdio (runs a local command)
Env vars
ASK_CLAUDE_MODEL ASK_CLAUDE_FALLBACK_MODEL ASK_CLAUDE_TIMEOUT_MS OLLAMA_HOST ASK_ANTIGRAVITY_TIMEOUT_MS ASK_ANTIGRAVITY_SANDBOX GMCPT_TIMEOUT_MS GMCPT_LOG_LEVELClaude Code
claude mcp add --env ASK_CLAUDE_MODEL= --env ASK_CLAUDE_FALLBACK_MODEL= --env ASK_CLAUDE_TIMEOUT_MS= --env OLLAMA_HOST= --env ASK_ANTIGRAVITY_TIMEOUT_MS= --env ASK_ANTIGRAVITY_SANDBOX= --env GMCPT_TIMEOUT_MS= --env GMCPT_LOG_LEVEL= ask-llm -- npx @ask-llm/mcp
Cursor
If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.
VS Code
code --add-mcp '{"name":"ask-llm","command":"npx","args":["@ask-llm/mcp"],"env":{"ASK_CLAUDE_MODEL":"","ASK_CLAUDE_FALLBACK_MODEL":"","ASK_CLAUDE_TIMEOUT_MS":"","OLLAMA_HOST":"","ASK_ANTIGRAVITY_TIMEOUT_MS":"","ASK_ANTIGRAVITY_SANDBOX":"","GMCPT_TIMEOUT_MS":"","GMCPT_LOG_LEVEL":""}}'
JSON
{
"mcpServers": {
"ask-llm": {
"command": "npx",
"args": [
"@ask-llm/mcp"
],
"env": {
"ASK_CLAUDE_MODEL": "",
"ASK_CLAUDE_FALLBACK_MODEL": "",
"ASK_CLAUDE_TIMEOUT_MS": "",
"OLLAMA_HOST": "",
"ASK_ANTIGRAVITY_TIMEOUT_MS": "",
"ASK_ANTIGRAVITY_SANDBOX": "",
"GMCPT_TIMEOUT_MS": "",
"GMCPT_LOG_LEVEL": ""
}
}
}
}
Environment variables are listed by name only — fill in your own values. Entries never carry secrets.