skill over mcp
Build an MCP server that serves skills (Skills over MCP, extension io.modelcontextprotocol/skills) with the official TypeScript SDK. Use when the user wants their MCP server to ship skills to Claude Code.
Documentation & Preview
--- name: skill-over-mcp description: Build an MCP server that serves skills (Skills over MCP, extension io.modelcontextprotocol/skills) with the official TypeScript SDK. Use when the user wants their MCP server to ship skills to Claude Code.
---
Serve skills from an MCP server
Skills over MCP lets a server deliver skills next to its tools. Claude Code 2.1.331 or later lists them as <server>:<skill>, and the user runs one by asking Claude or by typing /<server>:<skill>.
Steps
- Put each skill in its own folder:
skills/<name>/SKILL.md, plus any supporting files. The frontmatter needsname(equal to the folder name) anddescription. - Add
@modelcontextprotocol/server, pinned to 2.4.0 or later. It ships the extension in@modelcontextprotocol/server/ext/skills; import it as inreferences/server.md. - Load the skills once with
SkillsExtension.load(...)and callattach(server)on every server you create, before it connects. Seereferences/server.md. - Serve protocol revision 2026-07-28:
serveStdiofor stdio, orcreateMcpHandlerfor Streamable HTTP. Older clients still connect; they see no skills. - Test with the official client pinned to
2026-07-28:skills/listreturns each skill with a sha256 digest per file, andresources/readreturnsSKILL.md. - Test in an interactive
claudefrom a normal terminal:/mcpshowsProtocol: 2026-07-28andN skills, and/skillslists them.claude -p, the Agent SDK and cloud sessions do not load MCP skills.
Rules from Claude Code
- Up to 100 skills per server.
- In an MCP skill, Claude Code ignores
allowed-tools,hooks,model,effort,context,agent,paths,!commands,@references and${CLAUDE_PROJECT_DIR}. - Users can block or gate a server's skills with permission rules such as
Skill(mcp__<server>__*). - A server can change its skills at any time, so users should add only servers they trust. Keep each version reviewable.