Thin MCP and CLI proxy for AI agent and MCP security auditing via a hosted backend
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"io-github-joepangallo-mcp-audit-server": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
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.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in security
An evil MCP server used for redteam testing
AI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
Proof primitive for AI agents on MultiversX. Anchor file hashes on-chain as verifiable proofs.
Security-first platform for AI agents. 38 specialized agents, 15 AI-powered extensions, zero-knowledge multi-agent orchestration. SENTINEL WAF, Ed25519 auth, 2.6M grounding facts.
MCP Security Weekly
Get CVE alerts and security updates for io.github.joepangallo/mcp-audit-server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
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-servernpm install ledd-mcp-audit-server
Install 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.):
{
"mcpServers": {
"mcp-audit-server": {
"command": "npx",
"args": ["-y", "ledd-mcp-audit-server", "--mcp"],
"env": {
"AGENT_SECURITY_API_KEY": "your-issued-api-key"
}
}
}
}
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.
# Hosted quick start
export AGENT_SECURITY_API_KEY=your-issued-api-key
# Audit an MCP configuration file
mcp-audit-server scan-config ./claude_desktop_config.json
# Probe a live MCP server (requires AGENT_SECURITY_ADMIN_MODE=1)
mcp-audit-server scan-server npx -y @modelcontextprotocol/server-filesystem /tmp
# Audit trust posture and policy drift for an agent/MCP deployment
mcp-audit-server scan-trust ./claude_desktop_config.json ./claimed-policy.json
# Scan an npm package for vulnerabilities
mcp-audit-server scan-package @modelcontextprotocol/server-shell
# Test a system prompt for injection vulnerabilities
mcp-audit-server scan-injection ./sy
... [View full README on GitHub](https://github.com/joepangallo/mcp-audit-server#readme)