Skip to content
Grok

Shell Exec for Grok

io.github.domdomegg/shell-exec-mcp

Execute bash commands with background job support.

client:Grok transport:stdio runtime:npm

Install Shell Exec in Grok

.mcp.json (in your project root)

{
  "mcpServers": {
    "shell-exec-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "shell-exec-mcp"
      ]
    }
  }
}

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

Shell Exec in other clients