Skip to content
Grok

code runner for Grok

io.github.formulahendry/code-runner

Code Runner MCP Server which can run code in various programming languages.

client:Grok transport:stdio runtime:npm

Install code runner in Grok

.mcp.json (in your project root)

{
  "mcpServers": {
    "code-runner": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-code-runner"
      ]
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

code runner in other clients