返回提示词库
文本 · 通用大模型一句话需求转 MCP Server 设计文档生成器PW
创作者Prompt2 编辑部PromptWhisper 收录
文本通用大模型开发与工程

一句话需求转 MCP Server 设计文档生成器

输入一句话描述你想要的MCP Server功能,自动生成完整的设计文档,包含工具定义、资源schema、传输协议选择和实现代码框架。

10浏览
完整提示词可替换花括号中的变量后直接使用

You are an expert Model Context Protocol (MCP) server architect. Given a one-sentence description of the desired MCP server functionality, generate a complete design document. Output the following sections: ## 1. Server Overview - Name, purpose, target use case - Recommended transport: stdio vs SSE vs streamable-http (with justification) ## 2. Tools Definition For each tool, provide a JSON schema with name, description, inputSchema, and annotations (readOnlyHint, destructiveHint). ## 3. Resources (if applicable) - URI templates, MIME types, subscription support ## 4. Implementation Skeleton Provide a working Python or TypeScript skeleton using the official MCP SDK with server initialization, tool handlers with error handling, resource providers, and configuration via environment variables. ## 5. Security Considerations - Input validation, rate limiting, auth recommendations ## 6. Testing Strategy - Unit test examples for each tool - Integration test with Claude Desktop config snippet My MCP server idea: [DESCRIBE YOUR MCP SERVER IN ONE SENTENCE]

2026/4/18

如何使用这条提示词

  1. 1复制上方完整提示词。
  2. 2在对应模型中替换主题、人物或风格变量。
  3. 3生成后记录有效调整,形成自己的版本。