Claude skill · Development · Anthropic
MCP builder skill for Claude
mcp-builder is an Anthropic skill that guides Claude through building a Model Context Protocol server in four phases: research and planning, implementation in Python with FastMCP or in TypeScript, review, then evaluations that test whether an agent can use it. It loads when you ask Claude for an MCP server. Install it with the example-skills plugin.
- Command
- /mcp-builder
- Licence
- Apache-2.0, copying allowed with attribution
- Folder
- 11 files, 155 KB
- Runs code
- 2 scripts
Overview
What does mcp-builder do?
The workflow runs from research and planning (study the API, then balance full endpoint coverage with task-focused workflow tools, favouring coverage when unsure) through implementation and review to writing evaluations: realistic questions that check an agent can actually use the server.
Reference files cover MCP best practices and separate Python and Node guides, loaded only in the phase that needs them. A bundled script runs the evaluations against your server.
Triggers
When does Claude use it?
- Building an MCP server to connect an external API or service to an LLM.
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
What it needs
- Python or Node.js. The evaluation script needs the anthropic and mcp Python packages and an Anthropic API key, so running it uses paid API credit.
Install
How do I install it in Claude Code?
From the plugin marketplace
/plugin marketplace add anthropics/skills
/plugin install example-skills@anthropic-agent-skillsThe example-skills plugin brings 12 skills, including this one; it runs as /example-skills:mcp-builder.
As a personal or project skill
git clone --depth 1 https://github.com/anthropics/skills.git
mkdir -p ~/.claude/skills
cp -r skills/skills/mcp-builder ~/.claude/skills/git clone --depth 1 https://github.com/anthropics/skills.git
mkdir -p .claude/skills
cp -r skills/skills/mcp-builder .claude/skills/Either way it’s available as /mcp-builder.
claude.ai and API
How do I use it in claude.ai and the API?
claude.ai
Anthropic’s skills README says its example skills are already available on paid claude.ai plans, so check Customize > Skills before uploading anything.
Claude API
Upload the folder through the Skills API, then list it in container.skills as type custom with the returned ID, alongside the code execution tool. Uploaded skills are shared across your workspace.
from anthropic import Anthropic
from anthropic.lib import files_from_dir
client = Anthropic()
skill = client.skills.create(files=files_from_dir("mcp-builder"))
print(skill.id) # use as a custom skill_id with the code execution toolAPI containers have no network access, so its scripts can’t download anything there.
Checks
SKILL.md validator results
Its SKILL.md (252 lines) run through our SKILL.md validator, with the folder’s file list, for both targets. These check the file’s format, not whether the skill works well.
Claude Code
0 errors, 0 warnings, 1 tip
- tipSKILL.md doesn’t mention
scripts/connections.py,scripts/example_evaluation.xml. Say what each file is for and when to read or run it, or Claude won’t know to use it.
claude.ai and the API
0 errors, 0 warnings, 2 tips
- tipThe Claude Help Center’s upload guide gives a 200-character description limit for claude.ai, though the platform docs say 1,024. Keep it under 200 if you’ll upload it there.
- tipSKILL.md doesn’t mention
scripts/connections.py,scripts/example_evaluation.xml. Say what each file is for and when to read or run it, or Claude won’t know to use it.
Folder
What’s in the folder?
- LICENSE.txt11 KB
- SKILL.md11 KB
- reference/5 files, 115 KB
- scripts/4 files, 18 KB
SKILL.md sections
- MCP Server Development Guide
- Overview
- Process
- 🚀 High-Level Workflow
- Phase 1: Deep Research and Planning
- Phase 2: Implementation
- Phase 3: Review and Test
- Phase 4: Create Evaluations
- Reference Files
- 📚 Documentation Library
- Core MCP Documentation (Load First)
- SDK Documentation (Load During Phase 1/2)
- Language-Specific Implementation Guides (Load During Phase 2)
- Evaluation Guide (Load During Phase 4)
Source
Licence and source
- Published by Anthropic in anthropics/skills/skills/mcp-builder, last changed 2026-10-28.
- Licence: Apache-2.0, copying allowed with attribution. Our copy of the SKILL.md is unmodified, served with its licence.
- Read from commit
ca45fc4; write-up checked 2026-10-14. - Before installing, read the SKILL.md on GitHub and its scripts. Anthropic advises using skills only from sources you trust (security considerations).
FAQ
Questions people ask
What is the difference between a skill and an MCP server?
A skill is a folder of instructions and scripts that Claude reads when a task matches it. An MCP server is a running program that gives Claude tools to call, such as an API or a database. mcp-builder is a skill that teaches Claude to build MCP servers. Browse finished ones in our MCP server directory.
Should I build my MCP server in Python or TypeScript?
The skill recommends TypeScript, citing strong SDK support and how well models write typed code, but it covers Python with FastMCP too. Each language has its own reference guide, and Claude loads only the one you choose. If your team already maintains Python services, that is a fair reason to pick it. The evaluation script runs in Python either way.
Does running mcp-builder’s evaluations cost money?
Yes. The evaluation script calls the Claude API with the anthropic and mcp Python packages, so it needs an Anthropic API key and uses paid API credit. Building the server itself doesn’t need the key. Keep the evaluation set small while you iterate, then run the full set before you publish the server.
Related
Related skills
All Claude skillsWrite your own skillSlash command builderGuide: subagents, skills and commands