bash command mcp for Cursor
io.github.mrorigo/bash-command-mcp
Sophisticated bash command MCP server that runs and manages shell execution.
client:Cursor
transport:stdio
runtime:npm
Install bash command mcp in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"bash-command-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"bash-command-mcp"
],
"env": {
"OTEL_ENABLED": "<OTEL_ENABLED>",
"OTEL_SERVICE_NAME": "<OTEL_SERVICE_NAME>",
"OTEL_SERVICE_VERSION": "<OTEL_SERVICE_VERSION>",
"OTEL_EXPORTER_OTLP_ENDPOINT": "<OTEL_EXPORTER_OTLP_ENDPOINT>",
"OTEL_METRIC_EXPORT_INTERVAL_MS": "<OTEL_METRIC_EXPORT_INTERVAL_MS>",
"BASH_COMMAND_MCP_LOG_DIR": "<BASH_COMMAND_MCP_LOG_DIR>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs