Grok MCP
grok-mcp (npm: grok-cli-mcp) is a Model Context Protocol server for Grok. It gives your primary agent (Claude, Cursor, etc.) four tools so it can delegate to Grok for high-quality second opinions and rigorous validation without leaving the session. As of v0.3. Its README documents 4 tools, including grok_chat, grok_review, grok_consult. It runs locally over stdio via the published package.
People connecting developer tools tools to Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.
VERIFIED ACTIVE
LAST COMMIT 2026-07-28 · ★ 10 · #83 OF 139 MAINTAINED DEVELOPER TOOLS · VERIFIED 2026-08-25
MIT · TypeScript servers · how we verify → /methodology
01 · Install Grok MCP
before you install - you'll need
Set XAI_API_KEY, GROK_MCP_PATH_SECRET before connecting. GROK_MCP_TIMEOUT is optional or environment-specific per the README.
Claude Code
claude mcp add howardpen9-grok-mcp -- npx -y grok-cli-mcp Claude Desktop / Cursor / VS Code - add to config
{
"mcpServers": {
"howardpen9-grok-mcp": {
"command": "npx",
"args": [
"-y",
"grok-cli-mcp"
]
}
}
} Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.
Using another client? Same JSON, different key
Claude Desktop · mcpServers
Cursor · mcpServers
VS Code · servers
Windsurf · mcpServers
Zed · context_servers
Cline · mcpServers
Roo Code · mcpServers
Continue · mcpServers
LibreChat · mcpServers
Gemini CLI · mcpServers
Codex CLI · mcp_servers
Full setup guides: every client.
02 · Evidence
Security posture
What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.
runs as local process (stdio) - runs on your machine with your user's permissions
license MIT - declared in the repository
npm package grok-cli-mcp - unscoped; check the name against the project README before installing
registry namespace io.github.howardpen9 is GitHub-verified and matches the repo owner
03 · What Grok MCP can do
Prose above is summarized from the project's README and registry record - no invented capabilities.
What you can build
An agent gets 4 documented tools, including grok_chat, grok_review, grok_consult, grok_challenge.
The 4 tools it gives your agent
Extracted from the project's README - what grok-mcp lets an agent do.
- grok_chat
- grok_review
- grok_consult
- grok_challenge
Latest releases
v0.2.0 · 2026-06-10
The big shift: \grok_review\ is no longer just a markdown second opinion - it can now block a PR. · What's new · 1. \grok_review\ JSON mode · Pass \format: \"json\"\ to get a structured verdict suitable for any…
v0.1.3 · 2026-06-07
Discoverability Push · npm package renamed: grok-build-mcp → grok-cli-mcp · Why the split name? · The natural choice grok-mcp was already taken on npm by an unrelated project (an HTTP-API integration). So the layering…
v0.1.1 · 2026-05-26
Changes · soften review prompt to avoid triggering Grok's agentic tool use. The original template asked for "file:line references" and "suggested fixes" which nudged Grok Build into tool-use mode and hung the headless…
04 · Who maintains Grok MCP
grok-mcp is maintained by howardpen9. It's the only MCP server we track from this author; the repo dates to May 2026.
05 · Facts
- repository
- github.com/howardpen9/grok-mcp
- category
- developer tools - ranked #83 of 139 actively-maintained developer tools servers as of 2026-08-25.
- release cadence
- 2 releases in the last 90 days (latest 2026-06-10)
- registry
- io.github.howardpen9/grok-mcp (active, first published 2026-06-10)
- packages
- npm:grok-cli-mcp
06 · Grok MCP FAQ
Is Grok MCP still maintained?
Yes - as of 2026-08-25, its last commit was 2026-07-28 and it shipped 2 releases in the last 90 days. We re-verify nightly.
What can Grok MCP do?
An agent gets 4 documented tools, including grok_chat, grok_review, grok_consult, grok_challenge.
How do I install Grok MCP?
Run `npx -y grok-cli-mcp`. The README documents 3 environment variables (XAI_API_KEY, GROK_MCP_TIMEOUT, GROK_MCP_PATH_SECRET) to set first. Set XAI_API_KEY, GROK_MCP_PATH_SECRET before connecting. GROK_MCP_TIMEOUT is optional or environment-specific per the README. You can also paste the ready-made client config above.
Does Grok MCP run locally?
Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.
07 · Alternatives to Grok MCP
Alternatives to Grok MCP
Maintained developer tools servers if Grok MCP isn't the fit.
- Xcode Build MCP XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities. ★ 6,274 · 2026-08-12
- Strata MCP server for progressive tool usage at any scale (see https://klavis.ai) ★ 5,794 · 2026-06-01
- Kubefwd Kubernetes port forwarding for local development with automatic /etc/hosts entries. ★ 4,162 · 2026-08-21
- Sem Entity-level code intelligence: semantic diff, impact analysis, blame, and context for AI agents ★ 3,309 · 2026-08-24
- Claude Code Explorer MCP Explore the Claude Code CLI source - browse tools, commands, search code, and more. ★ 3,263 · 2026-04-22
- Server for WinDbg Crash Analysis A Model Context Protocol server for Windows crash dump analysis using WinDbg/CDB ★ 1,533 · 2026-08-22
Pairs well with
Servers that cover what Grok MCP doesn't - only shown when the pairing reason fits the companion.
More developer tools MCP servers · Proof Flow · Instagit · iz-tolk-MCP - Tolk Compiler for TON · Veto · Cyber Hua Tuo
More TypeScript MCP servers · Hqbase · Agent Scrape · Httpayer MCP Server · Feishu Markdown MCP · Reunion · see all