Skip to content
Claude Code

bash command mcp for Claude Code

io.github.mrorigo/bash-command-mcp

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

client:Claude Code transport:stdio runtime:npm

Install bash command mcp in Claude Code

run in your project directory

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

claude mcp add bash-command-mcp -e OTEL_ENABLED=<OTEL_ENABLED> -e OTEL_SERVICE_NAME=<OTEL_SERVICE_NAME> -e OTEL_SERVICE_VERSION=<OTEL_SERVICE_VERSION> -e OTEL_EXPORTER_OTLP_ENDPOINT=<OTEL_EXPORTER_OTLP_ENDPOINT> -e OTEL_METRIC_EXPORT_INTERVAL_MS=<OTEL_METRIC_EXPORT_INTERVAL_MS> -e BASH_COMMAND_MCP_LOG_DIR=<BASH_COMMAND_MCP_LOG_DIR> -- npx -y bash-command-mcp

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

bash command mcp in other clients