Thin MCP and CLI proxy for AI agent and MCP security auditing via a hosted backend
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Thin MCP server and CLI proxy for AI agent and MCP security auditing. It connects to a private audit API to analyze MCP configurations, test prompt injection resistance, trace data flows, scan packages, and generate security policies.
This package is a thin proxy. All scan logic lives in a private backend operated by you or your provider.
Managed hosted flow:
AGENT_SECURITY_API_KEYhttps://audit.leddconsulting.comSelf-hosted or private-network flow:
AGENT_SECURITY_BASE_URL to your HTTPS API originAGENT_SECURITY_HOST and AGENT_SECURITY_PORT for a loopback/private deploymentHosted backend access is not bundled with this package. If you want managed access or a licensed private deployment, contact Ledd Consulting.
ledd-mcp-audit-serverio.github.joepangallo/mcp-audit-serverInstall package: ledd-mcp-audit-server
CLI command after install: mcp-audit-server
This is the public package that should be published to npm and listed in public MCP directories. The audit engine itself stays private.
The old package name mcp-server-agent-security is retired. See MIGRATION.md for upgrade steps and the deprecation plan.
Add to your MCP client configuration (Claude Desktop, Cursor, etc.):
For a self-hosted backend, add AGENT_SECURITY_BASE_URL to that same env block.
The server exposes 10 tools over stdio:
| Tool | Description |
|---|---|
audit_mcp_config | Static analysis of MCP config JSON for privilege, auth, transport, and launch risks |
audit_mcp_server | Active probing of a running MCP server over stdio (requires AGENT_SECURITY_ADMIN_MODE=1) |
audit_agent_trust | Trust audit for tool permissions, execution provenance, secret exposure controls, policy drift, and deployment trust score |
audit_prompt_injection | Tests a system prompt against a 30+ payload injection catalog |
audit_agent_dataflow | Traces PII and secret exposure through an agent's tool pipeline |
scan_mcp_package | Scans an npm MCP package for dependency vulnerabilities and dangerous patterns |
generate_report | Combines multiple audit results into a composite report with executive summary |
fix_mcp_config | Auto-remediates config issues: removes unsafe flags, upgrades transport, redacts secrets |
harden_system_prompt | Appends injection-resistant guardrails to a system prompt |
generate_policy | Generates an enforceable JSON security policy from an MCP config |
The CLI forwards commands to the private audit API.
For a self-hosted backend, also set AGENT_SECURITY_BASE_URL=https://your-audit-host.
| Variable | Default | Description |
|---|---|---|
AGENT_SECURITY_BASE_URL | (none) | Full audit API origin, e.g. https://audit.example.com |
AGENT_SECURITY_HOST | 127.0.0.1 | Self-hosted/private-network audit API host |
AGENT_SECURITY_PORT | 3091 | Self-hosted/private-network audit API port |
AGENT_SECURITY_API_KEY | (none) | API key for authenticated access. If set with no endpoint overrides, the package uses https://audit.leddconsulting.com |
AGENT_SECURITY_REQUEST_TIMEOUT_MS | 15000 | Request timeout for CLI and MCP proxy calls |
AGENT_SECURITY_ADMIN_MODE | (none) | Set to 1 to enable active server probing |
https://audit.leddconsulting.com when AGENT_SECURITY_API_KEY is set. Use AGENT_SECURITY_BASE_URL for other hosted HTTPS deployments, or AGENT_SECURITY_HOST and AGENT_SECURITY_PORT for local/private-network deployments.Versions 2.0.0 through 2.1.0 were published before the release workflow existed and do not carry provenance attestations. Version 3.0.1 and later are released through the provenance-enabled trusted-publishing workflow.
The release workflow in .github/workflows/publish.yml publishes v* tags with npm provenance (npm publish --provenance) via npm trusted publishing (OIDC β no long-lived token). Verify a release with npm audit signatures and the provenance badge on npmjs.com.
MIT
Built by Ledd Consulting
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/mcp-audit-server)<a href="https://allmcps.com/mcp/mcp-audit-server"><img src="https://allmcps.com/api/badge/mcp-audit-server?style=directory" alt="MCP Audit Server on AllMCPs" /></a>