mcpbeat Sign in

Bash Command MCP Server

local only

Bash Command MCP runs on your own machine — the client starts it, so there is no endpoint to ping. 16 installs a week from npm. Last commit 21 May 2026.

Sophisticated bash command MCP server that runs and manages shell execution.

Installs per day peak 38 · avg 4 · +20% w/w
a month agotoday
16
Installs / week
npm · bash-command-mcp
2
Stars
1 open issue
21 May 2026
Last commit
no releases in 90 days
MIT
License
TypeScript

What the code does

We read the source, 3 d ago · rules 995398eba69f

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

      const child = spawn(command, {

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add bash-command-mcp -- npx -y bash-command-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "bash-command-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "bash-command-mcp"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.bash-command-mcp]
command = "npx"
args = ["-y", "bash-command-mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "bash-command-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "bash-command-mcp"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "bash-command-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "bash-command-mcp"
      ]
    }
  }
}

Optional settings from the registry entry, left out of the block above: OTEL_ENABLED (Enable or disable OpenTelemetry instrumentation (`true` or `false`)), OTEL_SERVICE_NAME (OpenTelemetry service name override), OTEL_SERVICE_VERSION (OpenTelemetry service version override), OTEL_EXPORTER_OTLP_ENDPOINT (OTLP HTTP endpoint for exporting OpenTelemetry traces and metrics (for example `http://localhost:4318`)), OTEL_METRIC_EXPORT_INTERVAL_MS (OpenTelemetry metrics export interval in milliseconds), BASH_COMMAND_MCP_LOG_DIR (Directory used to store background process stdout/stderr log files).

Alternatives to Bash Command MCP

same job, measured the same way
Realssh MCP
by danielecr

MCP server for SSH remote command execution

59 installs/wk local only
SSH Client MCP Server
by jordanburke

MCP server for executing shell commands on remote hosts via SSH.

101 installs/wk local only
vssh
by meshpop

SSH tunnel and remote server management MCP — execute commands, transfer files, manage

local only
Qatouch
by qatouch

MCP Server for software testing, test case management, test execution, and defect tracking.

138 installs/wk local only
2native SSH MCP Server
by daidaij

SSH-based MCP server for remote command execution and file transfer. Credentials stay local.

local only
Computer
by pollinations

A private persistent computer: files and a bash shell that survive between runs.

answering
Proctor
by pulsemcp

MCP server for running Proctor exams against MCP servers with exam execution and result management.

61 installs/wk local only
SSH Host Storage & Remote Exec
by xlbbb-cn

Stdio MCP server for SSH host storage and remote command execution with a connection-pool monitor.

664 installs/wk local only

Bash Command MCP — questions

Answers built from our own checks of this server.

Why is there no uptime for Bash Command MCP?
Bash Command MCP runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package bash-command-mcp was installed 16 times last week.
How do I connect Bash Command MCP?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls bash-command-mcp straight from npm; nothing to host, nothing to sign up for.
How many people use Bash Command MCP?
The npm package bash-command-mcp was installed 16 times in the last week. Week over week that is +20%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Bash Command MCP open source?
Yes — it is published under the MIT licence, written in TypeScript, 2 stars on GitHub and 1 open issue. The source link is on this page, so you can read exactly what it does with your data before you connect it.