mcp-builder · Anthropic
Créer un serveur MCP
Guide la conception d’outils utiles et bien délimités pour les serveurs Model Context Protocol.
Instructions originales de la skill
Le modèle technique reste en anglais afin de fonctionner directement avec les agents compatibles. Les explications, critères de choix et vérifications sont localisés.
Installation
npx skills add anthropics/skills --skill mcp-builder
Agent Skills CLI
Idéal pour
- Wrapping an internal or public API
- Designing agent-facing tools
- Improving an existing MCP server
Ce que la skill apporte
- Turns an integration goal into a small set of meaningful MCP tools.
- Guides schemas, errors, pagination, authentication boundaries, and documentation.
- Encourages evaluation with realistic agent tasks instead of endpoint-count goals.
Workflow conseillé
- Study the service and define the user jobs the server must support.
- Design concise tools with predictable inputs, outputs, and failure behavior.
- Implement, inspect with an MCP client, and test representative multi-step tasks.
Points à vérifier avant validation
- Never place production secrets in skill instructions or generated examples.
- Review scopes, write actions, destructive operations, and rate-limit handling.
- Pin and audit dependencies before deploying the generated server.