Scores, compiles & optimizes prompts for any LLM. Zero AI calls inside. Freemium.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"prompt-optimizer": {
"args": [
"-y",
"pcp-engine"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
The control plane for AI prompts. Score, enforce policy, lock config, and audit every prompt decision. Free tier included.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y 'pcp-engine' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked pcp-engine against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in ai-ml / developer-tools
Persistent memory using a knowledge graph
Manage Supabase projects — databases, auth, storage, and edge functions
XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.
A Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
MCP Security Weekly
Get CVE alerts and security updates for Claude Prompt Optimizer MCP Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
The control plane for AI prompts. Score, enforce policy, lock config, and audit every prompt decision. Free tier included.
# Install globally (requires Node.js 18+)
npm install -g pcp-engine
# Pre-flight: classify, score, route, and enforce policy in one call
pcp preflight "your prompt here" --json
# Run the guided demo
pcp demo
Two powerhouse commands:
| Command | What it does |
|---|---|
pcp preflight "prompt" | The lead command. Classify, assess risk, route model, score — one call covers 90% of use cases |
pcp optimize "prompt" | Full pipeline. Analyze, compile, surface blocking questions, produce PreviewPack for approval |
Supporting commands:
| Command | What it does |
|---|---|
pcp check "prompt" | Quick quality score + top issues |
pcp score "prompt" | Full 5-dimension quality breakdown |
pcp cost "prompt" | Cost estimate across 10 models |
pcp benchmark | Run 15-prompt regression suite |
Free tier gives you 50 optimizations/month to try it out.
# Pre-flight a vague prompt — see why it scores low
pcp preflight "make the code better" --json
# Pre-flight a well-specified prompt — see the full analysis
pcp preflight "Refactor auth middleware in src/auth/middleware.ts to use JWT. Do not modify the user model." --json
# Run the full optimization pipeline (compile + blocking questions + approval)
pcp optimize "Build a REST API with auth" --json
# Quick quality check on all prompts in a directory
pcp check --file "prompts/**/*.txt"
# Run the guided demo
pcp demo
# .github/workflows/prompt-quality.yml
- uses: rishi-banerjee1/prompt-control-plane@v5
with:
subcommand: preflight
files: "prompts/**/*.txt"
# .github/workflows/pcp.yml
name: Prompt Quality Gate
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: rishi-banerjee1/prompt-control-plane@v5
with:
subcommand: preflight
files: 'prompts/**/*.txt'
threshold: 70
comment: 'true' # Posts results as PR comment
Run optimize in CI (full pipeline):
- uses: rishi-banerjee1/prompt-control-plane@v5
with:
subcommand: optimize
files: 'prompts/**/*.txt'
This action expects your repo to be checked out (
actions/checkout). Without it, file globs will match nothing.
SHA-pinned example (for enterprise users):
- uses: rishi-banerjee1/prompt-control-plane@abc123def # SHA-pinned
with:
version: '5.0.0' # Required when pinning by SHA
files: 'prompts/**/*.txt'
threshold: 70
Notes:
pcp via npm install --prefix into $RUNNER_TEMP, then runs the binary. Falls back to prompt-lint for v4 installs.@v5 maps to npm @5 (latest 5.x). Use @v5.0.0 for exact pinning.subcommand input accepts check (default), preflight, optimize, or score. Use preflight for CI gates.