Skip to content
MCP server

MCP & Agent Security Auditor

Static scanner that flags CWE-mapped security issues in MCP configs, agent hooks

Runs locally

MCP & Agent Security Auditor 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, API, Web
Runs
Locally
Version
2.2.1
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add mcp-agent-security-auditor -- uvx mcp-agent-security-auditor

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": {
    "mcp-agent-security-auditor": {
      "command": "uvx",
      "args": [
        "mcp-agent-security-auditor"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp-agent-security-auditor": {
      "command": "uvx",
      "args": [
        "mcp-agent-security-auditor"
      ]
    }
  }
}

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": {
    "mcp-agent-security-auditor": {
      "command": "uvx",
      "args": [
        "mcp-agent-security-auditor"
      ]
    }
  }
}

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": {
    "mcp-agent-security-auditor": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-agent-security-auditor"
      ]
    }
  }
}

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 mcp-agent-security-auditor -- uvx mcp-agent-security-auditor

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.mcp-agent-security-auditor]
command = "uvx"
args = ["mcp-agent-security-auditor"]

Codex setup guide

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

{
  "mcpServers": {
    "mcp-agent-security-auditor": {
      "command": "uvx",
      "args": [
        "mcp-agent-security-auditor"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "mcp-agent-security-auditor": {
          "command": "uvx",
          "args": [
            "mcp-agent-security-auditor"
          ]
        }
      }
    }

    Or run: gemini mcp add -s user mcp-agent-security-auditor uvx -- mcp-agent-security-auditor

    Antigravity

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

    {
      "mcpServers": {
        "mcp-agent-security-auditor": {
          "command": "uvx",
          "args": [
            "mcp-agent-security-auditor"
          ]
        }
      }
    }

    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": {
        "mcp-agent-security-auditor": {
          "command": "uvx",
          "args": [
            "mcp-agent-security-auditor"
          ]
        }
      }
    }

    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": {
        "mcp-agent-security-auditor": {
          "command": "uvx",
          "args": [
            "mcp-agent-security-auditor"
          ]
        }
      }
    }

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

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "mcp-agent-security-auditor": {
          "command": "uvx",
          "args": [
            "mcp-agent-security-auditor"
          ]
        }
      }
    }

    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": {
        "mcp-agent-security-auditor": {
          "command": "uvx",
          "args": [
            "mcp-agent-security-auditor"
          ]
        }
      }
    }

    Junie

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

    {
      "mcpServers": {
        "mcp-agent-security-auditor": {
          "command": "uvx",
          "args": [
            "mcp-agent-security-auditor"
          ]
        }
      }
    }

    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": {
        "mcp-agent-security-auditor": {
          "command": "uvx",
          "args": [
            "mcp-agent-security-auditor"
          ]
        }
      }
    }

    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 MCP & Agent Security Auditor

This tool reads configuration and code before it ships, looking for weaknesses such as exposed secrets, shell injection sinks, path traversal and open Firebase rules. It runs as a command-line scanner that can emit SARIF for CI pipelines, and it can also be started as a stdio MCP server so an AI client can request scans directly.

The scanner targets three kinds of input: MCP server code, Claude Code style agent hooks and skill files, and Firebase Realtime Database and Firestore rules. Each finding is tied to a named rule and a CWE identifier, which makes results easier to triage. A browser playground on the project page lets you paste configuration content and test detections without installing anything.

It suits developers and security reviewers who build MCP servers or agent integrations and want a pre-release check. It is a static pre-audit aid rather than a full penetration test, so findings should be reviewed by a person before relying on them.

What it does

CWE-mapped rule set
Seven named detection rules, each tagged with the CWE weakness it addresses.
Command-line scanning
Scans a target repository from the terminal and can output results in SARIF format.
Stdio MCP server mode
Runs as a JSON-RPC 2.0 stdio server so AI clients can invoke the scanner as a tool.
CI workflow integration
Provides a GitHub Actions action definition for running scans in pipelines.
Firebase rules checks
Flags wide-open Realtime Database and Firestore rules that allow unauthenticated reads or writes.
Browser playground
Paste configuration content into the project page to test detections in the browser.

Good for

  • Check an MCP server's tool handlers for shell injection and path traversal before release
  • Scan Claude Code hooks and skill files for hardcoded secrets and risky execution patterns
  • Catch open Firebase security rules in a repository before deploying
  • Add a security gate to a CI pipeline that reports findings in SARIF

Pricing

Open source

Prices change. Check jashory.github.io before you buy.

MCP & Agent Security Auditor FAQ

How do I install MCP & Agent Security Auditor?

It can be installed with pip or uv as mcp-agent-security-auditor, run from a git clone with python install.py, or added as an Agent Skill with npx skills add.

Does the browser playground send my data anywhere?

The playground runs entirely client-side in the browser, and the project page states that pasted content does not leave the user's machine.

Which output formats are supported?

The command-line scanner supports SARIF output, selected with the --format sarif option.

Is MCP & Agent Security Auditor free?

Yes. MCP & Agent Security Auditor is open source, so you can use and self-host it for free.

How do I add MCP & Agent Security Auditor to Claude Code?

Run this command in your terminal: claude mcp add mcp-agent-security-auditor -- uvx mcp-agent-security-auditor

What are the best alternatives to MCP & Agent Security Auditor?

The closest alternatives to MCP & Agent Security Auditor are MCP Security Guard, MCP Server Auditor, Skill Audit MCP, MCP Server Auditor and mcp-scan.

Where this comes from

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

How AIPoweredBot checks servers