Guide for building MCP (Model Context Protocol) servers that connect LLMs to external APIs, using Python FastMCP or the Node/TypeScript MCP SDK.
Install
npx skills add anthropics/skills --skill mcp-buildernpx skills add anthropics/skills --skill mcp-builder -a claude-code -gnpx skills add anthropics/skills --skill mcp-builder -a codex -ggemini skills install https://github.com/anthropics/skills.git --path skills/mcp-buildergh skill install anthropics/skills mcp-buildergit clone --depth 1 https://github.com/anthropics/skills /tmp/anthropics__skills
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/anthropics__skills/skills/mcp-builder ~/.claude/skills/mcp-builder # Claude Code
cp -R /tmp/anthropics__skills/skills/mcp-builder ~/.agents/skills/mcp-builder # Codex, Cursor, Gemini CLI, Copilot, OpenCodeTry this task
Design an MCP service from this API documentation. Define tools, inputs, errors and authentication, then implement a minimal read-only example.
- What to provide
- API documentation, task scenarios, authentication and runtime environment.
- What to review
- Check input validation, errors and authentication boundaries, then verify with an actual client.