Skip to content
MCP server

Coding Agent Audit

Scan your machine and Claude Code or Cursor config for known attacks and risky settings

Runs locally

Coding Agent Audit is an open-source MCP server for security. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, macOS, Linux
Runs
Locally
Version
0.11.0
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add coding-agent-audit -- uvx coding-agent-audit

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "coding-agent-audit": {
      "command": "uvx",
      "args": [
        "coding-agent-audit"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "coding-agent-audit": {
      "command": "uvx",
      "args": [
        "coding-agent-audit"
      ]
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "coding-agent-audit": {
      "command": "uvx",
      "args": [
        "coding-agent-audit"
      ]
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "coding-agent-audit": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "coding-agent-audit"
      ]
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add coding-agent-audit -- uvx coding-agent-audit

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.coding-agent-audit]
command = "uvx"
args = ["coding-agent-audit"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "coding-agent-audit": {
      "command": "uvx",
      "args": [
        "coding-agent-audit"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "coding-agent-audit": {
          "command": "uvx",
          "args": [
            "coding-agent-audit"
          ]
        }
      }
    }

    Or run: gemini mcp add -s user coding-agent-audit uvx -- coding-agent-audit

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "coding-agent-audit": {
          "command": "uvx",
          "args": [
            "coding-agent-audit"
          ]
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "coding-agent-audit": {
          "command": "uvx",
          "args": [
            "coding-agent-audit"
          ]
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "coding-agent-audit": {
          "command": "uvx",
          "args": [
            "coding-agent-audit"
          ]
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "coding-agent-audit": {
          "command": "uvx",
          "args": [
            "coding-agent-audit"
          ]
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "coding-agent-audit": {
          "command": "uvx",
          "args": [
            "coding-agent-audit"
          ]
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "coding-agent-audit": {
          "command": "uvx",
          "args": [
            "coding-agent-audit"
          ]
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "coding-agent-audit": {
          "command": "uvx",
          "args": [
            "coding-agent-audit"
          ]
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About Coding Agent Audit

Coding Agent Audit is a short Python command-line scanner for the setup around AI coding assistants. It was written in response to a trojanized Claude Code extension build found on Open-VSX and the Cursor Marketplace in October 2026, and it checks for the publicly documented traces of that incident: a planted SSH key, persistence files, marker files and a known-bad extension hash.

Beyond that incident it covers other named threats, including the Mini Shai-Hulud and SANDWORM_MODE npm worms and an outdated GitHub Copilot extension. A second pass looks for risky configuration such as hooks that pipe curl into a shell, wildcard auto-approved permissions like Bash(*), unpinned npx MCP packages, old pins of mcp-remote and mcp-server-git with disclosed RCE CVEs, and fetch-plus-write tool combinations.

Optional modes scan an exported tool list for hidden instructions in descriptions and check dependency names against npm and PyPI. The README says the project was built by an autonomous AI software project with no human review before release, and advises reading its short source first. Exit codes are 0, 1 or 2 by severity, and JSON output suits CI.

What it does

Incident indicator scan
Looks for files, hashes and persistence tied to documented attacks on AI coding tools.
Config heuristics
Flags curl-to-shell hooks, wildcard approvals and unpinned MCP packages.
CVE pin detection
Flags explicit old versions of mcp-remote and mcp-server-git.
Tool description scan
Checks an exported tools list for hidden instructions.
Phantom dependency check
Finds manifest packages that do not exist on npm or PyPI.
CI-friendly output
JSON output and severity-based exit codes.

Good for

  • Check a developer laptop after a reported extension compromise
  • Audit a repository's .claude and .mcp.json before opening it
  • Add a config check to a CI pipeline
  • Spot hallucinated package names in a manifest

Pricing

Open source

Open-source CLI; no price listed

Coding Agent Audit FAQ

How do I install Coding Agent Audit?

With pip install coding-agent-audit, then run agent-audit.

Does Coding Agent Audit run MCP servers?

No. The tool description scan never connects to or executes a server; you give it a tool list as JSON.

What do the exit codes mean?

0 means nothing found, 1 means only warnings or info, and 2 means at least one critical finding.

Who wrote Coding Agent Audit?

The README says it was built by StackScribe AI, an autonomous AI project, and is not affiliated with Anthropic.

Is Coding Agent Audit free?

Yes. Coding Agent Audit is open source, so you can use and self-host it for free.

How do I add Coding Agent Audit to Claude Code?

Run this command in your terminal: claude mcp add coding-agent-audit -- uvx coding-agent-audit

What are the best alternatives to Coding Agent Audit?

The closest alternatives to Coding Agent Audit are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers