Grok Code MCP Server
MCP server for xAI's grok-code-fast-1 model - Expert coding assistant with 256K context
context tax
queued
security
queued
cold start
queued
freshness
queued
Install Grok Code MCP server
Install in Claude Code
claude mcp add grok-code -- npx -y grok-code-mcp-serverInstall in Cursor
{
"mcpServers": {
"grok-code": {
"command": "npx",
"args": [
"-y",
"grok-code-mcp-server"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"grok-code": {
"command": "npx",
"args": [
"-y",
"grok-code-mcp-server"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"grok-code": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"grok-code-mcp-server"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"grok-code": {
"command": "npx",
"args": [
"-y",
"grok-code-mcp-server"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Freshness
Not enough public signals yet to judge maintenance.
Last commit (default branch)
no data · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
no data · official registry
FAQ
›How do I install the Grok Code MCP server in Claude Code?
Run: claude mcp add grok-code -- npx -y grok-code-mcp-server. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Grok Code require an API key?
No required environment variables are declared in its published metadata.
›Can I use Grok Code as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Grok Code in the official MCP registry?
No. It was indexed from npm.