A side-by-side look at the Ask Gemini and Grok MCP MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.
Verdict: choose Ask Gemini for conversational ai work as a local process; choose Grok MCP for conversational ai as a local process. You can also run both side by side in one mcpServers block.
ask-codex, ask-codex-edit, ping.XAI_API_KEY, GROK_MCP_TIMEOUT, GROK_MCP_PATH_SECRET.grok_chat, grok_review, grok_consult.Rows where the two servers differ are marked.
| Spec | ||
|---|---|---|
| Category | Conversational AI | Conversational AI |
| Quality signal | 63/100 · Good | 60/100 · Good |
| Install command | Confirmed | Confirmed |
| Transport | Local subprocess (stdio) | Local subprocess (stdio) |
| Auth | Not declared | Not declared |
| Pricing | Not declared | Not declared |
| Required env vars | None listed | XAI_API_KEYGROK_MCP_TIMEOUTGROK_MCP_PATH_SECRET |
| Verified owner | Community listing | Community listing |
| GitHub stars | 18 | 11 |
| Directory activity | 1 views 0 installs 0 upvotes | 1 views 0 installs 0 upvotes |
| Tools | 4 | 4 |
| Full listing | View Ask Gemini | View Grok MCP |
ask-codexSend a prompt to OpenAI Codex CLI (defaults to gpt-6-astra with automatic fallback on quota errors). Use for code review, second opinions, analysis, and AI-to-AI collaboration. Do not override the model parameter unless the user explicitly asks. Returns both human-readable text and a structured response (provider, model, sessionId, usage) via outputSchema. Calls are ephemeral by default; pass sessionId: "" on the first call to persist its Codex thread_id, then pass the returned sessionId on follow-up calls to continue the conversation.ask-codex-editSend a code edit request to OpenAI Codex CLI and get structured search/replace edit blocks back (via codex --output-schema). Codex reads the existing files (read-only) and proposes precise, applyable changes for Claude to apply. Use this when you want Codex to suggest specific code modifications to existing files rather than just analysis. Mirrors ask-gemini-edit.pingTest connectivity with the MCP serverget-usage-statsGet the current MCP server's session usage stats: total LLM calls, token totals (input/output/thinking/cached), wall time, and breakdowns per provider and per model. No data leaves your machine — counts are tracked in-memory for the lifetime of the server process. Returns both human-readable markdown and a structured JSON snapshot via outputSchema.grok_chatSend a one-shot prompt to xAI Grok and return its reply. Stateless — for multi-turn use grok_consult.grok_reviewHave Grok review a git diff. If no diff is provided, runs `git diff <base_ref>...HEAD` (default base: main). Returns a per-dimension review. Use format='json' for CI gating (verdict + scores + blockers).grok_consultContinue a conversation with Grok by replaying the full message history each call. Stateless on the server side — the caller owns the thread.grok_challengeAsk Grok to adversarially break a piece of code: edge cases, race conditions, security holes, adversarial inputs. Returns severity-ranked issues with reproductions.Paste either block (or both) into your client config, e.g. claude_desktop_config.json or ~/.cursor/mcp.json. We only show a config when the install command is confirmed.
{
"mcpServers": {
"ask-gemini": {
"command": "npx",
"args": [
"-y",
"@ask-llm/codex-mcp"
]
}
}
}
{
"mcpServers": {
"grok-mcp": {
"command": "npx",
"args": [
"-y",
"grok-cli-mcp"
],
"env": {
"XAI_API_KEY": "YOUR_XAI_API_KEY_HERE",
"GROK_MCP_TIMEOUT": "YOUR_GROK_MCP_TIMEOUT_HERE",
"GROK_MCP_PATH_SECRET": "YOUR_GROK_MCP_PATH_SECRET_HERE"
}
}
}
}