Agent skill · Backend & API

build-mcp-server

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.

Anthropic33,591★ · +352/wk · 2 repos on radarProfile →
claude-codeApache-2.0
Install
npx skills add anthropics/claude-plugins-official --skill build-mcp-server --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 9
SKILL.md size: 12 KB
Bundled scripts: none
Version: 0.1.0
Path: plugins/mcp-server-dev/skills/build-mcp-server/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 33,027 · +241 this week
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Build an MCP Server You are guiding a developer through designing and building an MCP server that works seamlessly with Claude. MCP servers come in many forms — picking the wrong shape early causes painful rewrites later. Your first job is **discovery, not code**. **Load Claude-specific context first.** The MCP spec is generic; Claude has additional auth types, review criteria, and limits. Before answering questions or scaffolding, fetch `https://claude.com/docs/llms-full.txt` (the full export of the Claude connector docs) so your guidance reflects Claude's actual constraints. Do not start scaffolding until you have answers to the questions in Phase 1. If the user's opening message already answers them, acknowledge that and skip straight to the recommendation. --- ## Phase 1 — Interrogate the use case Ask these questions conversationally (batch them into one message, don't interrogate one-at-a-time). Adapt wording to what the user has already told you. ### 1. What does it connect to? | If it connects to… | Likely direction | |---|---| | A cloud API (SaaS, REST, GraphQL) | Remote HTTP server | | A local process, filesystem, or desktop app | MCPB or local stdio | | Hardware, OS-lev

What's inside
Steps it walks through
  1. Phase 1 — Interrogate the use case
  2. 1. What does it connect to?
  3. 2. Who will use it?
  4. 3. How many distinct actions does it expose?
  5. 4. Does a tool need mid-call user input or rich display?
  6. 5. What auth does the upstream service use?
  7. Phase 2 — Recommend a deployment model
  8. ⭐ Remote streamable-HTTP MCP server (default recommendation)
  9. Elicitation (structured input, no UI build)
  10. MCP app (remote HTTP + interactive UI)
  11. MCPB (bundled local server)
  12. Local stdio (npx / uvx) — not recommended for distribution
  13. Phase 3 — Pick a tool-design pattern
  14. Pattern A: One tool per action (small surface)
Ships with 8 files
  • references/auth.md
  • references/deploy-cloudflare-workers.md
  • references/elicitation.md
  • references/remote-http-scaffold.md
  • references/resources-and-prompts.md
  • references/server-capabilities.md
  • references/tool-design.md
  • references/versions.md
More from claude-plugins-official
All skills →
About this skill
What does the build-mcp-server skill do?

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.

How do I install it?

Run `npx skills add anthropics/claude-plugins-official --skill build-mcp-server --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From anthropics/claude-plugins-official, a repository with 33,027 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going