帮助开发者梳理需求并规划合适的 MCP 服务器构建方案
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "build-mcp-server" 技能: 1. 下载 https://raw.githubusercontent.com/anthropics/claude-plugins-official/main/plugins/mcp-server-dev/skills/build-mcp-server/SKILL.md 2. 保存为 ~/.claude/skills/build-mcp-server/SKILL.md 3. 装好后重载技能,告诉我可以用了
我想把公司的 REST API 封装成 Claude 可用的 MCP 服务器。请先根据使用对象、认证方式、动作数量和是否需要 UI,帮我确定应该做远程 HTTP、MCPB 还是本地 stdio,并给出工具设计建议。
先进行需求澄清,再给出推荐的部署模型、认证方向和工具设计方案。
我想让 Claude 连接本地文件系统和桌面应用,只给团队内部使用。请帮我判断更适合 MCPB 还是本地 stdio,并说明原因和后续开发路线。
输出针对本地场景的部署建议,并说明适用人群、限制和开发方向。
我要把一个有上百个接口的平台接入 Claude。请根据接口数量帮我选择是一动作一工具,还是 search + execute 模式,并说明为什么。
给出适合大规模 API 封装的工具模式建议,并说明取舍依据。
开发者准备构建 MCP 服务器时,可先用这个技能梳理接入对象、用户范围、认证和交互需求,避免过早选错架构。它会帮助确定远程 HTTP、MCPB 或本地 stdio 路线。
当团队想把 SaaS、REST 或 GraphQL 服务暴露给 Claude 时,这个技能可作为入口,先判断推荐的部署模型,再规划工具设计方式。这样能减少后续重构成本。
如果工具需要中途向用户要输入,或需要更丰富的可视化展示,这个技能会帮助区分使用 elicitation、普通文本/JSON 返回,还是转向 MCP app widgets。
文档主要说明如何在真正编码前先完成 MCP 服务器方案设计。内容围绕需求澄清展开,包括它要连接什么、谁会使用、需要暴露多少动作、是否需要中途用户输入或富展示,以及上游服务采用何种认证。随后文档根据这些信息,帮助在远程 HTTP、MCPB、本地 stdio 等部署模型之间做出有倾向性的推荐,并提示相应的工具设计路径。
You are guiding a developer through designing and building an MCP server that works seamlessly with Claude. MCP servers come in many forms — picking the wrong shape early causes painful rewrites later. Your first job is discovery, not code.
Load Claude-specific context first. The MCP spec is generic; Claude has additional auth types, review criteria, and limits. Before answering questions or scaffolding, fetch https://claude.com/docs/llms-full.txt (the full export of the Claude connector docs) so your guidance reflects Claude's actual constraints.
Do not start scaffolding until you have answers to the questions in Phase 1. If the user's opening message already answers them, acknowledge that and skip straight to the recommendation.
Ask these questions conversationally (batch them into one message, don't interrogate one-at-a-time). Adapt wording to what the user has already told you.
| If it connects to… | Likely direction |
|---|---|
| A cloud API (SaaS, REST, GraphQL) | Remote HTTP server |
| A local process, filesystem, or desktop app | MCPB or local stdio |
| Hardware, OS-level APIs, or user-specific state | MCPB |
| Nothing external — pure logic / computation | Either — default to remote |
This determines the tool-design pattern — see Phase 3.
references/elicitation.md.@modelcontextprotocol/ext-apps. See build-mcp-app skill.references/auth.mdBased on the answers, recommend one path. Be opinionated. The ranked options:
A hosted service speaking MCP over streamable HTTP. This is the recommended path for anything wrapping a cloud API.
Why it wins:
Choose this unless the server must touch the user's local machine.
→ Fastest deploy: Cloudflare Workers — references/deploy-cloudflare-workers.md (zero to live URL in two commands)
→ Portable Node/Python: references/remote-http-scaffold.md (Express or FastMCP, runs on any host)
If a tool just needs the user to confirm, pick an option, or fill a short form, elicitation does it with zero UI code. The server sends a flat JSON schema; the host renders a native form. Spec-native, no extra packages.
…
它是构建 MCP 服务器的入口技能,重点不是直接写代码,而是先澄清需求。它会根据接入对象、用户范围、动作数量、交互需求和认证方式,推荐合适的部署模型与工具设计方向。
文档节选显示:封装云 API 时通常优先推荐远程 HTTP;涉及本地进程、文件系统、桌面应用、硬件或用户本地状态时,更偏向 MCPB 或本地 stdio。仅团队内部自用时,本地 stdio 可作为较易原型化的选择。
不会。文档节选明确强调第一步是需求发现,在回答完第一阶段关键问题之前,不应直接开始脚手架或实现。
帮助开发者把本地 MCP 服务打包成自带运行时的 .mcpb 安装包。
浏览 Anthropic 官方精选的 Claude Code 插件目录并快速发现可用工具
帮助开发者为 Claude Code 插件创建事件驱动 Hook,并校验工具调用与自动化流程。
生成可视化交互式单文件 HTML playground,便于探索配置并复制提示词
帮助开发者为 Claude Code 设计、编写和组织斜杠命令。
This skill should be used when the user asks about "plugin settings", "store plugin configuration", "user-configurable plugin", ".local.md files", "plugin state files", "read YAML frontmatter", "per-project plugin settings", or wants to make plugin behavior configurable. Documents the .claude/plugin-name.local.md pattern for storing plugin-specific configuration with YAML frontmatter and markdown content.
指导你构建高质量 MCP 服务器,安全集成外部 API 与服务供大模型调用。
帮助开发者快速搭建 MCP 服务器模板,并通过 CLI 扩展工具能力。
用于快速构建 MCP 服务器的 TypeScript 工具包,减少样板代码
用自然语言搭建本地 MCP 服务器与 AI 工具,并连接主流兼容助手
为 Claude、VS Code、Cursor 提供基础工具与自定义提示的 MCP 服务器
通过 MCP 协议与 REST 接口统一发布、编写和复用 AI 工具与技能。