Borrowing it
Nothing to install: this file belongs to awdr74100/figwright. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/awdr74100/figwright/main/.claude/skills/mcp-sdk-audit/SKILL.mdgit clone --depth 1 https://github.com/awdr74100/figwrightWrote 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.
[](https://agentmods.dev/skills/awdr74100/figwright/mcp-sdk-audit)<a href="https://agentmods.dev/skills/awdr74100/figwright/mcp-sdk-audit"><img src="https://agentmods.dev/badge/skills/awdr74100/figwright/mcp-sdk-audit.svg" alt="Measured on agentmods" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00159 | $0.03560 |
| Opus 5 | $0.00079 | $0.01780 |
| Sonnet 5 | $0.00032 | $0.00712 |
| Haiku 4.5 | $0.00016 | $0.00356 |
Grade A, and why
mcp-sdk-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 8d 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.
How it starts
The opening of the file, as written. The whole thing — 229 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Absorbing a @modelcontextprotocol/server release into Figwright, end to end: audit → upgrade → prove
the wire contract is unchanged.
Do not reason about this the way figma-typings-audit reasons about plugin typings. That package
is types-only, so tsc is a real gate. This one is a runtime dependency: it serializes every
tool result, generates the JSON Schema for all ~112 tools, and negotiates the protocol version. A
release can leave every type identical and still change what clients see. pnpm typecheck will stay
green through it.
Unlike every other dependency here, this one has a dedicated gate — use it.
packages/mcp/test/e2e/mcp-wire.test.ts spawns the built dist over real stdio, speaks raw
JSON-RPC at it, and asserts the advertised contract against what the specs declare. It runs in
pnpm test. That gate answers did anything break; it does not answer what moved, which is what
an audit is for — Stage 5 covers the difference.
Know the one thing that gate cannot see. Its schema check compares the SDK's output against
test/tool-schema.ts's derivation, and both call the same z.toJSONSchema. That is independent of
the SDK — it catches an SDK that stops asking Zod the same question — but not of Zod: when Zod
changes what it answers, both sides move together and the equality still holds. An SDK bump that
also moves the resolved zod version (its range is ^4.2.0, so it shares the repo's copy) can
therefore reshape every client's schema with this gate green.
packages/mcp/test/json-schema-generation.test.ts covers that half by pinning each construct's
rendering by hand — if a bump moves the Zod version, read its diff too, and let probe.mjs name
which tools changed.
Target version: whatever the user named, otherwise the latest @modelcontextprotocol/server on npm.
Stage 0 — Resolve versions
grep '@modelcontextprotocol' packages/mcp/package.json # declared range
grep -m1 '@modelcontextprotocol/server@' pnpm-lock.yaml # what is installed
npm view @modelcontextprotocol/server version dist-tags --json # latest
gh api repos/modelcontextprotocol/typescript-sdk/releases --jq '.[0:15][] | "\(.tag_name)\t\(.published_at)"'
Figwright is on v2 — the package family (@modelcontextprotocol/server + its transitive
/core, with /client, /node, /express, /hono, /fastify, /server-legacy, /codemod
alongside). It depends on exactly one of them.
Two things the releases list will show that are not upgrades for us:
- Bare
1.30.0-style tags are the v1 legacy line (@modelcontextprotocol/sdk, source on the long-livedv1.xbranch). Figwright left it; a v1 tag is not our concern. @modelcontextprotocol/{client,express,fastify,hono,node,server-legacy,codemod}@Xtags ship on the same version number asserverbut are packages we do not install.
If installed and target are equal, say so and stop.
What ships with it
1 file 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.
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.
- 8d ago First seen · 229 lines · 159 tokens per session scan A 0fe1ab9da01a
mcp-sdk-audit is a skill published in the GitHub repository awdr74100/figwright (690 stars, last pushed yesterday), licensed MIT. It adds 159 tokens to every session and 3,560 once invoked, about $0.0008 per session on Opus 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-08-30.
Other skills, from other repositories
figma-design-handoff
Figma-to-code design handoff patterns including Figma Variables to design tokens pipeline, component spec extraction, Dev Mode inspection, Auto Layout to CSS Flexbox/Grid mapping, and visual regression with Applitools. Use when converting Figma designs to code, documenting component specs, setting up design-dev…
component-api-validator
Audit component APIs for consistency, breaking changes, TypeScript coverage, and contract compliance across a component library. Trigger when someone says: component prop review, verify component types are exported, component API audit, check our component interfaces, are our props consistent, API consistency check…
skmtc-retro-review
Aggregate friction log files across a time period to identify recurring patterns, classify each cluster by intervention type, produce a prioritized action plan with success criteria, and calculate convergence metrics. Complements skmtc-retro (which captures per-session signal) by acting as the system's actuator…
docs-writing
Write, restructure, or review documentation — tutorials, how-to guides, reference pages, concept/explanation docs, API references, READMEs, changelogs, release notes, and troubleshooting guides. Distills documentation craft from Mintlify's guides (compiled from technical writers at Stripe, GitHub, Amplitude, and…
favicon-exporter
Prepare and export favicon assets from Figma in common web sizes and formats.
icon-exporter
Export consistent icon assets from Figma with useful names and formats.