Skip to content
Zed

bash command mcp for Zed

io.github.mrorigo/bash-command-mcp

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

client:Zed transport:stdio runtime:npm

Install bash command mcp in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

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

{
  "context_servers": {
    "bash-command-mcp": {
      "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>"
      }
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

bash command mcp in other clients