To ship MCP skills from your own server, load your skills folder with the TypeScript SDK, attach it, and serve it with serveStdio. Don't connect it with StdioServerTransport: that speaks an older protocol, and Claude Code needs the newer one. Register the server with claude mcp add and each skill appears as <server>:<skill>. We'd pilot it for skills teams copy between repos, and keep CI skills in the repo.
Skills can tell Claude to run code, and a server can change them at any time. Decide who may add servers before you roll this out; AI in the engineering workflow: tools, permissions and policy covers that side.
What you'll build
A TypeScript MCP server called team-tools that serves two skills, release-notes (with a references/FORMAT.md file) and commit-style. You'll add a check script that lists and verifies them without Claude, then run /team-tools:release-notes in Claude Code. Plan on about 30 minutes. The steps use TypeScript only. The server has no tools, because skills are the point.
Here's the project when you're done:
team-tools/
├── package.json
├── tsconfig.json
├── .gitignore
├── node_modules/ # created by npm install
├── build/ # created by npm run build
├── src/
│ ├── server.ts # serves the skills folder over stdio
│ ├── check.ts # lists and verifies skills as a client
│ ├── live.ts # optional: sees a skill added while running
│ └── strict.ts # CI check that rejects a broken skill
├── skills/
│ ├── commit-style/
│ │ └── SKILL.md
│ └── release-notes/
│ ├── SKILL.md
│ └── references/
│ └── FORMAT.md
└── fixtures/
├── code-review/
│ └── SKILL.md
└── broken/
└── bad-name/
└── SKILL.mdAnd the check script's output, which you'll produce in step 3:
supported: true
skill://commit-style/SKILL.md commit-style 1 file(s)
skill://release-notes/SKILL.md release-notes 2 file(s)
verified: trueWhy bother? Take an example team (invented, for scale): 12 engineers, six repos, and a release-notes skill copied into each repo's .claude/skills. Adding a "Breaking" group to the format means six pull requests. Served from team-tools, it's one edit to one SKILL.md. Anthropic's launch note says skills update with the server, so every session gets the new format. In Manual mode, Claude Code's docs say you approve the changed version once before Claude uses it.
What you need before you start
You need a sign-in that turns the feature on, a Claude Code that has it, and a current Node. The sign-in trips people up, so check it first.
- A sign-in that has MCP skills on. Claude Code's MCP docs list Pro, Max and Ultra
/loginand long-lived tokens as on. Team or Enterprise/loginis off until your org turns it on, and an API key or Console login is "rolling out" and off now. Anthropic's launch note adds that Enterprise is "coming soon". Checked 25 November 2026. - Node.js 22 or newer. The SDK's floor is Node 20, which is past end of life.
- A macOS or Linux shell. On Windows, use WSL, because the commands use
$(pwd)andcp -r. - Claude Code v2.1.331 or later. MCP skills are in public beta.
- A supported model: the Fable model, or Claude Opus 4.8, Sonnet 5, Haiku 5.5, or later. The connection must go straight to Anthropic, with feature flag fetching on (for example,
DISABLE_TELEMETRYunset). Cloud providers and a customANTHROPIC_BASE_URLaren't supported.
You won't need an API key: the project has no secrets, so there are no .env files.
Quickstart
Already run a TypeScript MCP server? This file is the whole change: load a skills/ folder of skill folders, attach it, and serve with serveStdio (for HTTP, see the last Next steps bullet). Install the server package, save this as src/server.ts, build, and register it:
npm install @modelcontextprotocol/server@^2.4.0import { fileURLToPath } from "node:url";
import { McpServer } from "@modelcontextprotocol/server";
import { serveStdio } from "@modelcontextprotocol/server/stdio";
import { loadSkills } from "@modelcontextprotocol/server/ext/skills/node";
const skillsDir = fileURLToPath(new URL("../skills", import.meta.url));
const skills = await loadSkills(skillsDir, {
onWarning: ({ path, message }) => console.error(`skills: ${path}: ${message}`),
});
serveStdio(() => {
const mcp = new McpServer({ name: "team-tools", version: "1.0.0" });
skills.attach(mcp);
return mcp;
});npx tsc && claude mcp add --transport stdio team-tools -- node "$(pwd)/build/server.js"Starting from nothing? Step 1 builds the whole project. Three things to get right either way:
- Serve with
serveStdio, notStdioServerTransport, or Claude Code won't load the skills. - Each skill folder's name must equal the
namein itsSKILL.mdfrontmatter. - Give
claude mcp addan absolute path to the built server.
How to serve team skills from an MCP server
1. Create the project and the skill fixtures
Create the folder, the config files, one dependency install, and every skill file the later steps use. Nothing is added after this step.
In a terminal, from wherever you keep projects:
mkdir team-tools && cd team-tools
mkdir -p src skills/release-notes/references skills/commit-style fixtures/code-review fixtures/broken/bad-nameCreate package.json. The versions are pinned to the SDK line this tutorial was written against, because the way attach wires a skills extension to a server is marked experimental and may change in a minor release:
{
"name": "team-tools",
"version": "1.0.0",
"private": true,
"type": "module",
"scripts": {
"build": "tsc"
},
"dependencies": {
"@modelcontextprotocol/client": "^2.4.0",
"@modelcontextprotocol/server": "^2.4.0"
},
"devDependencies": {
"@types/node": "^22.0.0",
"typescript": "^5.0.0"
}
}Create tsconfig.json:
{
"compilerOptions": {
"target": "ES2022",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"strict": true,
"skipLibCheck": true,
"outDir": "build",
"rootDir": "src"
},
"include": ["src"]
}Create .gitignore:
node_modules
buildNow the skills. A folder containing a file named exactly SKILL.md is a skill, and the name in its frontmatter must match the folder name. Create skills/release-notes/SKILL.md:
---
name: release-notes
description: Draft release notes from a list of merged changes in the team format. Use when asked for release notes or a changelog entry.
---
# Release notes
Turn the list of changes you are given into release notes.
Follow the layout in references/FORMAT.md exactly.
Write one line per change, in plain language, and leave out internal refactors.Create skills/release-notes/references/FORMAT.md:
# Release notes format
Start with a heading: `## <version> (<date>)`.
Then up to three groups, in this order, skipping empty ones: Added, Changed, Fixed.
Each change is one bullet that starts with a verb.Create skills/commit-style/SKILL.md:
---
name: commit-style
description: Write commit messages in the team style. Use when committing or reviewing commit messages.
---
# Commit style
Write the subject in the imperative mood and keep it under 72 characters.
Use the body to explain why the change was made, not what the diff already shows.Two more skills are fixtures for later steps. Create fixtures/code-review/SKILL.md, the skill you'll add while the server runs in step 6:
---
name: code-review
description: Team review checklist.
---
Check tests first.Create fixtures/broken/bad-name/SKILL.md, which has a deliberately wrong name for step 7:
---
name: wrong-name
description: A skill whose name does not match its folder.
---
This skill is broken on purpose.Install everything, in the same terminal from team-tools/:
npm installCheckpoint:
npm ls @modelcontextprotocol/server
find skills fixtures -name SKILL.md | sortYou should see something like:
team-tools@1.0.0 /home/you/team-tools
└── @modelcontextprotocol/server@2.4.0
fixtures/broken/bad-name/SKILL.md
fixtures/code-review/SKILL.md
skills/commit-style/SKILL.md
skills/release-notes/SKILL.mdIf find lists fewer than four files, check the spelling: only a file named exactly SKILL.md counts, and the SDK warns about near misses.
2. Serve the skills folder with serveStdio
Create src/server.ts. It loads every skill folder under skills/, attaches the catalog to an MCP server, and serves it over stdio.
import { fileURLToPath } from "node:url";
import { McpServer } from "@modelcontextprotocol/server";
import { serveStdio } from "@modelcontextprotocol/server/stdio";
import { loadSkills } from "@modelcontextprotocol/server/ext/skills/node";
const skillsDir = fileURLToPath(new URL("../skills", import.meta.url));
const skills = await loadSkills(skillsDir, {
onWarning: ({ path, message }) => console.error(`skills: ${path}: ${message}`),
});
serveStdio(() => {
const mcp = new McpServer({ name: "team-tools", version: "1.0.0" });
skills.attach(mcp);
return mcp;
});Here's the trap this whole article is about. The TypeScript SDK's stdio guide says serveStdio replaces the older pairing of new StdioServerTransport() and server.connect(transport). The older path serves the 2025 protocol, and serveStdio serves 2026-07-28 and, by default, 2025-era clients too. Claude Code's docs require 2026-07-28 or later for skills. We ran both against Claude Code 2.1.332 with claude --debug=mcp, and it logged these lines, first for StdioServerTransport, then for serveStdio:
"protocolEra":"legacy","negotiatedProtocolVersion":"2025-11-25"
"protocolEra":"modern","negotiatedProtocolVersion":"2026-07-28"A server on the first line still lists its skills to an SDK client, so your own tests pass, but Claude Code's docs require 2026-07-28 or later for skills.
Checkpoint, from team-tools/:
npm run build
ls build/server.jsYou should see something like:
> team-tools@1.0.0 build
> tsc
build/server.jsIf tsc can't resolve @modelcontextprotocol/server/stdio, check that module and moduleResolution are both NodeNext in tsconfig.json.
3. Add a check script that lists and verifies skills
Test the server without Claude Code first. Create src/check.ts, a small MCP client that spawns your built server, lists its skills, and reads one reference file.
import { Client } from "@modelcontextprotocol/client";
import { StdioClientTransport } from "@modelcontextprotocol/client/stdio";
import { SkillsClient } from "@modelcontextprotocol/client/ext/skills";
const client = new Client({ name: "skills-check", version: "1.0.0" });
await client.connect(new StdioClientTransport({ command: "node", args: ["build/server.js"] }));
const skills = new SkillsClient(client, { skipInvalid: true });
console.log("supported:", skills.supported);
const { skills: entries } = await skills.list();
for (const e of entries) console.log(e.uri, e.frontmatter.name, `${e.resources === "dynamic" ? "dynamic" : e.resources.length} file(s)`);
const rn = entries.find((e) => e.frontmatter.name === "release-notes");
if (rn) { const f = await skills.read(rn, "references/FORMAT.md"); console.log("verified:", f.verified); }
await client.close();The SDK's client guide describes SkillsClient. skipInvalid skips a bad skill instead of throwing. read checks the file's size, its SHA-256 digest and its frontmatter against what the server listed, which is the same check a host does before it trusts a skill. The resources count includes SKILL.md itself, which is why release-notes shows two files.
Checkpoint:
npm run build && node build/check.jsYou should see something like:
supported: true
skill://commit-style/SKILL.md commit-style 1 file(s)
skill://release-notes/SKILL.md release-notes 2 file(s)
verified: trueIf the script fails to connect, run npm run build again and make sure you're in the project root, because the script launches build/server.js by a relative path.
4. Connect the server to Claude Code
Register the built server with Claude Code over stdio, from team-tools/:
claude mcp add --transport stdio team-tools -- node "$(pwd)/build/server.js"The -- separates Claude's own options from the command that runs the server. The path must be absolute, or the server fails to start the moment you run Claude Code from another folder. The server is added at local scope, the default. Call node directly and not npx: Claude Code's docs say a stdio server that takes more than 3 seconds to start should run the installed program.
Checkpoint:
claude mcp listYou should see something like:
team-tools: node /home/you/team-tools/build/server.js - ✔ ConnectedThen start claude in team-tools/, run /mcp and open the team-tools page. Claude Code's docs say a server on the right protocol shows a Protocol row on its /mcp page. If the Protocol row is missing, the server isn't on 2026-07-28: confirm src/server.ts uses serveStdio, rebuild, and select Reconnect.
5. Run a served skill in Claude Code
With the server connected, its skills show up next to your own, named <server>:<skill>. Everything in this step comes from Claude Code's docs.
In the same Claude Code session, run /skills, or type / at the prompt. The list shows team-tools:release-notes and team-tools:commit-style. Then run the skill with a change list as its arguments:
/team-tools:release-notes version 1.4.0: added CSV export to reports; fixed a crash on empty invoice lists; renamed the team setting to workspace
Claude should reply with a ## 1.4.0 heading (with a date if you give one) and the changes grouped under Added, Changed and Fixed, following FORMAT.md. That file lives on the server and Claude reads it only when the skill asks for it.
Approvals depend on your permission mode, which how auto mode changes Claude Code's approval prompts covers in full. In auto mode, the default, there's no prompt unless an ask rule applies. In Manual or acceptEdits mode, Claude asks before it uses a server skill, and you can pick Allow this version, which holds until the server changes that skill's files. Typing the skill's command at the prompt doesn't need approval.
If /skills doesn't list them, check the Protocol row from step 4 first, then your sign-in against What you need.
6. Optional: add a skill without restarting the server
Skip this step and nothing later breaks. It makes the server watch its skills folder and call reload(), which refreshes the catalog and sends resources/list_changed to connected clients.
Replace src/server.ts from step 2 with this version. The watcher is the only addition:
import { watch } from "node:fs";
import { fileURLToPath } from "node:url";
import { McpServer } from "@modelcontextprotocol/server";
import { serveStdio } from "@modelcontextprotocol/server/stdio";
import { loadSkills } from "@modelcontextprotocol/server/ext/skills/node";
const skillsDir = fileURLToPath(new URL("../skills", import.meta.url));
const skills = await loadSkills(skillsDir, {
onWarning: ({ path, message }) => console.error(`skills: ${path}: ${message}`),
});
let timer: NodeJS.Timeout | undefined;
watch(skillsDir, { recursive: true }, () => {
clearTimeout(timer);
timer = setTimeout(() => {
skills
.reload()
.then((changes) => {
console.error(`skills reloaded: +${changes.added.length} -${changes.removed.length} ~${changes.changed.length}`);
})
.catch((error: unknown) => {
console.error(`skills reload failed, keeping the old catalog: ${String(error)}`);
});
}, 200);
});
serveStdio(() => {
const mcp = new McpServer({ name: "team-tools", version: "1.0.0" });
skills.attach(mcp);
return mcp;
});Without reload(), an edited file no longer matches the digest the server listed, and clients that verify will reject it. Create src/live.ts, a client that waits for the change notification:
import { Client } from "@modelcontextprotocol/client";
import { StdioClientTransport } from "@modelcontextprotocol/client/stdio";
import { SkillsClient } from "@modelcontextprotocol/client/ext/skills";
let notify: () => void = () => {};
const changed = new Promise<void>((resolve) => {
notify = resolve;
});
const client = new Client(
{ name: "skills-live", version: "1.0.0" },
{
listChanged: {
resources: {
onChanged: (error, resources) => {
console.log("LIST_CHANGED", error, resources?.length);
notify();
},
},
},
},
);
await client.connect(new StdioClientTransport({ command: "node", args: ["build/server.js"] }));
const skills = new SkillsClient(client, { skipInvalid: true });
const names = async () => (await skills.list()).skills.map((s) => s.frontmatter.name);
console.log("Waiting up to 60 seconds for a skills change");
const timeout = setTimeout(() => {
console.error("No change seen");
process.exit(1);
}, 60_000);
await changed;
clearTimeout(timeout);
console.log(await names());
await client.close();Checkpoint. In one terminal, from team-tools/, build and start the client:
npm run build && node build/live.jsIn a second terminal, from team-tools/, add the third skill:
cp -r fixtures/code-review skills/You should see something like:
Waiting up to 60 seconds for a skills change
skills reloaded: +1 -0 ~0
LIST_CHANGED null 3
[ 'code-review', 'commit-style', 'release-notes' ]Then remove the extra skill so the next steps match: rm -r skills/code-review. In Claude Code, rebuilt code needs a fresh server process, so select Reconnect in /mcp. Whether Claude Code re-lists skills when it receives resources/list_changed isn't published. After you add a skill, run /skills, and if it's missing, select Reconnect in /mcp.
7. Reject a broken skill in CI with strict
By default a bad skill is skipped with a warning, so the rest of the catalog still serves. In CI you want the opposite: fail the build. Create src/strict.ts, which loads the broken fixture with strict: true:
import { loadSkills } from "@modelcontextprotocol/server/ext/skills/node";
import { SkillCatalogError } from "@modelcontextprotocol/server/ext/skills";
try {
await loadSkills("fixtures/broken", { strict: true });
console.log("all skills valid");
} catch (error) {
if (!(error instanceof SkillCatalogError)) throw error;
console.log(error.constructor.name, JSON.stringify(error.problems), error.message);
process.exitCode = 1;
}With strict, loadSkills throws SkillCatalogError listing every problem instead of warning. SkillCatalogError comes from the SDK's ext/skills entry, while loadSkills comes from the /node entry, which is why there are two imports. Run node build/strict.js as a CI step and a bad skill stops the pipeline.
Checkpoint:
npm run build && node build/strict.js; echo "exit code: $?"You should see something like:
SkillCatalogError [{"path":"bad-name/SKILL.md","message":"frontmatter name \"wrong-name\" must match the last path segment \"bad-name\" (skill skipped)"}] 1 skill problem:
bad-name/SKILL.md: frontmatter name "wrong-name" must match the last path segment "bad-name" (skill skipped)
exit code: 1If it prints all skills valid, check that fixtures/broken/bad-name/SKILL.md has name: wrong-name and that you ran the command from team-tools/.
8. Run and verify end to end
Rebuild, run the check script, then repeat the Claude Code run. Two good outcomes and one deliberate failure tell you the project works.
From team-tools/:
npm run build && node build/check.jsYou should see the same four lines as in step 3, with two skills and verified: true. In Claude Code, reconnect team-tools in /mcp if the session predates your last build, run /skills, and run /team-tools:release-notes on a three-line change list. You get release notes in the FORMAT.md layout.
The negative check is step 7's node build/strict.js, which exits with code 1 on the broken fixture. If you copy fixtures/broken/bad-name into skills/, the running server logs that same problem as a warning and keeps serving the two good skills. strict is the setting that turns that warning into a failed CI job.
How the pieces fit
Claude Code check.ts / live.ts (second client)
| |
+----------- stdio ----------------+
|
serveStdio factory (build/server.js)
one McpServer + skills.attach
|
loadSkills("skills/") catalog
metadata and SHA-256 digests
|
files on disk, read when askedClean up
Remove the registration and the project. No keys exist, so there's nothing to revoke.
claude mcp remove team-tools -s local
cd .. && rm -r team-toolsFull code
Every file below is what steps 1 to 7 built, with src/server.ts in its step 6 version. Skip the watcher in server.ts if you skipped step 6.
team-tools/
├── package.json
├── tsconfig.json
├── .gitignore
├── src/
│ ├── server.ts
│ ├── check.ts
│ ├── live.ts
│ └── strict.ts
├── skills/
│ ├── commit-style/
│ │ └── SKILL.md
│ └── release-notes/
│ ├── SKILL.md
│ └── references/
│ └── FORMAT.md
└── fixtures/
├── code-review/
│ └── SKILL.md
└── broken/
└── bad-name/
└── SKILL.mdpackage.json:
{
"name": "team-tools",
"version": "1.0.0",
"private": true,
"type": "module",
"scripts": {
"build": "tsc"
},
"dependencies": {
"@modelcontextprotocol/client": "^2.4.0",
"@modelcontextprotocol/server": "^2.4.0"
},
"devDependencies": {
"@types/node": "^22.0.0",
"typescript": "^5.0.0"
}
}tsconfig.json:
{
"compilerOptions": {
"target": "ES2022",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"strict": true,
"skipLibCheck": true,
"outDir": "build",
"rootDir": "src"
},
"include": ["src"]
}.gitignore:
node_modules
buildsrc/server.ts:
import { watch } from "node:fs";
import { fileURLToPath } from "node:url";
import { McpServer } from "@modelcontextprotocol/server";
import { serveStdio } from "@modelcontextprotocol/server/stdio";
import { loadSkills } from "@modelcontextprotocol/server/ext/skills/node";
const skillsDir = fileURLToPath(new URL("../skills", import.meta.url));
const skills = await loadSkills(skillsDir, {
onWarning: ({ path, message }) => console.error(`skills: ${path}: ${message}`),
});
let timer: NodeJS.Timeout | undefined;
watch(skillsDir, { recursive: true }, () => {
clearTimeout(timer);
timer = setTimeout(() => {
skills
.reload()
.then((changes) => {
console.error(`skills reloaded: +${changes.added.length} -${changes.removed.length} ~${changes.changed.length}`);
})
.catch((error: unknown) => {
console.error(`skills reload failed, keeping the old catalog: ${String(error)}`);
});
}, 200);
});
serveStdio(() => {
const mcp = new McpServer({ name: "team-tools", version: "1.0.0" });
skills.attach(mcp);
return mcp;
});src/check.ts:
import { Client } from "@modelcontextprotocol/client";
import { StdioClientTransport } from "@modelcontextprotocol/client/stdio";
import { SkillsClient } from "@modelcontextprotocol/client/ext/skills";
const client = new Client({ name: "skills-check", version: "1.0.0" });
await client.connect(new StdioClientTransport({ command: "node", args: ["build/server.js"] }));
const skills = new SkillsClient(client, { skipInvalid: true });
console.log("supported:", skills.supported);
const { skills: entries } = await skills.list();
for (const e of entries) console.log(e.uri, e.frontmatter.name, `${e.resources === "dynamic" ? "dynamic" : e.resources.length} file(s)`);
const rn = entries.find((e) => e.frontmatter.name === "release-notes");
if (rn) { const f = await skills.read(rn, "references/FORMAT.md"); console.log("verified:", f.verified); }
await client.close();src/live.ts:
import { Client } from "@modelcontextprotocol/client";
import { StdioClientTransport } from "@modelcontextprotocol/client/stdio";
import { SkillsClient } from "@modelcontextprotocol/client/ext/skills";
let notify: () => void = () => {};
const changed = new Promise<void>((resolve) => {
notify = resolve;
});
const client = new Client(
{ name: "skills-live", version: "1.0.0" },
{
listChanged: {
resources: {
onChanged: (error, resources) => {
console.log("LIST_CHANGED", error, resources?.length);
notify();
},
},
},
},
);
await client.connect(new StdioClientTransport({ command: "node", args: ["build/server.js"] }));
const skills = new SkillsClient(client, { skipInvalid: true });
const names = async () => (await skills.list()).skills.map((s) => s.frontmatter.name);
console.log("Waiting up to 60 seconds for a skills change");
const timeout = setTimeout(() => {
console.error("No change seen");
process.exit(1);
}, 60_000);
await changed;
clearTimeout(timeout);
console.log(await names());
await client.close();src/strict.ts:
import { loadSkills } from "@modelcontextprotocol/server/ext/skills/node";
import { SkillCatalogError } from "@modelcontextprotocol/server/ext/skills";
try {
await loadSkills("fixtures/broken", { strict: true });
console.log("all skills valid");
} catch (error) {
if (!(error instanceof SkillCatalogError)) throw error;
console.log(error.constructor.name, JSON.stringify(error.problems), error.message);
process.exitCode = 1;
}skills/release-notes/SKILL.md:
---
name: release-notes
description: Draft release notes from a list of merged changes in the team format. Use when asked for release notes or a changelog entry.
---
# Release notes
Turn the list of changes you are given into release notes.
Follow the layout in references/FORMAT.md exactly.
Write one line per change, in plain language, and leave out internal refactors.skills/release-notes/references/FORMAT.md:
# Release notes format
Start with a heading: `## <version> (<date>)`.
Then up to three groups, in this order, skipping empty ones: Added, Changed, Fixed.
Each change is one bullet that starts with a verb.skills/commit-style/SKILL.md:
---
name: commit-style
description: Write commit messages in the team style. Use when committing or reviewing commit messages.
---
# Commit style
Write the subject in the imperative mood and keep it under 72 characters.
Use the body to explain why the change was made, not what the diff already shows.fixtures/code-review/SKILL.md:
---
name: code-review
description: Team review checklist.
---
Check tests first.fixtures/broken/bad-name/SKILL.md:
---
name: wrong-name
description: A skill whose name does not match its folder.
---
This skill is broken on purpose.Install and run, from team-tools/:
npm install
npm run build
node build/check.js
node build/strict.js; echo "exit code: $?"
claude mcp add --transport stdio team-tools -- node "$(pwd)/build/server.js"Reference
Which skills should come from the server
Serve the skills your team uses in terminal Claude Code sessions, and keep the rest where they are. Claude Code's docs name the surfaces that don't load MCP skills.
| Skill type | Where it runs | Serve from MCP? |
|---|---|---|
| Team convention skill used interactively | Terminal, JetBrains, local Desktop | Yes |
| Skill your CI depends on | claude -p, GitHub Actions, Agent SDK | No, keep it in the repo |
Used by Team or Enterprise /login users | Off until the org enables it | Ask the org owner first |
| Used by API key or Console login users | "Rolling out", off now | Not yet |
| Used in a HIPAA or zero-data-retention org | Unsupported | No |
| Skill with archives or binaries (WebP, OTF) | Won't load | Keep it in the repo |
| Skill reviewed in a PR with the code it describes | Repo or plugin | Keep it in the repo |
For Team and Enterprise, an owner turns on Skills over MCP under Organization settings > Connectors, and the Skills setting must be on too. For servers you add yourself, set disableDirectMcpSkills to false in managed settings. Claude Code shows up to 100 skills per server. Anthropic doesn't scan skills from servers you add with claude mcp add, so review each SKILL.md before you serve it.
Names in Claude Code and in the SDK
| Concept | Claude Code | SDK |
|---|---|---|
| Skill name | team-tools:release-notes | release-notes |
| Catalog entry | listed in /skills | skill://release-notes/SKILL.md |
| Block one skill | deny Skill(team-tools:release-notes) | none |
| Block a server's skills | deny Skill(mcp__team-tools__*) | none |
In the server part of a name, spaces and punctuation other than - become _. Plugin servers get a prefix such as plugin_my-plugin_docs:pdf.
Common mistakes
- Connecting with
new StdioServerTransport()instead ofserveStdio. Claude Code's/mcppage then has no Protocol row, which its docs tie to a server below 2026-07-28 (steps 2 and 4). - Naming a skill folder differently from the
namein its frontmatter. The SDK skips it with a warning, or throws understrict(steps 1 and 7). - Giving
claude mcp adda relative path, so the server fails to start from any other folder (step 4). - Expecting served skills in
claude -p, GitHub Actions or the Agent SDK. They don't load there (step 5 and the Reference table). - Naming the file
skill.mdorSkill.md. OnlySKILL.mdcounts, and the SDK warns when it sees a near miss (step 1). - Editing a skill while the server runs and skipping
reload(). Clients that verify digests reject the changed file (step 6).
Next steps
- Pilot before you migrate. We'd start with the skill your engineers copy most, served from the MCP server you already run. Keep every skill CI depends on in the repo, because
claude -p, GitHub Actions and the Agent SDK don't load MCP skills. If your people sign in on Team or Enterprise, check the org setting first; with an API key or Console login, skills are off for now. A plugin is the other route, and how a Claude plugin bundles skills with your MCP server shows what the directory checks before it accepts one. - Add tools, an HTTP transport and auth to the same server with build an MCP server with tools, transports and auth.
- Control who can use the skills with managed settings:
deny,askandallowrules onSkill(mcp__team-tools__*)work for a whole server (putallowin user or managed settings; it doesn't cover.mcp.jsonor plugin servers). - To serve over HTTP instead of stdio, the SDK's skills guide covers
createMcpHandlerandhandler.notify.resourcesChanged().
FAQ
Do I need serveStdio for Claude Code to see my MCP server's skills?
For a stdio server, yes. Claude Code's docs require MCP revision 2026-07-28 or later for skills. In our debug-log run, StdioServerTransport negotiated 2025-11-25 and serveStdio negotiated 2026-07-28. serveStdio also serves 2025-era clients from the same factory unless you set legacy: 'reject'.
Why doesn't Claude Code show skills from my MCP server?
Work down this list. Does the server's /mcp page have a Protocol row? If not, the server isn't on 2026-07-28. Does /status show a Features row naming a variable such as DISABLE_TELEMETRY? Unset it and restart. Check your sign-in, because an API key or Console login is off for now, and Team or Enterprise /login needs the org setting. Check the model, and check that the connection is direct to Anthropic.
Can I use MCP skills in claude -p, CI or the Agent SDK?
No. Claude Code's docs list claude -p, GitHub Actions, the Agent SDK, cloud sessions and claude remote-control server mode as unsupported. Keep skills that CI relies on in the repo.
Are skills from a server I add with claude mcp add scanned or safe?
Anthropic doesn't scan them. Skills can direct Claude to run code and a server can change them at any time, so add only servers you trust. In Manual or acceptEdits mode, approval applies per version of a skill's files.
How do I make a skill update without restarting the server?
Call reload() on the skills catalog when files change, as in step 6. It sends resources/list_changed on stdio, and clients that verify digests see the new files. Claude Code's own refresh behaviour isn't published, so run /skills and select Reconnect in /mcp if the new skill is missing.
Sources
- Claude Code docs: Connect Claude Code to tools via MCP
- Model Context Protocol: Skills extension overview
- MCP TypeScript SDK docs: Skills (server)
- MCP TypeScript SDK docs: Serving over stdio
- MCP TypeScript SDK docs: Skills (client)
- Anthropic: MCP servers can now ship skills, run tasks, and more with Claude
