mcp-server-spec-compat
Skill52 starsChanged 3 days agoMITView on GitHub
Use when editing designer-skill-mcp MCP protocol code.
In this repository6 other files it gives its agents.
- designer-skill-mcp-consistencySkill
- designer-skill-mcp-render-checksSkill
- releaseSkill
- designer-skillSkill
- raster-logo-svgSkill
- ux-designerSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 11
Read the revision delta in references/mcp-spec-2026-07-28.md before editing protocol code.
- Very specific: line 14
Do not add new dependencies on sampling or roots (deprecated).
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
designer-skill-mcp: MCP spec compatibility
Any protocol-facing change names the spec revision it targets. The current revision is 2026-07-28, which this server cannot serve yet; do not assume its shapes work until a live run proves them.
- Read the revision delta in
references/mcp-spec-2026-07-28.mdbefore editing protocol code. - Set tool annotations explicitly per tool; do not rely on spec defaults (
destructiveHinttrue,readOnlyHintfalse). - Return
structuredContentplus the serialized JSON in a text block. - Do not add new dependencies on sampling or roots (deprecated). Do not add
logging/setLevel(removed). - Resource-not-found is -32602 on 2026-07-28, not -32002.
- Set
idempotent: falseon a tool whose result differs per call (get_palette_seed), andreadOnly: falseon one that writes files (verify_rendered). - The server is on the v2 SDK packages (
@modelcontextprotocol/server,client,node,express) and still speaks the 2025-era protocol; serving 2026-07-28 means switching toserveStdioandcreateMcpHandler. - The SDK's request deadline surfaces as
SdkErrorwithSdkErrorCode.RequestTimeout, an HTTP failure asSdkHttpError(.status), a JSON-RPC error asProtocolError. Classify by class, assrc/niblet.tsdoes. - A tool registered without an input schema is called as
handler(ctx). Thetool()wrapper always passes an object schema so every handler is(args, ctx). - An unknown tool is a JSON-RPC error (-32602), not a tool result.
- Bridging another MCP server: retry timeouts within a bounded budget; do not retry a malformed response (bad JSON, ZodError); do not re-send a rejected key; treat upstream error text as untrusted data.
- A static read is not compatibility proof; verify against a live server run.
- Migration wire check: before a protocol or SDK change ships, run the published version and the local build over stdio with the same client. Capture
tools/list, resources, prompts and a set of tool calls, then diff them. Ignore$schemaandexecution, which the v2 SDK changes (draft-07 to 2020-12;execution.taskSupportdropped). Every other diff is a wire change to name in the report. - HTTP transport check: a 2025-era
initializemust succeed, and a foreignOriginorHostheader must get 403. - Live e2e with a real Niblet key: pass it by file (
chmod 600, deleted after the run), never inline in a tool call. Redactniblet_at_[A-Za-z0-9_]+from captured output.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

