mcp-audit-server

v3.0.1
io.github.joepangallo/mcp-audit-server Checked 3 hours ago Published 3 months ago

Thin MCP and CLI proxy for AI agent and MCP security auditing via a hosted backend

Values you need

VariableWhat it is
AGENT_SECURITY_API_KEYrequired secret API key for the managed hosted audit backend
AGENT_SECURITY_BASE_URLoptional Optional HTTPS API origin for self-hosted or private deployments

npm (npx)

Requires Node.js 18+

Run in a terminal
claude mcp add mcp-audit-server -e 'AGENT_SECURITY_API_KEY=<AGENT_SECURITY_API_KEY>' -- npx -y --package=ledd-mcp-audit-server@3.0.1 mcp-audit-server
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp-audit-server": {
      "args": [
        "-y",
        "--package=ledd-mcp-audit-server@3.0.1",
        "mcp-audit-server"
      ],
      "command": "npx",
      "env": {
        "AGENT_SECURITY_API_KEY": "<AGENT_SECURITY_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-audit-server": {
      "args": [
        "-y",
        "--package=ledd-mcp-audit-server@3.0.1",
        "mcp-audit-server"
      ],
      "command": "npx",
      "env": {
        "AGENT_SECURITY_API_KEY": "<AGENT_SECURITY_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "AGENT_SECURITY_API_KEY",
      "id": "agent-security-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "mcp-audit-server": {
      "args": [
        "-y",
        "--package=ledd-mcp-audit-server@3.0.1",
        "mcp-audit-server"
      ],
      "command": "npx",
      "env": {
        "AGENT_SECURITY_API_KEY": "${input:agent-security-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp-audit-server]
command = "npx"
args = ["-y", "--package=ledd-mcp-audit-server@3.0.1", "mcp-audit-server"]
env = { "AGENT_SECURITY_API_KEY" = "<AGENT_SECURITY_API_KEY>" }

For AI agents

  1. Ask the user for: AGENT_SECURITY_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json