This release adds 3 notable features for engineering teams evaluating rollout.
✓ No known CVEs patched in this version
Summary
AI summaryFour new MCP tools add composable prompting pipeline and eval harness with CI gate.
Full changelog
Highlights
Four new MCP tools turn ClarifyPrompt's core operations into a composable pipeline. A single compose_prompt call runs the canonical happy path: clarify → ground OR optimize → critique → optional auto-revise — with a per-stage audit log so you can see exactly what ran.
┌─────────────┐ ┌─────────────────────┐ ┌──────────────┐
│ clarify │ → │ ground OR optimize │ → │ critique │
│ (optional) │ │ (core) │ │ (optional) │
└─────────────┘ └─────────────────────┘ └──────────────┘
New MCP tools (5)
clarify_with_user— 1–3 targeted clarifying questions for ambiguous prompts, each with asuggested_answeryou can accept verbatim, optional 2–4 quick-pickoptions, and adimensiontag. Short-circuits withclarificationNeeded: falseon confident, well-formed prompts so it pipelines cleanly in front ofoptimize_prompt.ground_prompt— Strict, retrieval-augmented variant ofoptimize_prompt. Caller-provided sources pinned at the highest priority — above project rules, above pinned instructions — and tracked individually in the trace asuser-source:N. Strict mode: zero non-empty sources → error.critique_prompt— LLM-as-judge. Scores a candidate prompt 0–10 across 5 default dimensions (clarity, specificity, intent_alignment, format_fitness, length_appropriateness) — or your own criteria — with per-dimension rationale + concrete suggestions, an overall score, and a verdict (accept/revise/reject). Belowrevise_threshold(default 7.0), returns animprovedPromptyou can drop in.compose_prompt— One MCP call runs the canonical pipeline. Auto-decides ground vs. optimize from whether you passedsources.pre_clarify: 'auto' | 'always' | 'never'.post_critique: trueadds a judge pass.auto_revise: truereplacesfinal_promptwith the rewrite when the verdict isn'taccept.UserProvidedSourceinjection point onoptimize_prompt— A new top-priority slot in the curator. Bothground_promptandcompose_promptuse it under the hood.
Tool count: 16 → 20.
Eval harness + CI gate
- 20 deterministic YAML fixtures under
evals/. Tool-aware: any fixture can targetoptimize_prompt(default) /clarify_with_user/ground_prompt/critique_prompt/compose_promptviainput.tool.npm run evalproduces a console summary + self-contained dark-themed HTML report. - CI-gated evals (opt-in). When
OPENAI_API_KEYis set as a repo secret, GitHub Actions runsnpm run evalagainstgpt-4o-minias a release gate. Off by default; nothing leaves your machine without the secret. - Eval baseline (qwen2.5-coder:7b-instruct-q4_K_M, single-model run): 16 passed / 1 failed / 3 skipped / 96% avg score across 20 fixtures. The lone failure (
analyzer-creative-media) is a deliberately retained signal — 7B coder-tuned models can't reliably classify creative-media prompts. Multi-model matrix perevals/README.md.
Compatibility
- Same env-var surface as 1.3.x.
- Same publish surface (
dist/+packs/+README.md+LICENSE+CHANGELOG.md+.env.example). - All pre-1.4 tools and result shapes are unchanged.
optimize_prompt's response shape is fully back-compat;userProvidedSourcesis a new optional field.
See CHANGELOG.md for the full list.
Install
npx clarifyprompt-mcp
Or as an MCP server:
{
"mcpServers": {
"clarifyprompt": {
"command": "npx",
"args": ["-y", "clarifyprompt-mcp"],
"env": {
"LLM_API_URL": "http://localhost:11434/v1",
"LLM_MODEL": "qwen2.5:7b"
}
}
}
}
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About LumabyteCo/clarifyprompt-mcp
MCP server for AI prompt optimization — transforms vague prompts into platform-optimized prompts for 58+ AI platforms across 7 categories (image, video, voice, music, code, chat, document).
Related context
Beta — feedback welcome: [email protected]