MCP Server Builder
anthropics/skills
Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.
Create high-quality MCP servers that enable LLMs to effectively interact with external services.
$ npx skills add bobmatnyc/claude-mpm --skill build-mcp-server -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install bobmatnyc/claude-mpm build-mcp-server --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/bobmatnyc/claude-mpm.git skills-src && mkdir -p .claude/skills && cp -r skills-src/src/claude_mpm/skills/bundled/main/build-mcp-server .claude/skills/build-mcp-server && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "build-mcp-server" agent skill from https://github.com/bobmatnyc/claude-mpm/tree/main/src/claude_mpm/skills/bundled/main/build-mcp-server into .claude/skills/build-mcp-server/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "build-mcp-server", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/bobmatnyc/claude-mpm/tree/main/src/claude_mpm/skills/bundled/main/build-mcp-serverType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add bobmatnyc/claude-mpm --skill build-mcp-server -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install bobmatnyc/claude-mpm build-mcp-server --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/bobmatnyc/claude-mpm.git skills-src && mkdir -p .agents/skills && cp -r skills-src/src/claude_mpm/skills/bundled/main/build-mcp-server .agents/skills/build-mcp-server && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "build-mcp-server" agent skill from https://github.com/bobmatnyc/claude-mpm/tree/main/src/claude_mpm/skills/bundled/main/build-mcp-server into .agents/skills/build-mcp-server/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "build-mcp-server", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add bobmatnyc/claude-mpm --skill build-mcp-server -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install bobmatnyc/claude-mpm build-mcp-server --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/bobmatnyc/claude-mpm.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/src/claude_mpm/skills/bundled/main/build-mcp-server .cursor/skills/build-mcp-server && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "build-mcp-server" agent skill from https://github.com/bobmatnyc/claude-mpm/tree/main/src/claude_mpm/skills/bundled/main/build-mcp-server into .cursor/skills/build-mcp-server/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "build-mcp-server", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/bobmatnyc/claude-mpm.git --path src/claude_mpm/skills/bundled/main/build-mcp-server--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add bobmatnyc/claude-mpm --skill build-mcp-server -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install bobmatnyc/claude-mpm build-mcp-server --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/bobmatnyc/claude-mpm.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/src/claude_mpm/skills/bundled/main/build-mcp-server .gemini/skills/build-mcp-server && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "build-mcp-server" agent skill from https://github.com/bobmatnyc/claude-mpm/tree/main/src/claude_mpm/skills/bundled/main/build-mcp-server into .gemini/skills/build-mcp-server/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "build-mcp-server", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install bobmatnyc/claude-mpm build-mcp-serverInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add bobmatnyc/claude-mpm --skill build-mcp-server -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/bobmatnyc/claude-mpm.git skills-src && mkdir -p .github/skills && cp -r skills-src/src/claude_mpm/skills/bundled/main/build-mcp-server .github/skills/build-mcp-server && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "build-mcp-server" agent skill from https://github.com/bobmatnyc/claude-mpm/tree/main/src/claude_mpm/skills/bundled/main/build-mcp-server into .github/skills/build-mcp-server/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "build-mcp-server", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add bobmatnyc/claude-mpm --skill build-mcp-server -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install bobmatnyc/claude-mpm build-mcp-server --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/bobmatnyc/claude-mpm.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/src/claude_mpm/skills/bundled/main/build-mcp-server .opencode/skills/build-mcp-server && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "build-mcp-server" agent skill from https://github.com/bobmatnyc/claude-mpm/tree/main/src/claude_mpm/skills/bundled/main/build-mcp-server into .opencode/skills/build-mcp-server/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "build-mcp-server", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
build-mcp-serverCreate high-quality MCP servers that enable LLMs to effectively interact with external services.
Build MCP Server is an agent skill from bobmatnyc/claude-mpm. Create high-quality MCP servers that enable LLMs to effectively interact with external services. Use when building MCP integrations for APIs or services in Python (FastMCP) or Node/TypeScript (MCP SDK).
Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 13 other files, including scripts (for example `reference/design_principles.md`, `reference/evaluation.md` and `reference/mcp_best_practices.md`).
It sits in Agent Workflows, covering MCP servers. It works with Model Context Protocol, Python and TypeScript. The repository describes itself as: Claude Multi-Agent Project Manager — multi-channel orchestration, GitHub-first SDK mode, and plugin system for Claude. The licence is Apache-2.0.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 25203d3. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 4 files in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
pythonFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
modelcontextprotocol.ioFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Build MCP Server loads about 2k tokens when it runs. Until then it costs about 55 tokens; SKILL.md has 795 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from bobmatnyc/claude-mpm at commit 25203d3, republished under its Apache-2.0 licence (© bobmatnyc). 795 words, ~1,983 tokens.
.claude/skills/build-mcp-server/SKILL.md (or your agent's skills folder). This skill also uses 11 other files; get the full folder from GitHub.Build high-quality MCP (Model Context Protocol) servers that enable LLMs to accomplish real-world tasks through well-designed tools. Quality is measured not by API coverage, but by how effectively agents can use your tools to complete realistic workflows.
Core insight: MCP servers expose tools for AI agents, not human users. Design for agent constraints (limited context, no visual UI, workflow-oriented) rather than human convenience.
Activate when:
Language Support:
DESIGN FOR AGENTS, NOT HUMANS
Every tool must optimize for:
- Context efficiency (agents have limited tokens)
- Workflow completion (not just API calls)
- Actionable errors (guide agents to success)
- Natural task subdivision (how agents think)If your tools are just thin API wrappers, you're violating the Iron Law.
Agent-Centric Design First: Study design principles before coding. Tools should enable workflows, not mirror APIs.
Research-Driven Planning: Load MCP docs, SDK docs, and exhaustive API documentation before writing code.
Evaluation-Based Iteration: Create realistic evaluations early. Let agent feedback drive improvements.
Context Optimization: Every response token matters. Default to concise, offer detailed when needed.
Actionable Errors: Error messages should teach agents correct usage patterns.
https://modelcontextprotocol.io/llms-full.txt for MCP specificationSee workflow.md for complete Phase 1 steps.
See workflow.md for complete Phase 2 steps and language guides.
See workflow.md for complete Phase 3 steps.
See evaluation.md for complete evaluation guidelines.
🎯 Design Principles - Agent-centric design philosophy: workflows over APIs, context optimization, actionable errors, natural task subdivision. Read FIRST before implementation.
🔄 Complete Workflow - Detailed 4-phase development process with step-by-step instructions, decision trees, and when to load each reference file.
🐍 Python Implementation - FastMCP patterns, Pydantic validation, async/await, complete examples, quality checklist. Load during Phase 2 for Python servers.
⚡ TypeScript Implementation - MCP SDK patterns, Zod validation, project structure, complete examples, quality checklist. Load during Phase 2 for TypeScript servers.
If you catch yourself:
python server.py directly (will hang forever)ALL of these mean: STOP. Return to design principles and workflow.
From MCP server development experience:
Remember: The quality of an MCP server is measured by how well it enables LLMs to accomplish realistic tasks, not by how comprehensively it wraps an API.
© bobmatnyc, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 11 other files (scripts) in src/claude_mpm/skills/bundled/main/build-mcp-server of bobmatnyc/claude-mpm.
Open the folder on GitHubat commit 25203d3
Build MCP Server next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Build MCP Server this skillbobmatnyc/claude-mpm | 155 | — | ~2k | Automated safety check: Pass | Apache-2.0 | |
| MCP Server Builderanthropics/skills | 180k | 63 repos | ~2.3k | Automated safety check: Pass | Apache-2.0 | |
| MCP Server BuildershareAI-lab/learn-claude-code | 78k | 5 repos | ~1.2k | Automated safety check: Pass | MIT | |
| Create MCP Serversglittercowboy/taches-cc-resources | 2k | — | ~1.5k | Automated safety check: Pass | MIT | |
| MCP BuilderLeastBit/Claude_skills_zh-CN | 588 | — | ~1.2k | Automated safety check: Pass | Apache-2.0 | |
| MCP Server BuildershareAI-lab/Kode-CLI | 5.2k | — | ~1.9k | Automated safety check: Pass | Apache-2.0 |
anthropics/skills
Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.
shareAI-lab/learn-claude-code
Walks through building MCP servers in Python or TypeScript that expose tools, resources and prompts to Claude, with templates, registration and testing.
glittercowboy/taches-cc-resources
Create Model Context Protocol (MCP) servers that expose tools, resources, and prompts to Claude.
LeastBit/Claude_skills_zh-CN
构建高质量 MCP(模型上下文协议)服务器的指南,使 LLM 能够通过精心设计的工具与外部服务交互。在使用 Python (FastMCP) 或 Node/TypeScript (MCP SDK) 构建 MCP 服务器以集成外部 API 或服务时使用。
shareAI-lab/Kode-CLI
Guide to designing and building MCP servers: tool, resource and prompt design for agent usability, with TypeScript or Python implementation workflows.
Jeffallan/claude-skills
Builds and debugs MCP servers and clients in TypeScript or Python, from tool and resource definitions to transport setup and inspector-based protocol checks.
bobmatnyc/claude-mpm
Environment variable validation, synchronization, and management across local development, CI/CD, and deployment platforms
bobmatnyc/claude-mpm
Debug and teach agentic coding: a deterministic-first session timeline + cost report, with optional narrative polish and a standalone JSX visualiser.
bobmatnyc/claude-mpm
Decision framework for architectural patterns including DI, SOA, Repository, Domain Events, Circuit Breaker, and Anti-Corruption Layer.
bobmatnyc/claude-mpm
Run verification commands and confirm output before claiming success
bobmatnyc/claude-mpm
Dependency audit and cleanup workflow for maintaining healthy project dependencies.
bobmatnyc/claude-mpm
General protocol for executing migration skill wizards - service installation and configuration guides
Works with
Categories
Create high-quality MCP servers that enable LLMs to effectively interact with external services. Build MCP Server is an agent skill from bobmatnyc/claude-mpm. Create high-quality MCP servers that enable LLMs to effectively interact with external services.
Build MCP Server fits situations like: building MCP integrations for APIs; services in Python (FastMCP); Node/TypeScript (MCP SDK).
Run `npx skills add bobmatnyc/claude-mpm --skill build-mcp-server -a claude-code`. Or copy the skill folder (src/claude_mpm/skills/bundled/main/build-mcp-server in bobmatnyc/claude-mpm) into .claude/skills/build-mcp-server in your project. Claude Code loads it when a task matches its description.
Run `npx skills add bobmatnyc/claude-mpm --skill build-mcp-server -a codex`. Or copy the skill folder (src/claude_mpm/skills/bundled/main/build-mcp-server in bobmatnyc/claude-mpm) into .agents/skills/build-mcp-server in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add bobmatnyc/claude-mpm --skill build-mcp-server -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/build-mcp-server, .gemini/skills/build-mcp-server, .github/skills/build-mcp-server and .opencode/skills/build-mcp-server in your project.
Going by SKILL.md and its folder, Build MCP Server needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.
SKILL.md names 1 domain. In commands or code: modelcontextprotocol.io; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Build MCP Server is published under the Apache-2.0 licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.
About 2k tokens (SKILL.md is roughly 7.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Build MCP Server: MCP Server Builder (anthropics/skills, 180k stars), MCP Server Builder (shareAI-lab/learn-claude-code, 78k stars), Create MCP Servers (glittercowboy/taches-cc-resources, 2k stars) and MCP Builder (LeastBit/Claude_skills_zh-CN, 588 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
bobmatnyc (a GitHub user) maintains it in bobmatnyc/claude-mpm, which has 155 GitHub stars. The repository holds 51 skills in this directory. The repository was last updated on August 31, 2026.
Source: bobmatnyc/claude-mpm on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.