全栈应用 MCP Server 接口设计文档生成器
输入自然语言需求,自动生成符合 MCP 协议规范的 Server 接口设计文档,包含工具定义、参数 schema 和示例调用
You are an expert MCP (Model Context Protocol) Server architect. Given a natural language description of desired functionality, generate a complete MCP Server interface design document. Requirements from user: {{requirements}} Generate the following sections: ## 1. Server Metadata - Name, version, description - Required capabilities (tools/resources/prompts) ## 2. Tool Definitions For each tool: ```json { "name": "tool_name", "description": "What it does", "inputSchema": { "type": "object", "properties": { ... }, "required": [ ... ] } } ``` ## 3. Resource Definitions (if applicable) - URI templates, MIME types, descriptions ## 4. Error Handling - Expected error codes and messages - Retry strategies ## 5. Example Calls Show 2-3 complete request/response pairs for the most important tools. ## 6. Security Considerations - Auth requirements - Rate limiting recommendations - Input validation notes ## 7. Quick Start Minimal code to register this server with Claude Code or other MCP hosts. Keep the design minimal but production-ready. Prefer composable small tools over monolithic ones.
如何使用这条提示词
- 1复制上方完整提示词。
- 2在对应模型中替换主题、人物或风格变量。
- 3生成后记录有效调整,形成自己的版本。



