On 23 October 2026, the official TypeScript MCP SDK released version 2.4.0 with support for the Skills over MCP extension (SEP-2640). A server can advertise an Agent Skills catalogue and serve its files through MCP resources; a client can discover the list and read the content it needs.
A Skill is not an executable tool or permission to operate your server. It is a directory of instructions and supporting files; the model or client decides how to apply that content within the tools it is allowed to use. The extension transports the material and metadata; it does not turn instructions into isolation or permissions.
Prepare the Skills directory
Each Skill has a directory whose name matches name in the SKILL.md frontmatter. Here is a minimal example:
skills/
└── publish-app/
├── SKILL.md
└── references/
└── checklist.md
---
name: publish-app
description: Review the steps for publishing a web app from Git.
---
# Publish an application
1. Check the framework, build command and output.
2. Review environment variables and secrets before deployment.
3. Test the temporary URL before connecting the final domain.
The Skills specification requires at least name and description. Keep instructions specific, with clear limits and links to useful references. Do not put secrets, credentials, customer data or system access in these files.
Serve the catalogue with SDK 2.4.0
The official API can load the directory with loadSkills and attach it to a server. Pin versions in your lockfile and review release notes: SkillsExtension.attach is marked experimental and may change in a minor release.
npm install --save-exact @modelcontextprotocol/server@2.4.0 @modelcontextprotocol/client@2.4.0 @modelcontextprotocol/node@2.1.2
An HTTP server can initialize a validated catalogue and attach it to each instance it creates:
import { createMcpHandler, McpServer } from '@modelcontextprotocol/server';
import { loadSkills } from '@modelcontextprotocol/server/ext/skills/node';
const catalog = await loadSkills('./skills', {
strict: true,
prefix: 'team',
});
export const handler = createMcpHandler(() => {
const server = new McpServer({ name: 'team-skills', version: '1.0.0' });
catalog.attach(server);
return server;
});
Adapt handler to your HTTP environment and protect the endpoint with suitable authentication. strict: true makes an invalid Skill stop the load with an error instead of silently serving a partial catalogue. If you manage dynamic files, reload the catalogue in a controlled way and tell clients to refresh their list.
What the client discovers and reads
The extension defines skills/list to discover entries and skills/get to request a specific Skill. Files are read as MCP resources, with URIs such as skill://team/publish-app/SKILL.md; supporting material can live in the same directory. The SDK checks files against the published catalogue and can handle pages when there are many entries.
The official extension works with MCP protocols 2025-11-25 and 2026-07-28. On the modern protocol, lists also include the cache metadata required by the specification. This does not mean every client already shows Skills in its UI: verify support for io.modelcontextprotocol/skills in the client you plan to use.
To test it, connect a compatible client or MCP Inspector to your server and confirm that:
- The connection lists the expected Skill.
- It can read
SKILL.mdand every reference in the catalogue. - A malformed Skill makes loading fail with
strict: true. - A client without access or permission cannot read private files.
- Logs contain no tokens or sensitive content.
Treat instructions as untrusted content
Before publishing a Skill, review every instruction and file as input that can influence a model. Content can ask an agent to call tools; publish only approved Skills, minimize available tools, separate read and write permissions, and require human confirmation for sensitive changes. Do not include executable scripts expecting the protocol to run them automatically: behavior depends on the host consuming the Skill.
Keep the catalogue in a read-only path for the server process. Avoid symlinks and special files; strict SDK loading helps detect structural problems, but it does not replace content review or process isolation. If the server must remain available over HTTP, it needs HTTPS, authentication, updates, backups and monitoring.
A VPS is an option when you want to operate that process and network yourself. For installation steps, see how to host an MCP server on a VPS. If you want an agent to read product instructions, distinguish that from Hostbrid MCP account-management tools.
Official sources
- TypeScript MCP SDK 2.4.0 release, published 23 October 2026; includes Skills over MCP and marks
attachexperimental. - SEP-2640: Skills Extension, final status and resource format.
- TypeScript SDK v2 Skills guide,
loadSkills,attach, validation and protocol support. - MCP specification 2026-07-28, the modern protocol revision.
Reviewed on 27 October 2026. The extension wiring may change while attach remains experimental; update and test the SDK before deploying a new Skill.