Skip to content
Grok

bash command mcp for Grok

io.github.mrorigo/bash-command-mcp

Sophisticated bash command MCP server that runs and manages shell execution.

client:Grok transport:stdio runtime:npm

Install bash command mcp in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "bash-command-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "bash-command-mcp"
      ],
      "env": {
        "OTEL_ENABLED": "<OTEL_ENABLED>",
        "OTEL_SERVICE_NAME": "<OTEL_SERVICE_NAME>",
        "OTEL_SERVICE_VERSION": "<OTEL_SERVICE_VERSION>",
        "OTEL_EXPORTER_OTLP_ENDPOINT": "<OTEL_EXPORTER_OTLP_ENDPOINT>",
        "OTEL_METRIC_EXPORT_INTERVAL_MS": "<OTEL_METRIC_EXPORT_INTERVAL_MS>",
        "BASH_COMMAND_MCP_LOG_DIR": "<BASH_COMMAND_MCP_LOG_DIR>"
      }
    }
  }
}

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

bash command mcp in other clients