add_validation_rule
Add a custom validation rule
Generate a product requirements document from a template you control, validate it against rules you can add to, and keep both collections under management — created, updated, exported and imported as JSON.
LABSCO SUMMARY
A prompt can write a product requirements document once. What separates this is that both halves are persisted and editable: templates are created, revised through update, and moved between machines as JSON, while validation rules are pattern-based and extensible, with list_all_rules showing yours next to the defaults. That turns "how we write PRDs" into something enforced rather than remembered. health_check covering the database and the providers together is a candid acknowledgement that generation depends on an external service that can be down.
A PRD server built around three managed collections — templates, validation rules and AI provider configuration — with generation, rendering and validation running over them.
For the generation tools, a configured AI provider — list_ai_providers reports which are available and update_provider_config takes the providerId, apiKey, baseUrl and model. The template and validation-rule tools work without one.
One command — npx -y prd-creator-mcp
USE CASES
Pick a template from the stored set, generate the document from product name, description, audience, core features and constraints, then run it through validation before anyone reads it.
Add the checks your reviewers keep repeating as named rules with a pattern, list them beside the defaults to see the whole rule set, and edit one when it turns out to be too strict.
Export the whole template set to a JSON file, import it on the other side, and confirm what landed. Deletion is a soft delete, so a template dropped by mistake is not gone from the store.
Render the template with the same inputs generation takes and get placeholder substitution only — useful when the document is boilerplate, or when no provider is configured.
Check the database and providers in one call, see which providers report themselves available, read the recent log lines from disk, and correct the stored apiKey, baseUrl or model for the provider that is failing.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
add_validation_ruleAdd a custom validation rule
create_templateCreate a new PRD template
delete_templateSoft-delete a PRD template by ID
delete_validation_ruleDelete a custom validation rule
export_templatesExport all PRD templates to a JSON file
generate_prdGenerate a Product Requirements Document from a template
get_logsRetrieve recent log entries from disk
get_provider_configRetrieve stored provider configuration overrides
get_templateGet a PRD template by ID or name
health_checkPerform system health check (DB + AI providers)
import_templatesImport PRD templates from a JSON file
list_ai_providersList all available AI providers and their availability status
list_all_rulesList all validation rules (default + custom)
list_templatesList all non-deleted PRD templates
list_validation_rulesList all available validation rules
render_templateRender a PRD template with placeholder substitution
statsRetrieve usage metrics for operations
update_provider_configUpdate stored provider configuration override
update_templateUpdate an existing PRD template
update_validation_ruleUpdate a custom validation rule
validate_prdValidate a PRD against best practices
BEFORE YOU INSTALL
21 tools when we connected. add_validation_rule, update_validation_rule, delete_validation_rule and list_all_rules are available but missing from the documentation. Without a provider key, generate_prd falls back to the template provider.
All 3 documented clients run the server on your machine.
CONTEXT COST
Rated by the size of the 21 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
npx -y prd-creator-mcp{
"mcpServers": {
"prd-creator": {
"command": "npx",
"args": [
"-y",
"prd-creator-mcp"
]
}
}
}{
"mcpServers": {
"prd-creator-mcp": {
"command": "npx",
"args": [
"-y",
"prd-creator-mcp"
]
}
}
}