PRD Creator MCP Server

PRD Creator MCP Server

Enables AI systems to generate detailed, well-structured Product Requirements Documents (PRDs) using various AI providers or templates through the Model Context Protocol.

Category
访问服务器

README

PRD Creator MCP Server

Build Status npm version License: MIT GitHub issues

A specialized Model Context Protocol (MCP) server dedicated to creating Product Requirements Documents. This MCP server enables AI systems connected to MCP clients to generate detailed, well-structured product requirement documents through a standardized protocol interface.


<!-- TOC -->

Quick Start

Via NPX (recommended):

npx -y prd-creator-mcp

Via Docker:

docker pull saml1211/prd-creator-mcp
docker run -i --rm saml1211/prd-creator-mcp

Configure Providers:

  • Copy .env.example to .env and set your API keys and preferred models.
  • Optionally, update provider credentials at runtime using the update_provider_config MCP tool.

Get Help:

npx prd-creator-mcp --help

Features

  • PRD Generator: Create complete PRDs based on product descriptions, user stories, and requirements
  • AI-Driven Generation: Generate high-quality PRDs using multiple AI providers
  • Multi-Provider Support: Choose from OpenAI, Google Gemini, Anthropic Claude, or local models
  • Provider Configuration: Customize provider options for each PRD generation
  • Fallback Mechanism: Gracefully falls back to template-based generation when AI is unavailable
  • PRD Validator: Validate PRD completeness against industry standards and customizable rule sets
  • Template Resources: Access a library of PRD templates for different product types
  • MCP Protocol Support: Implements the Model Context Protocol for seamless integration with MCP clients

Installation

Prerequisites

  • Node.js v16 or higher
  • npm or yarn

Install from source

  1. Clone the repository:
git clone https://github.com/Saml1211/prd-mcp-server.git
cd prd-mcp-server
  1. Install dependencies:
npm install
  1. Build the project:
npm run build
  1. Run locally:
npm start
  1. For development with hot reload:
npm run dev

API Reference

The PRD Creator MCP Server provides the following tools:

generate_prd

Generate a complete PRD document using AI or template-based generation.

Parameters:

  • productName: The name of the product
  • productDescription: Description of the product
  • targetAudience: Description of the target audience
  • coreFeatures: Array of core feature descriptions
  • constraints (optional): Array of constraints or limitations
  • templateName (optional): Template name to use (defaults to "standard")
  • providerId (optional): Specific AI provider to use (openai, anthropic, gemini, local, template)
  • additionalContext (optional): Additional context or instructions for the AI provider
  • providerOptions (optional): Provider-specific options like temperature, maxTokens, etc.

Example:

{
  "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",
  "providerId": "openai",
  "additionalContext": "Focus on enterprise features and security",
  "providerOptions": {
    "temperature": 0.5,
    "maxTokens": 4000
  }
}

validate_prd

Validate a PRD document against best practices.

Parameters:

  • prdContent: The PRD content to validate
  • validationRules (optional): Array of validation rule IDs to check

Example:

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

list_validation_rules

List all available validation rules.

list_ai_providers

List all available AI providers and their availability status.

Example response:

[
  {
    "id": "openai",
    "name": "OpenAI",
    "available": true
  },
  {
    "id": "anthropic",
    "name": "Anthropic Claude",
    "available": false
  },
  {
    "id": "gemini",
    "name": "Google Gemini",
    "available": false
  },
  {
    "id": "local",
    "name": "Local Model",
    "available": false
  },
  {
    "id": "template",
    "name": "Template-based (No AI)",
    "available": true
  }
]

Template Management

The server provides additional tools for template management:

  • create_template: Create a new PRD template
  • list_templates: List all available templates
  • get_template: Get a specific template
  • update_template: Update an existing template
  • delete_template: Delete a template
  • export_templates: Export templates to JSON
  • import_templates: Import templates from JSON
  • render_template: Render a template with placeholders

System Management

  • get_provider_config: Get current provider configuration
  • update_provider_config: Update provider configuration
  • health_check: Check system health and provider availability
  • get_logs: Get recent system logs
  • stats: Get usage statistics

Provider Configuration & Hot Reload

Configuring AI Providers

You can configure provider credentials and models in two ways:

  • .env file: Place a .env file in your project or working directory. Use .env.example as a template. All standard AI provider variables (e.g., OPENAI_API_KEY, OPENAI_MODEL, etc.) are supported.
  • Live protocol tools: Update provider configuration at runtime using the update_provider_config tool via your MCP client. These changes are persisted and take effect immediately—no server restart required.

The server will always merge persistent config (from protocol tools) with environment variables, giving precedence to protocol/tool updates.

Hot Reload & Automation

When you update provider settings using either method, changes take effect instantly for all new requests. This enables:

  • Seamless automation and scripting via MCP tool interfaces
  • Hassle-free credential rotation and model switching
  • Dynamic environment support for CI/CD and cloud deployments

Integrations

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "prd-creator": {
      "command": "npx",
      "args": ["-y", "prd-creator-mcp"]
    }
  }
}

Glama.ai

Available at: https://glama.ai/mcp/servers/@Saml1211/PRD-MCP-Server

Cursor

Add to your Cursor MCP client configuration:

{
  "mcpServers": {
    "prd-creator": {
      "command": "npx",
      "args": ["-y", "prd-creator-mcp"]
    }
  }
}

Roo Code

Add to .roo/mcp.json:

{
  "mcpServers": {
    "prd-creator-mcp": {
      "command": "npx",
      "args": ["-y", "prd-creator-mcp"]
    }
  }
}

Cline

Reference prd-creator-mcp in your MCP workflow definitions.

CLI Usage

Install Globally (optional)

You may also install the MCP server globally to expose the CLI:

npm install -g prd-creator-mcp

Then run:

prd-creator-mcp

Command Reference

  • prd-creator-mcp Runs the MCP server (STDIO transport). Use directly via npx or as a globally installed CLI for integration with MCP clients and tools.

Uninstall

To remove the global CLI:

npm uninstall -g prd-creator-mcp

CLI Options

View available command line options:

npx prd-creator-mcp --help

Docker

Building the Docker image

docker build -t prd-creator-mcp .

Running with Docker

docker run -i --rm prd-creator-mcp

With environment variables

docker run -i --rm -e OPENAI_API_KEY=your_key_here prd-creator-mcp

Contributing

Please read CONTRIBUTING.md and CODE_OF_CONDUCT.md before submitting issues or pull requests.

Changelog

All notable changes to this project are documented in CHANGELOG.md.

Appendix

Useful Links

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选