mcp-audit

mcp-audit is a skill for Claude Code, Codex from WRG-11/mcp-objauthz-lab. It costs 169 tokens per session (2,500 once invoked), scanned A, original, MIT.

A read-only review tool for an MCP server's collection of agent-callable tools. It examines their descriptions, names, results, errors, tests, and handling of separate users, then writes an evidence-based Markdown report.

In plain words
What is it for?
Use it to audit an MCP server before improving its tool descriptions, result formats, error handling, tests, or access controls.
Why use it?
It helps maintainers find tools that are hard for agents to discover, inconsistent, weakly tested, or unsafe across user accounts. Findings cite named evidence so later reviews can be compared.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to audit an MCP server before improving its tool descriptions, result formats, error handling, tests, or access controls.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wrg-11/mcp-objauthz-lab/mcp-audit
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add WRG-11/mcp-objauthz-lab --skill mcp-audit
Clone the repo
git clone --depth 1 https://github.com/WRG-11/mcp-objauthz-lab

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mcp-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/wrg-11/mcp-objauthz-lab/mcp-audit/github.svg)](https://agentmods.dev/skills/wrg-11/mcp-objauthz-lab/mcp-audit)
Your own site
<a href="https://agentmods.dev/skills/wrg-11/mcp-objauthz-lab/mcp-audit"><img src="https://agentmods.dev/badge/skills/wrg-11/mcp-objauthz-lab/mcp-audit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mcp-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/wrg-11/mcp-objauthz-lab/mcp-audit"><img src="https://agentmods.dev/badge/skills/wrg-11/mcp-objauthz-lab/mcp-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 169 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,500 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00169 $0.02500
Opus 5.5 $0.00068 $0.01000
Sonnet 5.5 $0.00034 $0.00500
Haiku 4.5 $0.00017 $0.00250

Measured 4d ago against content hash 8757d541e215, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mcp-audit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/mcp-audit/SKILL.md · 225 lines

How it starts

The opening of the file, as written. The whole thing — 225 lines — stays where its author put it; the contents beside it link to each section on GitHub.

mcp-audit

A repeatable, read-only review of an MCP server's tool surface. The output is a single Markdown report the maintainer can act on in one sitting: what each tool is, how well an agent can tell when to call it, where the surface disagrees with itself, what is untested or unused, and which few fixes to ship first.

The review scores tools on what can be checked in the source and the repository, not on taste. Every finding cites a finding_id from SEVERITY.md, so two audits of the same server can be compared row by row.

Axes

Per tool:

  1. Discoverability (1-5). Could an agent decide to call this tool from its description alone? 5 = trigger phrases, when-to-use guidance and the return shape; 1 = the description restates the function name.
  2. Return shape. Does the tool use the surface's common result shape, or an idiom of its own? Count the idiom families across the whole surface.
  3. Naming. One case convention, a shared domain prefix where the surface has families (memory_*, issue_*), one verb per operation.
  4. Error handling. How each tool reports a failure: it raises, returns a structured error, or says nothing.
  5. Test coverage. A test that goes through the MCP layer, a test of the underlying function only, a smoke call with no assertions, or nothing.
  6. Decay. Mentioned in the CHANGELOG, in the README or docs, imported by any consumer, exercised by any test. A tool with none of the four is a decay candidate.

Per surface, when it applies:

  1. State handling - servers that keep state across calls (files, a database, an in-memory store): atomic writes, a serialiser around load-mutate-save, persistence across a restart, state one tool can see that another wrote.
  2. Object-level authorization - servers that serve more than one tenant, user or project: does every tool that resolves an object by id check that the caller may touch that object? See Authorization axis.

When to use it

Read the full file on GitHub · 225 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 225 lines · 169 tokens per session scan A 8757d541e215

Subscribe to this mod's changes

mcp-audit is a skill published in the GitHub repository WRG-11/mcp-objauthz-lab (0 stars, last pushed 2d ago), licensed MIT. It adds 169 tokens to every session and 2,500 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-20.

Related

Other skills, from other repositories

clinical-trial-protocol-skill

Generate clinical trial protocols for medical devices or drugs. This skill should be used when users say "Create a clinical trial protocol", "Generate protocol for [device/drug]", "Help me design a clinical study", "Research similar trials for [intervention]", or when developing FDA submission documentation for…

Agent-Threat-Rule/agent-threat-rules · 70 tokens

claude-d3js-skill

This skill provides guidance for creating sophisticated, interactive data visualisations using d3.js.

Agent-Threat-Rule/agent-threat-rules · 25 tokens

adr-skill

Create and maintain Architecture Decision Records (ADRs) optimized for agentic coding workflows. Use when you need to propose, write, update, accept/reject, deprecate, or supersede an ADR; bootstrap an adr folder and index; consult existing ADRs before implementing changes; or enforce ADR conventions. This skill uses…

Agent-Threat-Rule/agent-threat-rules · 89 tokens

terraform-skill

Terraform infrastructure as code best practices.

Agent-Threat-Rule/agent-threat-rules · 10 tokens

create-auth-skill

Scaffold and implement authentication in TypeScript/JavaScript apps using Better Auth. Detect frameworks, configure database adapters, set up route handlers, add OAuth providers, and create auth UI pages. Use when users want to add login, sign-up, or authentication to a new or existing project with Better Auth.

Agent-Threat-Rule/agent-threat-rules · 66 tokens

prior-auth-review-skill

Automate payer review of prior authorization (PA) requests. This skill should be used when users say "Review this PA request", "Process prior authorization for [procedure]", "Assess medical necessity", "Generate PA decision", or when processing clinical documentation for coverage policy validation and authorization…

Agent-Threat-Rule/agent-threat-rules · 63 tokens