Skip to main content
Glama
Njengah

PRD Generator MCP Server

by Njengah
README.md
# PRD Generator - Claude Desktop Extension

![PRD Generator Screenshot](images/prd-txt.png)

A simple Claude Desktop Extension (DXT) that generates Product Requirements Documents (PRDs) from README files with a single click.

## Features

- **One-click installation** - No complex setup or configuration files
- **Automatic PRD generation** from README files
- **File system access** - Read README files from any path
- **Time-saving documentation** - Generate structured PRDs in seconds
- **Cross-platform support** - Works on Windows, Mac, and Linux

## What This Extension Does

This extension provides a simple tool that:

1. Reads your project's README file
2. Extracts key information from the content
3. Generates a structured Product Requirements Document
4. Saves you time on documentation tasks

## Prerequisites

- **Claude Desktop** (latest version with DXT support)
- **Node.js** (bundled with Claude Desktop)
- **DXT Toolchain**: `npm install -g @anthropic-ai/dxt`

## Installation

### Option 1: Install Pre-built Extension

1. Download the latest `prd-generator.dxt` file from the releases
2. Open Claude Desktop
3. Go to **Settings > Extensions**
4. Drag the `.dxt` file into the window or click "Upload"
5. Click "Install"
6. Done!

### Option 2: Build from Source

```bash
# Clone the repository
git clone https://github.com/yourusername/prd-generator-dxt.git
cd prd-generator-dxt

# Install dependencies
npm install

# Test the server
npm start

# Package the extension
npx @anthropic-ai/dxt pack
```

## šŸ› ļø Usage

After installation, you can use the extension in Claude Desktop:

```markdown
Generate a PRD from my README at /path/to/your/readme.md
```

The extension will:

- Read your README file
- Extract the first 5 lines as the project description
- Generate a structured PRD with sections for:
  - Project Overview
  - Description
  - Key Features
  - Technical Requirements
  - Generation timestamp

## Project Structure

```markdown
prd-generator/
ā”œā”€ā”€ server/
│   └── index.js          # Main MCP server code
ā”œā”€ā”€ manifest.json         # Extension configuration
ā”œā”€ā”€ package.json         # Node.js dependencies
ā”œā”€ā”€ package-lock.json    # Dependency lock file
└── README.md           # This file
```

## šŸ”§ Development

### Running Locally

```bash
# Start the MCP server
npm start

# Or run directly
node server/index.js
```

### Building the Extension

```bash
# Package into .dxt file
npx @anthropic-ai/dxt pack
```

### Testing

1. Ensure your server runs without errors
2. Test with a sample README file
3. Verify the generated PRD format

## Generated PRD Format

The extension generates PRDs with the following structure:

```markdown
# Product Requirements Document

## Project Overview
Based on: [README file path]

## Description
[First 5 lines from README]

## Key Features
- Feature extraction from README
- Automated PRD generation
- Time-saving documentation

## Technical Requirements
- Node.js runtime
- File system access
- README file parsing

Generated on: [ISO timestamp]
```

## Contributing

1. Fork the repository
2. Create a feature branch: `git checkout -b feature/amazing-feature`
3. Commit your changes: `git commit -m 'Add amazing feature'`
4. Push to the branch: `git push origin feature/amazing-feature`
5. Open a Pull Request

## Todo / Future Enhancements

- [ ] Support for multiple README formats (rst, txt, etc.)
- [ ] Customizable PRD templates
- [ ] Integration with project management tools
- [ ] Advanced content extraction and analysis
- [ ] Support for configuration files (package.json, etc.)

## šŸ› Known Issues

- Path handling may vary between operating systems
- Large README files might cause performance issues
- Currently only supports UTF-8 encoded files

## šŸ“š Resources

- [Claude Desktop Extensions Documentation](https://docs.anthropic.com/claude/docs/desktop-extensions)
- [MCP SDK Documentation](https://docs.anthropic.com/claude/docs/mcp)
- [DXT Toolchain Repository](https://github.com/anthropic-ai/dxt)

## šŸ“„ License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

**Note**: This is a basic implementation demonstrating Claude Desktop Extensions. For production use, consider adding error handling, input validation, and more sophisticated README parsing.

## šŸš€ Quick Start

1. **Install Claude Desktop** (latest version)
2. **Download** the `.dxt` file
3. **Install** via Settings > Extensions
4. **Test** with: "Generate a PRD from my README at /path/to/readme.md"

TDQS

B3.2/5.0

Scored across 1 tool

Disambiguation5/5

With only a single tool, there is no possibility of confusing it with another. The purpose is clear and unambiguous.

Naming Consistency5/5

The sole tool name follows a clear verb_noun pattern in snake_case. Internal consistency is perfect since there is only one tool.

Tool Count3/5

One tool feels thin for a server labeled 'PRD Generator MCP Server', as it only covers a single action. However, the tool is not trivial; it performs a meaningful, focused task, so it is borderline rather than inadequate.

Completeness3/5

The domain is PRD generation, and the tool handles generating from a README, but there are no options for other input types, editing, validation, or export. This leaves notable gaps in a broader PRD workflow.

Maintenance

ActivityInactive
ResponsivenessNo issues