ag-bash

ag-bash is an MCP server for Claude Code, Codex, Cursor, Gemini CLI, OpenCode from sairam0424/ag-bash. Its token cost is not measured, scanned A, a copy of ag-bash, Apache-2.0.

A sandboxed command-line environment for AI assistants, with tools for running shell commands, editing code, comparing changes, and using Python or JavaScript compiled to WebAssembly.

In plain words
What is it for?
Use it to run commands, change and review files, and execute Python or JavaScript while working on a project.
Why use it?
It lets an assistant perform common coding tasks in an isolated environment with a defined set of tools.

MCP server for Claude CodeCodexCursorGemini CLIOpenCode

Written for no agent in particular: it speaks MCP, so any client can run it.

Good fit Use it to run commands, change and review files, and execute Python or JavaScript while working on a project.

Compare 6 mcp servers from other repositories ↓
Install with agentmods
npx agentmods add mcp/sairam0424/ag-bash/mcp-server-ag-bash
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/sairam0424/ag-bash

Made for: Claude Code, Codex, Cursor, Gemini CLI, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ag-bash

README.md
[![agentmods](https://agentmods.dev/badge/mcp/sairam0424/ag-bash/mcp-server-ag-bash/github.svg)](https://agentmods.dev/mcp/sairam0424/ag-bash/mcp-server-ag-bash)
Your own site
<a href="https://agentmods.dev/mcp/sairam0424/ag-bash/mcp-server-ag-bash"><img src="https://agentmods.dev/badge/mcp/sairam0424/ag-bash/mcp-server-ag-bash/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ag-bash

Your own site · 80×15
<a href="https://agentmods.dev/mcp/sairam0424/ag-bash/mcp-server-ag-bash"><img src="https://agentmods.dev/badge/mcp/sairam0424/ag-bash/mcp-server-ag-bash.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session not measured What this adds to a session before it is invoked.
When invoked not measured Not applicable: nothing here is loaded into a session.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 88% copy Near-identical to another mod in the catalogue.
Security

Grade A, and why

ag-bash scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

88% identical to ag-bash — 5 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

packages/mcp-server/server.json · 10 lines

What it actually says

{
  "ag-bash": {
    "command": "npx",
    "args": [
      "-y",
      "@ag-bash/mcp-server"
    ],
    "env": {}
  }
}
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 10 lines scan A 654ca37125b5

Subscribe to this mod's changes

ag-bash is an MCP server published in the GitHub repository sairam0424/ag-bash (1 stars, last pushed today), licensed Apache-2.0. Its token cost is not measured: an MCP server costs its tool schemas, not its config file. A static security scan graded it A with 0 findings. It is 88% identical to ag-bash, differing in 5 lines, and is treated as a copy.

Related

Other mcp servers, from other repositories

mcp-victoriametrics

MCP server "mcp-victoriametrics" as configured in VictoriaMetrics/mcp-victoriametrics. Runs in Docker (ghcr.io/victoriametrics/mcp-victoriametrics:1.20.2). Needs 7 environment variables to run.

VictoriaMetrics/mcp-victoriametrics · not measured

signoz-mcp-server

MCP server "signoz-mcp-server" as configured in SigNoz/signoz-mcp-server. Runs in Docker (docker.io/signoz/signoz-mcp-server:v0.9.0).

SigNoz/signoz-mcp-server · not measured

mcp-victorialogs

MCP server "mcp-victorialogs" as configured in VictoriaMetrics/mcp-victorialogs. Runs in Docker (ghcr.io/victoriametrics/mcp-victorialogs:1.9.0). Needs 3 environment variables to run.

VictoriaMetrics/mcp-victorialogs · not measured

dynatrace-managed-mcp

MCP server for Dynatrace Managed to access logs, events, and metrics. Runs locally from the @dynatrace-oss/dynatrace-managed-mcp-server npm package. Needs 5 environment variables to run.

dynatrace-oss/dynatrace-managed-mcp · not measured

dynatrace-managed

Model Context Protocol (MCP) server for Dynatrace Managed (self-hosted). Runs locally from the @dynatrace-oss/dynatrace-managed-mcp-server npm package. Needs 3 environment variables to run.

dynatrace-oss/dynatrace-managed-mcp · not measured

greptimedb-mcp-server

MCP server for GreptimeDB with SQL/TQL/PromQL support, sensitive data masking, and prompt templates for observability data analysis. Runs locally from the greptimedb-mcp-server Python package. Needs 13 environment variables to run.

GreptimeTeam/greptimedb-mcp-server · not measured