mcpbeat Sign in

Ag Bash MCP Server

local only

Ag Bash runs on your own machine — the client starts it, so there is no endpoint to ping. 68 installs a week from npm. Last commit 28 Oct 2026.

Sandboxed AI-native bash with 70 agentic tools: run_bash, code edit/diff, WASM Python/JS.

Installs per day peak 21 · avg 9 · +36% w/w
a month agotoday
68
Installs / week
npm · @ag-bash/mcp-server
1
Stars
3 open issues
28 Oct 2026
Last commit
1 release in 90 days
Apache-2.0
License
TypeScript

What the code does

We read the source, 4 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.

  exec(commandLine: string, options?: ExecOptions): Promise<BashExecResult>;
    system(cmd);
    const fullPath = path.join(testDir, filePath);

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 ag-bash -- npx -y @ag-bash/mcp-server
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "ag-bash": {
      "command": "npx",
      "args": [
        "-y",
        "@ag-bash/mcp-server"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.ag-bash]
command = "npx"
args = ["-y", "@ag-bash/mcp-server"]
.cursor/mcp.json
{
  "mcpServers": {
    "ag-bash": {
      "command": "npx",
      "args": [
        "-y",
        "@ag-bash/mcp-server"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "ag-bash": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ag-bash/mcp-server"
      ]
    }
  }
}

Alternatives to Ag Bash

same job, measured the same way
Cinch
by yusufkadry

Run AI-generated code safely. gVisor-isolated Python/JS sandboxes for any MCP client. Pay per run.

33 installs/wk local only
SandboxAPI
by michielderuiter

Execute code in 8 languages (Python, JS, TS, Go, Java, C++, C, Bash) in gVisor sandboxes.

answering
EQVPS — VPS and code sandboxes for AI agents
by poiuyhje

No-KYC VPS + per-second code sandboxes AI agents run over MCP — 75 tools, SDK, pay BTC/XMR/USDC/USDT

47 tools answering
Telleroutlook
by telleroutlook

WasmAgent MCP server — WASM-sandboxed code execution with capability manifests and Tasks API.

122 installs/wk local only
Cdbx
by cdbx

Build Apps and run code in 30 languages — sandboxed, with persistent sessions for agent loops.

answering
Codelens MCP
by segentic-lab

Deterministic code maps for AI agents: 7 tree-sitter tools for TS/JS/Py — map, find, function_body

local only
opencode subagents
by sebstaq

Run Claude Code subagents on cheaper opencode models (DeepSeek, opencode Go) with native parity.

1 863 installs/wk local only
Smsverbot MCP
by massimosun

SMS verification for AI agents: buy a number, get the code, cancel with refund. Free sandbox.

9 tools answering

Ag Bash — questions

Answers built from our own checks of this server.

Why is there no uptime for Ag Bash?
Ag Bash 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 @ag-bash/mcp-server was installed 68 times last week.
How do I connect Ag Bash?
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 @ag-bash/mcp-server straight from npm; nothing to host, nothing to sign up for.
How many people use Ag Bash?
The npm package @ag-bash/mcp-server was installed 68 times in the last week. Week over week that is +36%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Ag Bash open source?
Yes — it is published under the Apache-2.0 licence, written in TypeScript, 1 stars on GitHub and 3 open issues. The source link is on this page, so you can read exactly what it does with your data before you connect it.