mcp-spec-compliance

mcp-spec-compliance is a skill for Codex from Agent-Hellboy/mcp-runtime. It costs 148 tokens per session (4,117 once invoked), scanned C, original, Apache-2.0.

An audit of MCP Runtime against the Model Context Protocol specification, the shared rules for MCP clients and servers.

In plain words
What is it for?
Use it to check protocol behavior, detect drift when the specification changes, and confirm findings with live requests.
Why use it?
It finds differences in version negotiation, message formats, HTTP transport, sessions, errors, and advertised capabilities.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: positional $N argument; mentions Codex.

Good fit Use it to check protocol behavior, detect drift when the specification changes, and confirm findings with live requests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agent-hellboy/mcp-runtime/mcp-spec-compliance
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 Agent-Hellboy/mcp-runtime --skill mcp-spec-compliance
Clone the repo
git clone --depth 1 https://github.com/Agent-Hellboy/mcp-runtime

Made for: 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-spec-compliance

README.md
[![agentmods](https://agentmods.dev/badge/skills/agent-hellboy/mcp-runtime/mcp-spec-compliance/github.svg)](https://agentmods.dev/skills/agent-hellboy/mcp-runtime/mcp-spec-compliance)
Your own site
<a href="https://agentmods.dev/skills/agent-hellboy/mcp-runtime/mcp-spec-compliance"><img src="https://agentmods.dev/badge/skills/agent-hellboy/mcp-runtime/mcp-spec-compliance/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-spec-compliance

Your own site · 80×15
<a href="https://agentmods.dev/skills/agent-hellboy/mcp-runtime/mcp-spec-compliance"><img src="https://agentmods.dev/badge/skills/agent-hellboy/mcp-runtime/mcp-spec-compliance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 148 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,117 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.00148 $0.04117
Opus 5.5 $0.00059 $0.01647
Sonnet 5.5 $0.00030 $0.00823
Haiku 4.5 $0.00015 $0.00412

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

Security

Grade C, and why

mcp-spec-compliance scanned grade C with 2 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 3mo 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

trap 'rm -rf "$MCP_SPEC_TMP"' EXIT

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

[ -s "$out" ] || curl -fsSL "$url" -o "$out"
.codex/skills/mcp-spec-compliance/SKILL.md · 359 lines

How it starts

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

MCP Spec Compliance Audit

Overview

This skill audits MCP Runtime — the proxy/gateway, example servers, agent adapters, and the CLI probe — against the upstream Model Context Protocol specification at https://github.com/modelcontextprotocol/modelcontextprotocol. The spec is versioned (2024-11-05, 2025-03-26, 2025-06-18, draft); the runtime currently pins 2025-06-18 (see internal/agentadapter/config.go: DefaultProtocolVersion).

Goals:

  • Confirm the runtime correctly implements the spec revision it claims to support — protocol-version negotiation, Streamable HTTP, JSON-RPC 2.0 envelope, tools/resources/prompts/sampling shapes, session semantics, error codes, and capability advertisement.
  • Detect drift from the upstream schema (fields renamed, fields removed, required-fields changes) when bumping pinned revision.
  • Surface relevant merged SEPs and open SEP PRs that affect runtime behavior.
  • Distinguish "spec says X, runtime does X" from "spec says X, runtime does Y" from "spec is silent, runtime does Y by choice."

Regression evidence contract: static schema/code checks are only half of this skill. For protocol-affecting changes, run live initialize, positive tools/call, and malformed/unsupported-version negative cases against the Kind cluster. If upstream fetch or live transport checks cannot run, report the result blocked for that surface.

Non-goals:

  • Auth/grant/session policy enforcement → qa-e2e-security.
  • Operator/CLI/setup regressions → qa-e2e-operations.
  • Cluster RBAC/PSS hygiene → k8s-hardening-audit.

Step 1 — Pin the spec revision under audit

SPEC_REPO="${SPEC_REPO:-https://github.com/modelcontextprotocol/modelcontextprotocol}"
SPEC_REV="${SPEC_REV:-$(grep -oE '"20[0-9]{2}-[0-9]{2}-[0-9]{2}"' \
  internal/agentadapter/config.go | head -1 | tr -d '"')}"
SPEC_REF="${SPEC_REF:-main}"     # upstream branch or tag to fetch from
echo "Auditing runtime against MCP spec rev=$SPEC_REV @ ref=$SPEC_REF"

Read the full file on GitHub · 359 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. 3mo ago First seen · 359 lines · 148 tokens per session scan C 92ebc3d69b55

Subscribe to this mod's changes

mcp-spec-compliance is a skill published in the GitHub repository Agent-Hellboy/mcp-runtime (6 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 148 tokens to every session and 4,117 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

mcp-spec-compliance compared with skills from other repositories

mcp-spec-compliance next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mcp-spec-complianceAgent-Hellboy/mcp-runtimeSkill62mo agoApache-2.0C148Codex
debugagentic-community/mcp-gateway-registrySkill1.1ktodayApache-2.0A45Claude Code
1mcp-preparation-setup1mcp-app/agentSkill5405d agoApache-2.0A64Claude Code, Codex
taskade-build-apptaskade/mcpSkill1704d agoMITA154Claude Code
taskade-repo-to-projecttaskade/mcpSkill1704d agoMITA190Claude Code
1mcp-cli1mcp-app/agentSkill5405d agoApache-2.0A54Claude Code
taskade-clone-kittaskade/mcpSkill1704d agoMITA152Claude Code