An MCP server gives an agent tools. A skill tells the agent how to use them well. Until now they travelled separately: my server was at a URL, and my skill was a file each user had to copy into ~/.claude/skills. On 2026-11-24 Anthropic shipped "Skills over MCP": the server publishes the skill, and Claude Code shows it as a slash command named after the server. I moved both of my servers (AimYear, a goal tracker in TypeScript, and worklore, a Python Lambda) to it over two days, with Claude Code doing the building.
What I didn't expect:
- It needs a different MCP protocol version, not just a new method. Skills live in the 2026-07-28 revision, the stateless one that starts with
server/discoverinstead ofinitialize. The TypeScript SDK 1.x (up to 1.32.2) can't serve it. The v2 package@modelcontextprotocol/server2.4 can. I kept 1.x for every old client and sent only 2026-07-28 requests to v2, on the same endpoint. - The new protocol was already knocking, and both servers said no. From November 1 to 26, before I changed anything, each server got about 2,000
server/discoverrequests and refused every one: AimYear with 401, because discovery wasn't on its no-sign-in list, and worklore with "method not found". Most came from MCP directories and crawlers (one collector alone sent over 800 to each). The rest were real clients: Claude Code since 2026-11-16 (version 2.1.323), Devin CLI, OpenAI's MCP client and Anthropic's Claude-User agent. Seven minutes after the AimYear deploy, my own Claude Code 2.1.332 calledserver/discoverandskills/listand got the skill. Discovery and skill reading have to work without a sign-in, or nobody sees the skill. - Once discovery answers, Claude Code moves every call to the new path, not only the skill calls. On the Python server I added an environment switch that turns the new path off without a deploy.
- My own local copy was the stale one. After the deploy I had
/aim(my installed file, from October) and/aimyear:aim(from the server). The local copy was missing two rules I had added since. I deleted it. Now the server is the only copy, and a deploy updates everyone within 5 minutes (the cache time I set).
Selecting /aimyear:aim runs no code. Claude Code reads skill://aim/SKILL.md from the server, checks its sha256, and puts the text into the chat as the command.
Check if this applies to you
Applies if: you run a remote MCP server over Streamable HTTP and want Claude Code users to get your skill from it.
Send one request without any credentials (replace the URL):
curl -s -X POST https://YOUR-SERVER/mcp \
-H 'content-type: application/json' -H 'accept: application/json, text/event-stream' \
-H 'mcp-protocol-version: 2026-07-28' -H 'mcp-method: server/discover' \
-d '{"jsonrpc":"2.0","id":1,"method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/protocolVersion":"2026-07-28","io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"check","version":"1"}}}}'
Has the problem: a 401, a "method not found" error, or a result without io.modelcontextprotocol/skills under capabilities.extensions. Claude Code then can't show your skill.
Doesn't have it: a result whose supportedVersions includes 2026-07-28 and whose capabilities.extensions has io.modelcontextprotocol/skills.
Reproduce this
Prerequisites: a remote MCP server you can deploy; a skill as one SKILL.md with YAML frontmatter name and description; Claude Code new enough to list server skills (/mcp shows them).
Your agent will need from you: the server's code and deploy command, and which methods your server lets through without a sign-in.
Steps:
- Read the extension spec: https://github.com/modelcontextprotocol/ext-skills (
specification/beta/skills.mdx, SEP-2640) and Claude Code's limits in https://code.claude.com/docs/en/mcp ("MCP skill limitations": 100 skills per server, 100 KB per text file, 400 KB per skill). - Keep one source for the skill text. If your server already serves the same text as a prompt or resource, build the skill file from that same string, so the two never drift.
- Serve revision 2026-07-28 next to your current one. TypeScript: add
@modelcontextprotocol/server2.x, route requests with itsisLegacyRequest()(legacy requests stay on your 1.x handler, unchanged), serve the rest withcreateMcpHandler, and publish the skill withSkillsExtension.load(memorySkillFiles({'<name>/SKILL.md': text}), {strict: true})from@modelcontextprotocol/server/ext/skills. No SDK (Python and others): answerserver/discoverwithsupportedVersions: ["2026-07-28"]andcapabilities.extensions["io.modelcontextprotocol/skills"], implementskills/listandskills/get, and serveskill://<name>/SKILL.mdthroughresources/read. Compute each file's sha256 and size from the exact bytesresources/readreturns, and make the frontmatter inskills/listidentical to the file's. - Let
server/discover,skills/list,skills/get,resources/readandresources/directory/readanswer without a sign-in. Keeptools/callbehind it on both protocol versions. - Keep a way back: once discovery answers, Claude Code sends all its calls the new way. An environment switch that disables the 2026-07-28 path is cheaper than a redeploy.
- Deploy, then remove any locally installed copy of the same skill, so users don't get two commands with the same description.
Verify:
- The curl in "Check if this applies to you" returns
supportedVersionswith2026-07-28and the skills extension. - The same request with method
skills/listreturns yourskill://<name>/SKILL.md, and an oldinitializewithprotocolVersion2025-06-18 still returns your server info as before. - In a new Claude Code session,
/mcpshows the server, the slash menu shows/<server-name>:<skill-name>, and selecting it puts your SKILL.md text into the chat.