bash-mcp

v5.0.1
io.github.nickw8/bash-mcp Checked 3 days ago Published 1 month ago

Structured JSON wrappers for git, kubectl, terraform, helm, argocd, gh, glab and other CLIs.

Values you need

VariableWhat it is
BASH_MCP_MODEoptional Write gate for run/batch: readOnly (default), confirmWrites, off Default: readOnly
BASH_MCP_PROFILEoptional Tool set to register: core, development, infrastructure, all (default) Default: all
BASH_MCP_RESPONSE_MODEoptional Response budget: auto (default), summary, compact, full Default: auto

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add bash-mcp -- npx -y @nickw8/bash-mcp@5.0.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "bash-mcp": {
      "args": [
        "-y",
        "@nickw8/bash-mcp@5.0.1"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "bash-mcp": {
      "args": [
        "-y",
        "@nickw8/bash-mcp@5.0.1"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "bash-mcp": {
      "args": [
        "-y",
        "@nickw8/bash-mcp@5.0.1"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.bash-mcp]
command = "npx"
args = ["-y", "@nickw8/bash-mcp@5.0.1"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: ls, tree, du, find_files, rg, glob, git_status, git_log, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json