/agent-toolkit-complete:mcp-auditfrom agent-toolkit-complete
Audits MCP server config and implementation security: secrets/auth, version pinning, remote vs local, OAuth, env exposure, command injection, SSRF, unsafe args, tool poisoning. Static, evidence-cited.
Ships in agent-toolkit-complete. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Audit MCP servers before adopting — static inspection only, never execute remote servers. Use when reviewing mcp/registry/*.yaml, mcp/templates/*/config.template.json, skill/plugin MCP declarations, or when a static surface scan flags MCP references.
Single skill, two modes — decision per #379 review: config and implementation scopes meaningfully overlap (both inspect mcp/registry/*.yaml + templates), but checklists differ enough to keep separate gates. One skill with two modes avoids duplicating registry parsing while keeping config (secret hygiene, version pinning) distinct from implementation (command injection, SSRF, tool poisoning).
Static only: Do not start or call remote MCP servers during audit. Inspect YAML/JSON, package provenance, tool descriptions, and env handling.
| Mode | What it checks | Evidence |
|---|---|---|
| Config audit | mcp/registry/*.yaml auth, package provenance, version pinning, remote vs local, OAuth, env/secret exposure, permissions | Registry YAML, template JSON, env var names, docs/MCP.md |
| Implementation audit | Command injection, shell execution, SSRF, unsafe args, tool description poisoning, secret env leakage, dangerous permissions, transport security | Skill SKILL.md + static surface patterns (shell/network/mcp/hooks), tool definitions, args validation, network_hosts |
Run the relevant mode per request; for full adoption review, run both and emit a single mcp-audit-report.md.
auth.env lists only env var names, never values (scan registry YAML for ghp_, xoxb, hardcoded tokens)config.template.json uses ${ENV_VAR} placeholders (no real credentials)streamable_http URL like https://mcp.figma.com/mcp) documents auth as bearer-env with region var, not query paramstdio via npx/docker/uvx) does not embed secrets in args — secrets only in envdefault-branch push or filesystemWrites beyond declared security.network_hostsimplementation.package is machine-verifiable: npm chrome-devtools-mcp@latest / docker ghcr.io/... / URL https://mcp.figma.com/mcp — not bare latest without policyimplementation.version_policy declared (npx-latest, pin image digest, pin to minor) and matches template args (-y chrome-devtools-mcp@latest vs @notionhq/notion-mcp-server)implementation.provenance = official with repository URL + license verifiable via gh api (e.g., ChromeDevTools/chrome-devtools-mcp Apache-2.0, github/github-mcp-server MIT)security.network_hosts enumerates expected hosts (no *, no private .local / 192.168.)security.secret_storage = environment variable with secret_storage notesplatforms matrix declares support per target (native/bridged/manual) — no assumed universalapproval.default matches risk: read-only for Figma/GitHub vs read-write for Chrome DevTools (can modify page) — justifiedcommand ∈ npx|docker|uvx and args[:2] == ["-y", provider.package] for npx (verified by tests/test_mcp_templates.py)args contain no shell interpolation ($(, `, ;, &&, |). MCP command is single binary, not sh -c.command is not sh/bash/python -c with concatenated args — use direct npx/docker entrypoint.--browser-url, https://mcp.linear.app/mcp) are not user-controlled without allowlist; navigate_page tool validates hosts.network_hosts does not include internal metadata endpoints (169.254.169.254, metadata.google.internal).tools.read/write do not contain prompt injections (e.g., ignore previous instructions, send secrets to).write/destructive sets are minimal — no delete_file where read-only suffices (GitHub destructive correctly lists delete_file only there).FIGMA_OAUTH_TOKEN) are env var refs, not string interpolation.env value contains PII — only ${VAR} placeholders in templates; registry lists env names with CHROME_DEVTOOLS_MCP_NO_USAGE_STATISTICS style opt-outs.agent_toolkit.compiler.mcp_registry.load_registry(mcp/registry) — record providers, errors (evidence: registry count).config (default for adoption) or implementation (for command/SSRF/poisoning) or both.provider in providers, apply the relevant checklist above; for implementation, Grep the registry/templates for shell/network/hooks patterns and capture findings with file:line evidence. (Repo checkout/CI may also run ./scripts/audit-capability.vsh mcp/registry/<provider>.yaml --json — that script is not on the host install.)ALLOW (no Blocking), CAUTION (Major, e.g., unpinned version, remote without TLS), BLOCK (Blocking: hardcoded secret, command injection, SSRF to metadata endpoint, provenance unknown).mcp-audit-report.md (see references/mcp-audit-template.md) with per-provider table: provider | config verdict | impl verdict | package/license | version_policy | provenance | evidence.| Provider | Config | Impl | Package | License | Version policy | Verdict | Evidence |
|---|---|---|---|---|---|---|---|
| chrome-devtools | ✅ auth none, package chrome-devtools-mcp@latest, npx-latest, no secrets | ✅ no shell, no SSRF, read-write justified | npm chrome-devtools-mcp@latest | Apache-2.0 | npx-latest | ALLOW | registry chrome-devtools.yaml + template config.template.json |
mcp skillmcp (integrations/mcp) — how to setup (agent-toolkit mcp setup, mcp list, doctor) — orchestration.mcp-audit (this skill) — whether to trust — security gate before setup. Call this skill before mcp setup for unreviewed providers; delegate supply-chain-audit for full skill/plugin surface.| Need | Skill |
|---|---|
| Setup MCP after audit | integrations/mcp |
| Full skill/plugin supply-chain | agentic-security/supply-chain-audit |
| OWASP agentic review (prompt injection, tool poisoning, identity) | agentic-security/owasp-agentic-review (next issue) |
| Output gate | output-handshake |
gh api for provenance license check, yaml + jsonschema offline.references/mcp-audit-template.md — report template (per-provider verdict)mcp/registry/*.yaml — canonical registry (7 providers after #375)mcp/templates/*/config.template.json — host wiring (placeholders)scripts/audit-capability.vshWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ulises-jeremias/agent-toolkit --plugin agent-toolkit-complete118 skills in this plugin
/adrWHAT — Create and maintain Architecture Decision Records (ADRs) per the process. Covers when to write an ADR, required sections, review, and linking to epics/PRs. English for cross-team artifacts unless the user asks otherwise./agreementWHAT - Capture explicit agreements, terms, parties involved, dates, validity, and linked work items using the Agreement Document structure./architecture-diagramWHAT — Create architecture diagrams of real systems as one self-contained HTML page. Default mode is an interactive, Lucidchart-style explainer built from a JSON model: nested containers (cloud, cluster, namespaces), service boxes with brand icons, numbered flows the reader selects one at a time (user access, operator access over a VPN or tailnet, CI/GitOps deploy, secrets, observability, data), hover cards, an inventory and a "not there yet" list, validated by a build script. Poster mode keeps the static dark HTML+SVG template with a PNG/PDF export toolbar. Also exports Mermaid, D2, draw.io, SVG or PNG. Use for system, infrastructure, cloud, deployment, network, access-flow or security topology diagrams delivered as a shareable visual artifact rather than in-repo text./arenaRun a cross-vendor multi-model candidate bakeoff in isolated git worktrees, apply blinded cross-vendor judging, graft winning elements, and emit candidate-SHA-bound evidence receipts./assistantAssistant — on any repo, scan README→docs→AGENTS→CONTRIBUTING→PR templates→task runners→devcontainer→CI→configs before code; cite sources; prefer AGENTS.md for agent behavior; portable across Cursor/Copilot/Claude; use agent-toolkit CLI when needed./audio-productionAudio inspection, loudness, cleanup and DAW workflows — FFmpeg loudnorm/volumedetect for measurable processing, REAPER (via MCP) for real sessions, OBS for capture. Preserves originals and native .rpp projects; never enables recording or microphones silently.Other plugins' skills for the same job