PRD Creator MCP server

Streamlines PRD creation and validation with TypeScript-based templates stored in SQLite, enabling product teams to generate consistent, high-quality documentation directly within conversations.
Back to servers
Provider
Sam Lyndon
Release date
Mar 12, 2025
Language
TypeScript
Stats
15 stars

The PRD Creator MCP Server is a specialized tool that enables AI systems to generate detailed Product Requirements Documents through a standardized Model Context Protocol interface. It supports multiple AI providers and offers template-based generation for creating professional PRDs quickly and efficiently.

Installation

Prerequisites

  • Node.js v16 or higher
  • npm or yarn

Quick Installation

Using NPX (Recommended):

npx -y prd-creator-mcp

Using Docker:

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

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 the server:
npm start
  1. For development with hot reload:
npm run dev

Configuration

To configure the server with your preferred AI providers:

  1. Copy the .env.example file to .env
  2. Set your API keys and preferred models in the .env file
  3. Provider credentials can also be updated at runtime using the update_provider_config MCP tool

Usage

Available Tools

Generate PRD

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

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.

Example:

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

List Available Resources

These tools help you view available options:

  • list_validation_rules: Shows all available validation rules
  • list_ai_providers: Shows all available AI providers and their status
  • list_templates: Shows all available PRD templates

Template Management

The server includes tools for working with templates:

  • create_template: Create a new PRD template
  • get_template: Retrieve a specific template
  • update_template: Modify an existing template
  • delete_template: Remove a template
  • export_templates: Export all templates to JSON
  • import_templates: Import templates from JSON
  • render_template: Render a template with data

System Management

Tools for managing the server:

  • get_provider_config: View current provider configuration
  • update_provider_config: Update provider credentials or settings
  • health_check: Check system health and provider availability
  • get_logs: View recent system logs
  • stats: Review usage statistics

Integration with MCP Clients

Claude Desktop

Add to claude_desktop_config.json:

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

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"]
    }
  }
}

Glama.ai

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

Docker Usage

Run with Docker and specify environment variables:

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

CLI Options

View available command line options:

npx prd-creator-mcp --help

How to add this MCP server to Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "cursor-rules-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "cursor-rules-mcp"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later