Back to Browse

Prompt Control Plane MCP Server

Developer ToolsLow Risk10.0MCP RegistryLocal
Free

Server data from the Official MCP Registry

Deterministic prompt governance and optimization before inference.

About

Deterministic prompt governance and optimization before inference.

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (1 strong, 1 medium validity signals). No known CVEs in dependencies. Imported from the Official MCP Registry.

7 files analyzed · No issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

file_system

Check that this permission is expected for this type of plugin.

env_vars

Check that this permission is expected for this type of plugin.

How to Install

Install command not verified. See the repository for install instructions.

View repository

Documentation

View on GitHub

From the project's GitHub README.

Prompt Control Plane

Prompt Control Plane governs prompts before they reach a model. Its deterministic engine analyzes and scores requests, applies configured policy, and can compile a structured prompt for review, without making LLM calls. Apache-2.0.

Core analysis and generic compilation are model-agnostic. Provider-specific compilation targets, routing, and cost estimates depend on supported targets and a maintained catalog. PCP does not evaluate model outputs.

Five-minute walkthrough

Follow a prompt from its first quality check to a compiled request, then see how to use the same checks in an application.

https://github.com/user-attachments/assets/e2699dbf-284d-4430-ae4f-3aec9842e6f5

Watch the original with English captions · Download the original MP4

1:50 · Inspect a request. Use pcp preflight to review input quality, risk, and the routing recommendation.

Preflight example showing the CLI command and the checks to review

2:20 · Refine the prompt. The authentication example makes the goal, compatibility constraint, and regression test explicit.

Optimize example showing the goal and constraints for an authentication fix

4:20 · Apply a check in your app. Import validate to get a pass flag, score, and issues before deciding whether to send the prompt.

Node.js example importing validate from pcp-engine/validate

Inside the governance console

Optimizer settingsPolicy enforcementCustom rule editor
Optimizer set to Markdown output with a quality threshold of 70Enforcement enabled with the standard risk thresholdRule editor with a validated pattern for verbose debug output
Choose an output format and quality threshold.Set when a policy violation blocks approval.Define a pattern, its severity, and its risk weight.

Select a screenshot to enlarge it, or try the governance console.

Install

Requires Node.js 20 or later.

npm install -g https://github.com/rishi-banerjee1/prompt-control-plane/releases/download/v5.4.4/pcp-engine-5.4.4.tgz
pcp optimize "Review the auth module and preserve its public API." --json

For a prompt stored in your repository, run pcp optimize --file prompts/review-auth.md --json.

The GitHub release is Apache-2.0. GitHub and the official MCP Registry are current at 5.4.4; npm remains at 5.3.3 until its separate package release. Check the getpcp.site changelog or GitHub Releases for version updates.

Use the GitHub Action

- uses: rishi-banerjee1/prompt-control-plane@v5.4.4
  with:
    subcommand: optimize
    files: "prompts/review-auth.md"

This runs PCP’s full prompt analysis and compilation pipeline, applies configured policy, and returns score, risk, and recommended changes. Use check with a threshold when CI needs a pass/fail gate across prompt files; use preflight for a compact score, risk, and routing summary.

See action.yml for every input and output.

Use PCP as an MCP server

The MCP server exposes deterministic analysis, policy, compilation, and audit tools. PCP is active in the official MCP Registry. Its request to join the GitHub MCP Registry is awaiting initial manual curation, so PCP is not searchable in GitHub’s registry yet. The release workflow publishes each new MCPB version to the official Registry automatically; GitHub can sync future versions after initial curation.

Use the TypeScript API

import { analyzePrompt, scorePrompt } from "pcp-engine";

const intent = analyzePrompt("Review the auth module and preserve its public API.");
const score = scorePrompt(intent);
console.log(score.total);

Develop

npm ci
npm run build
npm test
npm audit --audit-level=moderate

Reviews

No reviews yet

Be the first to review this server!