MCP builder
by anthropics
Anthropic’s guide to designing, building, testing and evaluating an MCP server in TypeScript or Python, from research to a scored evaluation.
MCP builder is Anthropic’s skill for creating a Model Context Protocol server, the kind of server that gives an AI agent tools for a particular service. It walks through four phases: research the API and plan the tools, implement them, review and test with the MCP Inspector, and evaluate how well an agent can use the result.
Reference guides cover the TypeScript SDK and the Python SDK, along with best practices for tool naming, error messages and authentication. The optional evaluation phase writes ten realistic question and answer pairs and scores an agent against them; that step calls the Anthropic API and needs your own API key, while building the server needs none.
It reads the official MCP documentation and SDK readmes as reference, and connects only to the server you point it at.
What it is good for
- Build an MCP server for your company’s internal API
- Review an existing server’s tool names and error messages
- Measure how well an agent can use your server’s tools
Install
Run this in a terminal. It adds the skill to Claude Code for every project:
tmp=$(mktemp -d) && git -C "$tmp" init -q && git -C "$tmp" fetch -q --depth 1 https://github.com/anthropics/skills e4bb5d960d87126ff3b3a8af1a104b7db67560ba && git -C "$tmp" checkout -q FETCH_HEAD && rm -rf "$tmp/.git" && mkdir -p ~/.claude/skills && rm -rf ~/.claude/skills/mcp-builder && mv "$tmp/skills/mcp-builder" ~/.claude/skills/mcp-builder && rm -rf "$tmp"Start a new Claude Code session. The agent uses the skill when a request matches it, or you can ask for it by name.
To share it with your team, put the folder in
.claude/skills/inside the repository instead and commit it.
Read the source on GitHub · Apache-2.0 license · Reviewed by Whenever on 2026-11-20