agent-sec-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@agent-sec-mcpAudit the skill bundle in ./skills against the 8 attack patterns and show evidence."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
agent-sec-mcp
Authorized-use agent-security MCP server. Deterministic, no-LLM MCP server for auditing AI-agent supply-chain and agent-facing surfaces that the operator is authorized to test. Fills the "Agent / Supply-Chain Security" category missing from offensive-security MCP catalogs.
Hard authorization gate
Any tool that touches a network target refuses to run unless the target is
in an explicit authorized_hosts allowlist (per-call) or the ENGAGEMENT_SCOPE
env var. Local read-only auditing of a skill bundle you provide needs no scope.
# touch a network target? you must declare scope:
export ENGAGEMENT_SCOPE="192.168.1.0/24,my-box.example.com"
# or pass authorized_hosts to the tool per callWithout it: probe_agent_endpoint/enumerate_mcp_surface return AUTHZ_DENIED.
Related MCP server: mcp-audit
Tools
Tool | Scope required | What it does |
| none (local) | Audit a skill/plugin/prompt bundle vs 8 supply-chain attack patterns (R1 injection, R2 exfil, R3 secrets, R4 dangerous cmds, R5 obfuscation, R6 untrusted fetch, R7 cred access, R8 priv-esc) with line-level evidence |
| none (local) | Secrets detection on a local path (GitHub tokens, API keys, AWS, private keys, passwords) |
| YES | Read-only HTTP recon of an agent endpoint: status, headers (server/x-powered-by/sts/set-cookie/www-auth), TLS |
| YES | Discover declared tools/schema of an MCP endpoint (initialize/tools.list, read-only) |
| none | Evidence-gated claim check — is a claimed action actually verified? (FACT/INFERENCE/REFUTED/UNVERIFIED; DO-NOT-REPORT gate) |
| none | List the 8 supply-chain audit patterns |
Run
# stdio (Claude Desktop / MCP clients)
python3 mcp_server.py
# streamable HTTP
python3 mcp_server.py --http 8102
# health: GET http://127.0.0.1:8102/healthz
# deterministic self-test (CI)
python3 mcp_server.py --self-testProtocol: JSON-RPC 2.0 over stdio; initialize / tools/list / tools/call / ping.
Determinism & trust
No LLM, no network exfil, pure stdlib. The 8-pattern audit engine is the same deterministic ruleset used by
mcp-skill-sec; secret/heuristic scanning is gitleaks-style token regex.Reads only what you point it at; writes nothing except stdout.
Ships with an E2E-tested authorization gate so network-facing tools are denied unless scope is declared — no "scan anything" foot-gun.
Install (once published)
pip install agent-sec-mcp # PyPI
# or
uv tool install git+https://github.com/sudo-ai-git/agent-sec-mcpLicense & provenance
MIT. Written by sudo-ai-git. Authorized security-testing tool — use it only on
systems you own or have written permission to test.
Maintenance
Related MCP Connectors
Security tools for AI agents: scan MCP servers, validate HDP delegation chains, audit releases.
Signed security scores for what an AI agent runs and reads: skills, MCP servers, prompts, tokens.
Zero-secret MCP gateway for AI agents: risk-scored, audited calls with human-in-the-loop approval.
Security firewall for AI agents — scans MCP calls for injection, secrets, and risks.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceSecurity scanning for AI agent skills, MCP servers, and agent prompts, returning signed trust scores and detailed findings.MIT
- AlicenseNot gradedqualityAmaintenanceAudits MCP server configurations for security risks including capability inventory, SSRF, prompt injection, and drift detection. Works in read-only mode and can also be used as an MCP server to let AI agents audit their own attack surface.98 PyPI4MIT
- AlicenseNot gradedqualityBmaintenanceAudits AI agent skills for safety using static, semantic, adversarial, and supply-chain analysis, providing scores and risk flags. Can be run via CLI, CI, or as an MCP tool from Claude Code, Cursor, and Codex.2Apache 2.0
- AlicenseAqualityAmaintenanceSecurity scanner for third-party AI agent-skill files: SKILL.md manifests, hooks, and bundled scripts, exposed via an MCP tool.121 npm1Apache 2.0