installskill

Skills / anthropics/claude-plugins-official

build-mcp-server

Entry point for MCP server development: picks the deployment model and tool-design pattern.

Pinned commit
0fbfda5a91f4Committed 2026-11-25
Files
949 KB
License
Apache-2.0
Snapshot taken
2026-11-28
Description from the skill
This skill should be used when the user asks to "build an MCP server", "create an MCP", "make an MCP integration", "wrap an API for Claude", "expose tools to Claude", "make an MCP app", or discusses building something with the Model Context Protocol. It is the entry point for MCP server development — it interrogates the user about their use case, determines the right deployment model (remote HTTP, MCPB, local stdio), picks a tool-design pattern, and hands off to specialized skills.

This is the text your agent reads to decide when to use the skill.

Install

Choose your agent. Pinned commands install exactly the commit this page describes.

Skill directory .claude/skills/Claude Code · Official docs

Does not read the shared .agents/skills directory. A skill must land in .claude/skills, or arrive inside a plugin.

GitHub CLIpinned

$ gh skill install anthropics/claude-plugins-official plugins/mcp-server-dev/skills/build-mcp-server --agent claude-code --pin 0fbfda5a91f4adc311daca25acc99132f40f0b6e

gh picks the directory for the agent, names the folder after the source directory (build-mcp-server), and writes source metadata into the SKILL.md frontmatter, so the content hash below will not match. Check the github-tree-sha it records instead: it should read d1d8f9dda0ceef1825a32ff84eb6575ecfe31231.

skills CLIpinned

$ npx skills add anthropics/claude-plugins-official@0fbfda5a91f4adc311daca25acc99132f40f0b6e --skill build-mcp-server -a claude-code --copy

Downloads and runs the skills package from npm. --copy writes real files instead of symlinks. The CLI sends anonymous telemetry unless DISABLE_TELEMETRY=1 is set, and that setting also turns off its audit lookups.

Claude Code pluginnot pinnedrun inside the agent

> /plugin marketplace add anthropics/claude-plugins-official
> /plugin install mcp-server-dev@claude-plugins-official

Not pinned: installs whatever the marketplace currently serves. The plugin bundles 2 other skills with this one. Plugin scope is chosen in the /plugin dialog.

Plain gitpinned

$ tmp=$(mktemp -d)
$ git clone --quiet https://github.com/anthropics/claude-plugins-official.git "$tmp"
$ git -C "$tmp" checkout --quiet 0fbfda5a91f4adc311daca25acc99132f40f0b6e
$ mkdir -p .claude/skills
$ cp -R "$tmp/plugins/mcp-server-dev/skills/build-mcp-server" .claude/skills/build-mcp-server

No extra tooling. Files land byte for byte as published in .claude/skills/build-mcp-server, so the content hash below can be checked directly.

Check what landed

Run this after installing. It prints one SHA-256 for the whole directory. If your installer reported a different directory, cd there instead.

$ cd .claude/skills/build-mcp-server && find . -type f -print0 | LC_ALL=C sort -z | xargs -0 shasum -a 256 | shasum -a 256

Expected2bf8b6ebf8efd0310380deeedfc57da2268ac8815ef4d72c8240d298818a14ad

It matches only when the files are byte for byte as published. A difference means something changed: by the installer, by you, or upstream.

What is inside

Pattern matches in the files, each linked to its line. A match is a place to read, not a verdict, and no match is not proof of absence.

Docs · 8SKILL.md · 1

Runs commands7

Code that spawns other processes, or shell code blocks in the instructions.

0 in scripts · 7 in docs and other text files

Network access1

Calls that fetch from or send to a remote host.

0 in scripts · 1 in docs and other text files

Installs packages10

Commands that pull and run third-party packages at use time.

0 in scripts · 10 in docs and other text files

Reads env or credentials4

References to environment variables, tokens, keys or credential files.

0 in scripts · 4 in docs and other text files

Privileged or destructiveNo match

sudo, recursive deletes, permission changes and similar commands.

Dynamic or encoded codeNo match

eval, exec, base64 decoding and remote-script piping, which hide what runs.

Outside hosts mentioned

Hostnames of every URL in the text files.

  • claude.com×7
  • localhost×4
  • claude.ai×1
  • raw.githubusercontent.com×1

Entries worth a second look

No symlinks, submodules, hidden files, archives, compiled files or unscanned files.

File manifest

Every file in the skill directory at the pinned commit.

Content hash
2bf8b6ebf8efd0310380deeedfc57da2268ac8815ef4d72c8240d298818a14ad
Git tree SHA
d1d8f9dda0ceef1825a32ff84eb6575ecfe31231
PathKindSizeSHA-256
SKILL.mdSKILL.md12 KB088cd04be7f03ebb…
references/auth.mdDocs5.6 KB83869c9c5ff0aee6…
references/deploy-cloudflare-workers.mdDocs3.6 KBb72abb4206385101…
references/elicitation.mdDocs4.6 KBd8f19b01b1bd3a8b…
references/remote-http-scaffold.mdDocs6.9 KBbd5d49e1f4caa895…
references/resources-and-prompts.mdDocs4.0 KB90537efcaf329ead…
references/server-capabilities.mdDocs4.6 KBa4d76934e9fb386a…
references/tool-design.mdDocs6.9 KBfd3747e5abf5d2aa…
references/versions.mdDocs1.1 KBf7592e72c5c35715…

Spec and portability

Checked against the Agent Skills specification.

Frontmatter
Parses as YAML
Name matches directory
Yes
Name uses lowercase letters, digits and hyphens
Yes
Description length
486limit 1,024 characters
SKILL.md body
217 linesthe spec suggests under 500 lines
Fields outside the spec
versionAgents that do not know these fields ignore them, and uploading to claude.ai or the Skills API can fail on them.
License field
None declared
License file
None declared
Repository license
LICENSE (Apache-2.0)
Claude Code plugin
mcp-server-dev@claude-plugins-official

Change history

No changes recorded since the first snapshot on 2026-11-28.

Follow changes to this skill in a feed reader: Atom feed · all skills

Get an email when this skill changes

Email alerts are not built yet. Leave your address and we will write to you once, when they are. The feed above works today.

We store your address, the name of this skill and the date. It is used for nothing else.