Local MCP server that runs shell/bash commands on your machine — a run_bash tool for Claude Desktop & Cowork over stdio or streamable-HTTP. Python, FastMCP, MIT.
Quick Install
Copy the config for your editor. Some servers may need additional setup — check the README.
Claude Desktop
Claude Code
Cursor
Add to claude_desktop_config.json:
{
"mcpServers": {
"mcp-bash-server": {
"command": "uvx",
"args": [
"mcp-bash-server"
]
}
}
}
📋 Copy
Run in terminal:
claude mcp add mcp-bash-server uvx mcp-bash-server
📋 Copy
Add to .cursor/mcp.json:
{
"mcpServers": {
"mcp-bash-server": {
"command": "uvx",
"args": [
"mcp-bash-server"
]
}
}
}
📋 Copy
Or install with pip: pip install mcp-bash-server