academy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends…
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).
Claude Code
$ npx -y skills add anthropics/skills --skill mcp-builder --agent claude-code
Codex
$ npx skills add anthropics/skills --skill mcp-builder -a codex -y
Cursor
$ npx skills add anthropics/skills --skill mcp-builder -a cursor -y
Gemini CLI
$ npx skills add anthropics/skills --skill mcp-builder -a gemini-cli -y
GitHub Copilot
$ npx skills add anthropics/skills --skill mcp-builder -a github-copilot -y
OpenCode
$ npx skills add anthropics/skills --skill mcp-builder -a opencode -y
Windsurf
$ npx skills add anthropics/skills --skill mcp-builder -a windsurf -y
name: mcp-builder description: 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). license: Complete terms in LICENSE.txt
Create MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. The quality of an MCP server is measured by how well it enables LLMs to accomplish real-world tasks.
---
Creating a high-quality MCP server involves four main phases:
**API Coverage vs. Workflow Tools:** Balance comprehensive API endpoint coverage with specialized workflow tools. Workflow tools can be more convenient for specific tasks, while comprehensive coverage gives agents flexibility to compose operations. Performance varies by client—some clients benefit from code execution that combines basic tools, while others work better with higher-level workflows. When uncertain, prioritize comprehensive API coverage.
**Tool Naming and Discoverability:** Clear, descriptive tool names help agents find the right tools quickly. Use consistent prefixes (e.g., `github_create_issue`, `github_list_repos`) and action-oriented naming.
**Context Management:** Agents benefit from concise tool descriptions and the ability to filter/paginate results. Design tools that return focused, relevant data. Some clients support code execution which can help agents filter and process data efficiently.
**Actionable Error Messages:** Error messages should guide agents toward solutions with specific suggestions and next steps.
**Navigate the MCP specification:**
Start with the sitemap to find relevant pages: `https://modelcontextprotocol.io/sitemap.xml`
Then fetch specific pages with `.md` suffix for markdown format (e.g., `https://modelcontextprotocol.io/specification/draft.md`).
Key pages to review:
**Recommended stack:**
**Load framework documentation:**
**For TypeScript (recommended):**
The TypeScript SDK has two major versions. Pick one before writing code:
If the project already uses v1, tell the user once, in a sentence or two, that v2 (`@modelcontextprotocol/server`) is the current stable release, that v1 receives only bug and security fixes, and that `npx @modelcontextprotocol/codemod@latest v1-to-v2 .` migrates the project. Then continue with v1 unless the user asks to migrate.
Don't mix the two in one project: v1 code samples (imports from `@modelcontextprotocol/sdk/...`) don't apply to v2.
**For Python:**
**Understand the API:** Review the service's API documentation to identify key endpoints, authentication requirements, and data models. Use web search and WebFetch as needed.
**Tool Selection:** Prioritize comprehensive API coverage. List endpoints to implement, starting with the most common operations.
---
See language-specific guides for project setup:
Create shared utilities:
For each tool:
**Input Schema:**
**Output Schema:**
**Tool Description:**
**Implementation:
Skills are folders of instructions, scripts, and resources that Claude loads dynamically to improve performance on specialized tasks.
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends…
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request…
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's…
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to…
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token…
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.