Bash Command MCP

A highly sophisticated Bash MCP server for safe, structured command execution with first-class background job orchestration. Its 6 documented tools cluster into run & execute, read & search, kill, tail. It runs locally over stdio via the published package.

People connecting this server to Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

VERIFIED ACTIVE

LAST COMMIT 2026-05-21 · ★ 2 · #686 OF 848 MAINTAINED OTHER · VERIFIED 2026-08-25

MIT · TypeScript servers · how we verify → /methodology

01 · Install Bash Command MCP

before you install - you'll need

Set BASH_COMMAND_MCP_TRANSPORT, BASH_COMMAND_MCP_HOST, BASH_COMMAND_MCP_PORT, OTEL_ENABLED, OTEL_EXPORTER_OTLP_ENDPOINT, OTEL_SERVICE_NAME before connecting.

Claude Code

claude mcp add mrorigo-bash-command-mcp -- npx -y bash-command-mcp

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "mrorigo-bash-command-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "bash-command-mcp"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

npm package bash-command-mcp - unscoped; check the name against the project README before installing

registry namespace io.github.mrorigo is GitHub-verified and matches the repo owner

03 · What Bash Command MCP can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

With this server connected, an agent can run command in foreground, start command in background with stdout/stderr written to log files, list tracked background processes, including log file paths, and stop tracked background process by pid.

Capability map

Tools grouped from the project's README - what Bash Command MCP lets an agent do.

run & execute

2 tools - e.g. run command in foreground.; start command in background with stdout/stderr written to log files.

run · run_background

read & search

1 tool - e.g. list tracked background processes, including log file paths.

list_background

Kill

1 tool - e.g. stop tracked background process by pid.

kill_background

Tail

1 tool - e.g. show last N lines from background process logs.

tail_background

Wait

1 tool - e.g. wait for background process completion and return final status/output.

wait_background

Limitations (from the README)

This server executes shell commands on the machine where it is running. If you run bun run index.ts directly on your host, commands run on your host with your user permissions. Use Docker to isolate execution unless you fully trust the MCP client and prompts.

04 · Who maintains Bash Command MCP

bash-command-mcp is maintained by mrorigo. We track 2 MCP servers from mrorigo - 2 actively maintained, 8 combined GitHub stars, oldest repo from Feb 2026. Full record: all servers from mrorigo.

  1. Hashfile MCP Hash-anchored file editing with surgical precision over file editing and ironclad control of access ★ 6

05 · Facts

category
other - ranked #686 of 848 actively-maintained other servers as of 2026-08-25.
registry
io.github.mrorigo/bash-command-mcp (active, first published 2026-02-17 · 3 versions)
packages
npm:bash-command-mcp

06 · Bash Command MCP FAQ

Is Bash Command MCP still maintained?

Yes - as of 2026-08-25, its last commit was 2026-05-21. We re-verify nightly.

What can Bash Command MCP do?

With this server connected, an agent can run command in foreground, start command in background with stdout/stderr written to log files, list tracked background processes, including log file paths, and stop tracked background process by pid.

How do I install Bash Command MCP?

Run `npx -y bash-command-mcp`. The README documents 6 environment variables (BASH_COMMAND_MCP_TRANSPORT, BASH_COMMAND_MCP_HOST, BASH_COMMAND_MCP_PORT…) to set first. Set BASH_COMMAND_MCP_TRANSPORT, BASH_COMMAND_MCP_HOST, BASH_COMMAND_MCP_PORT, OTEL_ENABLED, OTEL_EXPORTER_OTLP_ENDPOINT, OTEL_SERVICE_NAME before connecting. You can also paste the ready-made client config above.

Does Bash Command MCP run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Bash Command MCP

More MCP servers to compare · Hashfile MCP · ConnectWise PSA · Jobd · Plant Genomics · Toolradar

More TypeScript MCP servers · Open Zk Kb · YouTube MCP · Rakuten MCP · Tabedata MCP · Glyphic · see all