Bash Command MCP
Runs foreground and background Bash commands through MCP with process controls, logs, configurable execution context, and telemetry.
Install Bash Command MCP
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"bash-command-mcp": {
"command": "npx",
"args": [
"-y",
"bash-command-mcp"
]
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
Automated check passed— started and listed 6 tools correctly (6d ago).
Overview
Use cases
- Run shell commands in a local workspace
- Launch and monitor long-running background jobs
- Inspect stdout and stderr from managed processes
- Execute commands with custom working directories and environment variables
- Collect command execution telemetry with OpenTelemetry
Key features
- Foreground Bash command execution
- Background process lifecycle controls
- Per-process stdout and stderr logs
- Working-directory and environment overrides
- Stdio and Streamable HTTP transports
- OpenTelemetry traces and metrics
Tools6
What Bash Command MCP lets your agent do. Expand a tool for its parameters.
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
What it can do
From the 6 tools this server returned when we ran it.
Observed 2026-10-16 in an isolated sandbox. A description of reach, not a security audit.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 12d ago via OSV.dev · bash-command-mcp (npm)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Bash Command MCP works
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Bash Command MCP
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/bash-command-mcp)<a href="https://allmcps.com/mcp/bash-command-mcp"><img src="https://allmcps.com/api/badge/bash-command-mcp?style=directory" alt="Bash Command MCP on AllMCPs" /></a>