Bash
Verified IntegrationClient Configuration
— Connect Bash to Claude Desktop or Cursor in seconds{
"mcpServers": {
"bash": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-bash"
],
"env": {}
}
}
}~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows).System Overview
Enables AI models like Claude Desktop and Cowork to securely execute shell commands and read their output on your local machine.
7/22/2026
Open Source
stdio / SSE RPC
Frequently Asked Questions
Architecture and operational details for Bash
Yes, the `run_bash` tool accepts `cwd` (working directory) and `timeout` parameters. You can also set a default working directory (`BASH_MCP_CWD`) and a maximum command timeout (`BASH_MCP_MAX_TIMEOUT`) using environment variables.
Related MCP Servers
Browse all servers →Provides comprehensive historical and real-time crypto market data, including orderbooks, trades, candles, and more, from Hyperliquid, HIP-3, and Lighter.xyz.
Facilitates gasless blockchain transactions and interactions directly from Claude AI conversations.
Bridges Claude AI with blockchain networks, enabling gasless transactions, swaps, and transfers directly from natural language conversations.