mcp-typescript-sdk-skills

Installation
SKILL.md

Skills over MCP with the TypeScript SDK

Skills over MCP lets an MCP server publish agent skills (folders with a SKILL.md) and lets clients list, verify and load them. In v2 of the TypeScript SDK it ships as the ext/skills subpaths of @modelcontextprotocol/server and @modelcontextprotocol/client.

The goal is working, verified code in the user's project. Use only the APIs shown here and in the references, and skip explaining the protocol unless the user asks.

Which side the project is on

Read package.json and the source before writing anything:

  • Server: depends on @modelcontextprotocol/server and creates an McpServer, directly or in a factory passed to serveStdio or createMcpHandler. It publishes skills: follow Serve skills.
  • Client or host: depends on @modelcontextprotocol/client and creates a Client. It loads skills from the servers it connects to: follow Use skills.
  • Both (a host that also runs a server, a gateway): follow both, each against its own code. A Client that exists only in the project's tests does not make it a host: that is where Verify runs.
  • v1 (@modelcontextprotocol/sdk): Skills over MCP exists only in v2. Upgrade first with the mcp-typescript-sdk-upgrade-to-v2 skill, then come back.

Check that the installed SDK has skills

Skills over MCP ships in the ./ext/skills export of the v2 packages, and an import of a subpath the installed package lacks fails only at build or run time. Check first, from the package that depends on the SDK (use client in place of server for a client):

Installs
11
GitHub Stars
13.8K
First Seen
Oct 27, 2026