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.
We read the source, 4 d ago · rules 995398eba69f
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.
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.
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.
claude mcp add ag-bash -- npx -y @ag-bash/mcp-server
{
"mcpServers": {
"ag-bash": {
"command": "npx",
"args": [
"-y",
"@ag-bash/mcp-server"
]
}
}
}
[mcp_servers.ag-bash]
command = "npx"
args = ["-y", "@ag-bash/mcp-server"]
{
"mcpServers": {
"ag-bash": {
"command": "npx",
"args": [
"-y",
"@ag-bash/mcp-server"
]
}
}
}
{
"servers": {
"ag-bash": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@ag-bash/mcp-server"
]
}
}
}
Run AI-generated code safely. gVisor-isolated Python/JS sandboxes for any MCP client. Pay per run.
Execute code in 8 languages (Python, JS, TS, Go, Java, C++, C, Bash) in gVisor sandboxes.
No-KYC VPS + per-second code sandboxes AI agents run over MCP — 75 tools, SDK, pay BTC/XMR/USDC/USDT
WasmAgent MCP server — WASM-sandboxed code execution with capability manifests and Tasks API.
Build Apps and run code in 30 languages — sandboxed, with persistent sessions for agent loops.
Deterministic code maps for AI agents: 7 tree-sitter tools for TS/JS/Py — map, find, function_body
Run Claude Code subagents on cheaper opencode models (DeepSeek, opencode Go) with native parity.
SMS verification for AI agents: buy a number, get the code, cancel with refund. Free sandbox.
Answers built from our own checks of this server.