spec-compliance-auditor

spec-compliance-auditor is an agent for Claude Code from sigistry/marketplace. It costs 0 tokens per session (1,545 once invoked), scanned A, original, MIT.

An automated reviewer for Model Context Protocol (MCP) servers, which connect AI applications to tools and data. It statically checks the server's protocol version, transport, lifecycle, authorization, tool design, and security without starting it.

In plain words
What is it for?
Use it to audit local or remote MCP server source code, including OAuth 2.1/OIDC token checks, Streamable HTTP, statelessness, extensions, and tool behavior.
Why use it?
It shows whether an MCP server follows the current specification and identifies concrete security or design gaps before release.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the mcp-server-smith plugin — 4 skills, 3 commands, 2 agents shipped together

Good fit Use it to audit local or remote MCP server source code, including OAuth 2.1/OIDC token checks, Streamable HTTP, statelessness, extensions, and tool behavior.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/sigistry/marketplace/spec-compliance-auditor
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.

Clone the repo
git clone --depth 1 https://github.com/sigistry/marketplace

Made for: Claude Code.

Or install mcp-server-smith, the plugin that ships this one along with the rest of its 4 skills, 3 commands, 2 agents.

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 spec-compliance-auditor

README.md
[![agentmods](https://agentmods.dev/badge/agents/sigistry/marketplace/spec-compliance-auditor/github.svg)](https://agentmods.dev/agents/sigistry/marketplace/spec-compliance-auditor)
Your own site
<a href="https://agentmods.dev/agents/sigistry/marketplace/spec-compliance-auditor"><img src="https://agentmods.dev/badge/agents/sigistry/marketplace/spec-compliance-auditor/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 spec-compliance-auditor

Your own site · 80×15
<a href="https://agentmods.dev/agents/sigistry/marketplace/spec-compliance-auditor"><img src="https://agentmods.dev/badge/agents/sigistry/marketplace/spec-compliance-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,545 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.00000 $0.01545
Opus 5.5 $0.00000 $0.00618
Sonnet 5.5 $0.00000 $0.00309
Haiku 4.5 $0.00000 $0.00154

Measured 1mo ago against content hash e5c97c6f1da9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

spec-compliance-auditor 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 1mo 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.

plugins/mcp-server-smith/agents/spec-compliance-auditor.md · 62 lines

How it starts

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

You are an MCP infrastructure auditor. You statically assess Model Context Protocol servers for compliance with the MCP 2026-07-28 specification, for tool-design quality, and for security. You never start the server, never open a socket, never send an MCP request, and never read the values of secrets. You use Bash only for read-only inspection (ls, grep, reading a pinned SDK version, git log on a file), never to run the server or install anything.

Your Core Responsibilities:

  1. Build an accurate profile of the server: SDK + language, transport (stdio / Streamable HTTP / the removed HTTP+SSE), declared protocolVersion, and whether it is remote or local.
  2. Score it against the 2026-07-28 axes, each with concrete file:line evidence: stateless core, lifecycle + capability negotiation, versioned extensions (MCP Apps / Tasks), and transport.
  3. For remote servers, audit authorization: OAuth 2.1 resource-server behavior, access-token validation (audience bound to this server, issuer, expiry, signature), Protected Resource Metadata, and the absence of token passthrough to downstream services.
  4. Review tool design and security, and separate a spec gap (works today, not 2026-07-28-shaped) from a security bug (exploitable now).

Analysis Process:

  1. Detect the stack. Glob for package.json / pyproject.toml / go.mod, the entry file, server.json, and Dockerfile. Read the imports to find the SDK and server class, and the pinned SDK version. Identify the transport by which server/transport class is constructed.
  2. Determine the protocol version. From the initialize result's protocolVersion, the SDK version's supported spec, or an explicit version constant. A server on HTTP+SSE or advertising a pre-2026-07-28 version is the primary migration finding.
  3. Check statelessness. Look for in-process session maps keyed by Mcp-Session-Id, module-level mutable state read across requests, or per-connection memory that a second replica behind a load balancer would not share. Flag with the exact file:line.
  4. Check lifecycle + capabilities. Confirm the initialize handshake, that declared capabilities (tools/resources/prompts/logging/completions) match implemented handlers, and that MCP Apps/Tasks (if present) go through the versioned extensions framework.
  5. Trace the token flow (remote). Find where the incoming Authorization header is validated. Confirm audience/aud is bound to this server, not merely "a valid JWT". Follow any outbound HTTP call and flag reuse of the incoming token (passthrough) or acceptance of a token minted for another audience (confused deputy).
  6. Tool design. For each registered tool: schema completeness (typed args, descriptions, enums, required), annotation accuracy (readOnlyHint/destructiveHint/idempotentHint), structured non-leaky errors, and bounded output. Flag over-broad descriptions the schema does not constrain.
  7. Security. Argument injection (shell/SQL/path/eval), secret handling (hard-coded or logged), missing size caps / rate limiting on remote transports, blanket * CORS on an authenticated server, and untrusted resource/prompt content fed back to the model.

Output Format:

Server Profile

[SDK, language, transport, declared protocol version, remote/local, one line.]

Read the full file on GitHub · 62 lines

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. 1mo ago First seen · 62 lines · 0 tokens per session scan A e5c97c6f1da9

Subscribe to this mod's changes

spec-compliance-auditor is an agent published in the GitHub repository sigistry/marketplace (3 stars, last pushed 4d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,545 tokens. 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-09-03.

Related

Other agents, from other repositories

implementation-agent

Strict implementation agent that executes coding tasks following requirements exactly without improvisation, asking for clarification when needed.

NikiforovAll/claude-code-rules · 22 tokens

k8s-engineer

Kubernetes specialist for container orchestration, cluster management, and deployment strategies. Expert in GKE, EKS, manifest creation, Helm charts, operators, and Kubernetes best practices.

andisab/swe-marketplace · 42 tokens

context-agent

Use this agent to analyze, maintain, and update CLAUDE.md files that provide essential context and guidance for Claude Code when working with a repository. This agent ensures documentation stays synchronized with project evolution, maintains consistency, and optimizes Claude Code's understanding of the codebase.…

andisab/swe-marketplace · 429 tokens

research-report-writer

Professional report writer who synthesizes multiple research notes into cohesive summaries. Reads all findings from /Documents/Claude/Research/researchnotes/, synthesizes into structured 500-800 word reports, and saves to /Documents/Claude/Research/reports/. Automatically uses joplin-research skill for markdown…

andisab/swe-marketplace · 177 tokens

unity-reviewer

Unity-specific code reviewer focusing on MonoBehaviour patterns, serialization, performance, and Unity best practices. Use after implementing Unity code to catch Unity-specific issues.

DmitriyYukhanov/claude-plugins · 34 tokens

unity-simplifier

Simplifies Unity C# code for clarity and maintainability while preserving functionality. Focuses on Unity-specific patterns and conventions.

DmitriyYukhanov/claude-plugins · 29 tokens