PRD Creator MCP Server

by Saml1211
Verified

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Built on Node.js runtime, enabling execution of the PRD Creator MCP server across different platforms.

PRD Creator MCP 服务器

专用于创建产品需求文档的模型上下文协议 (MCP) 服务器。该 MCP 服务器使连接到 MCP 客户端的 AI 系统能够通过标准化协议接口生成详细且结构良好的产品需求文档。

特征

  • PRD 生成器:根据产品描述、用户故事和需求创建完整的 PRD
  • PRD 验证器:根据行业标准和可定制的规则集验证 PRD 的完整性
  • 模板资源:访问不同产品类型的 PRD 模板库
  • MCP 协议支持:实现模型上下文协议,与 MCP 客户端无缝集成

安装

先决条件

  • Node.js v16 或更高版本
  • npm 或 yarn

从源安装

  1. 克隆存储库:
git clone https://github.com/yourusername/prd-creator-mcp.git cd prd-creator-mcp
  1. 安装依赖项:
npm install
  1. 构建项目:
npm run build

用法

运行服务器

使用以下命令运行服务器:

npm start

服务器将默认使用 STDIO 传输运行,这使其与 MCP 客户端兼容。

添加到 MCP 客户端配置

要将 PRD Creator MCP 服务器与 MCP 客户端(如 Claude Desktop 或 Cursor)一起使用,请将其添加到您的 MCP 设置中:

对于 Claude Desktop(在 macOS 上),添加到~/Library/Application Support/Claude/claude_desktop_config.json

{ "mcpServers": { "prd-creator": { "command": "node", "args": ["/path/to/prd-creator-mcp/dist/index.js"], "disabled": false } } }

可用工具

该服务器提供以下工具:

1. generate_prd

从模板生成完整的 PRD 文档。

参数:

  • productName :产品名称
  • productDescription :产品描述
  • targetAudience :目标受众的描述
  • coreFeatures :核心功能描述数组
  • constraints (可选):约束或限制的数组
  • templateName (可选):要使用的模板名称(默认为“标准”)

例子:

{ "productName": "TaskMaster Pro", "productDescription": "A task management application that helps users organize and prioritize their work efficiently.", "targetAudience": "Busy professionals and teams who need to manage multiple projects and deadlines.", "coreFeatures": [ "Task creation and management", "Priority setting", "Due date tracking", "Team collaboration" ], "constraints": [ "Must work offline", "Must support mobile and desktop platforms" ], "templateName": "comprehensive" }

2. validate_prd

根据最佳实践验证 PRD 文档。

参数:

  • prdContent :需要验证的 PRD 内容
  • validationRules (可选):要检查的验证规则 ID 数组

例子:

{ "prdContent": "# My Product\n\n## Introduction\n...", "validationRules": ["has-introduction", "minimum-length"] }

3. list_validation_rules

列出所有可用的验证规则。

可用资源

服务器通过以下 URI 模式提供对 PRD 模板的访问:

  • prd://templates/{templateName}

可用模板:

  • standard :包含必要部分的基本 PRD 模板
  • comprehensive :包含扩展部分的详细 PRD 模板

发展

项目结构

prd-creator-mcp/ ├── src/ │ ├── config/ # Configuration management │ ├── storage/ # Database and caching │ ├── tools/ # Tool implementations │ ├── resources/ # Resource implementations │ ├── templates/ # Initial PRD templates │ └── index.ts # Main entry point ├── tests/ # Test files ├── dist/ # Compiled output └── README.md # Documentation

运行测试

npm test

执照

麻省理工学院


由 Sam Lyndon 开发

-
security - not tested
F
license - not found
-
quality - not tested

专门的模型上下文协议服务器,使AI系统能够通过标准化接口生成详细、结构良好的产品需求文档。

  1. Features
    1. Installation
      1. Prerequisites
      2. Install from source
    2. Usage
      1. Running the server
      2. Adding to MCP client configuration
      3. Available Tools
      4. Available Resources
    3. Development
      1. Project Structure
      2. Running Tests
    4. License
      ID: ltinqqw9a4