mcp-builder · Anthropic
MCP Server 构建 Skill
指导设计边界清晰、真正有用的 Model Context Protocol 工具。
Skill 原始技术说明
技术模板保留英文,便于直接用于兼容的编程 Agent;页面说明、选型建议和检查步骤均已中文本地化。
安装方式
npx skills add anthropics/skills --skill mcp-builder
Agent Skills CLI
适合场景
- Wrapping an internal or public API
- Designing agent-facing tools
- Improving an existing MCP server
这个 Skill 能做什么
- 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.
推荐工作流程
- 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.
使用前需要检查
- 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.