This MCP server executes shell commands in a structured manner with advanced background job orchestration and built-in observability features.
From the registry: Sophisticated bash command MCP server that runs and manages shell execution.
Please install the `bash-command-mcp` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Install Node.js** — Required for npx. (https://nodejs.org)
Canonical MCP server config (stdio transport):
- command: `npx`
- args: ["-y","bash-command-mcp"]
- optional environment variables:
- `OTEL_ENABLED`: Set to 'false' to disable OpenTelemetry instrumentation. (example: `false`)
- `OTEL_EXPORTER_OTLP_ENDPOINT`: OTLP HTTP endpoint for exporting telemetry. (example: `http://localhost:4318`)
- `OTEL_SERVICE_NAME`: OpenTelemetry service name. (example: `bash-command-mcp`)
- `OTEL_SERVICE_VERSION`: Telemetry service version. (example: `1.0.0`)
- `OTEL_METRIC_EXPORT_INTERVAL_MS`: Metric export interval in milliseconds. (example: `10000`)
- `BASH_COMMAND_MCP_LOG_DIR`: Directory for per-process stdout/stderr logs. (example: `/path/to/log-dir`)
Note: Security warning: runs arbitrary shell commands with host user permissions unless sandboxed in Docker.
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.OTEL_ENABLEDrequiredEnables or disables OpenTelemetry instrumentation.OTEL_EXPORTER_OTLP_ENDPOINTrequiredEndpoint for exporting traces/metrics via OTLP HTTP.An MCP Server for computer-use in Windows OS