Verificate MCP
v1.9.0Merge gate for AI-written code: deterministic vetoes plus a Claude Haiku 5.5 review.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
validate_artifact Gate a deployable artifact against the Verificate production doctrine
Deterministic production-readiness gate for AI-built systems. Verifies the invariants that stop a system silently shipping broken: every critical component is PRESENT and LOADS, the import closure resolves (nothing assumed 'already on the box'), all runtime dependencies are declared, and health is a REAL fail-closed check. Returns approve/reject with a fix plan and ISO 27001 / ISO 5055 control evidence. Facts are gathered by the Verificate collector in your CI; the gate is the authority. Non-bypassable, fails closed. This is the control-plane sibling of validate_ai_output — code quality is o…
| Parameter | Type | Description |
|---|---|---|
artifact * | object | Collected artifact facts: {critical_components:[{name,loads:bool}], import_closure_ok:bool, undeclared_deps:[str], health_truthful:bool}. |
validate_ai_output Gate AI-written output (code or documents)
The merge gate for ANY AI-written output — code, documentation, reports, emails, configs: returns a binary approve/reject verdict with veto power — e.g. it rejects code calling the nonexistent stripe.Inventory API, an N+1 loop with the latency arithmetic to prove it, or a doc claiming success with no evidence. Deterministic checks (mock/placeholder veto, reward-gamed tests, standard-library calls that do not exist, secrets written to logs) run first and cannot be overridden; a Claude Haiku 5.5 review (ISO/IEC 25010, ISO/IEC 5055) then verifies third-party API calls and scores quality, accu…
| Parameter | Type | Description |
|---|---|---|
ai_output * | string | The AI-generated output to gate — source code (a diff, function or whole file, any mainstream language) or prose (documentation, a report, an email, release notes). For reliable latency keep one sub… |
context | object | string | Optional review context — an object like {"language": "cpp", "scale": "10k req/s", "unit_id": "U31", "goal_id": "G2", "delivery_drift": ["migration 048 applied, not committed"]} ('language' sharpens… |
expected_input_sha256 | string | Optional SHA-256 (hex) of the exact UTF-8 bytes you intend to submit. A mismatch is refused before any review, proving the gate saw the file you meant. |
previous_receipt_id | string | Optional receipt_id of the review this submission revises or adjudicates; recorded to link the review history. |
validation_type | string | What the output is: 'code_generation' (default) for source code; 'documentation', 'report', 'email', 'text', ... for prose (code-marker gates are skipped, integrity gates and the frontier review still… |
validate_plan Gate an implementation plan
The gate for PLANS, designs and specs — run BEFORE any code is written, the cheapest place to catch a bad design. Returns the same binary verdict shape as validate_ai_output, with findings on completeness, feasibility, performance and scalability implications, security risks and missing considerations (e.g. it rejects a plan that polls an API every 100ms per client, with the request-volume math). Read-only: nothing is executed or stored beyond the verdict. Use validate_ai_output for the code that follows.
| Parameter | Type | Description |
|---|---|---|
plan * | string | The implementation plan, design or spec to validate, as plain text or markdown — e.g. a numbered migration plan or an architecture sketch. |
context | object | Optional constraints the review should weigh, e.g. {"system": "payments API", "scale": "1M users", "constraints": "PostgreSQL only"}. |
expected_input_sha256 | string | Optional SHA-256 (hex) of the exact UTF-8 bytes you intend to submit. A mismatch is refused before any review, proving the gate saw the file you meant. |
previous_receipt_id | string | Optional receipt_id of the review this submission revises or adjudicates; recorded to link the review history. |
analyze_code Advisory code deep-dive
Advisory deep-dive on existing code — scores and findings, deliberately NO pass/fail verdict, so it never blocks an agent. Surfaces performance hot paths, scalability cliffs, reliability gaps and tech debt with concrete latency/throughput arithmetic (e.g. 'O(n²) dedup: ~4s at 10k items'). Read-only: the code is analyzed, never executed. Use it to understand a validate_ai_output rejection or review inherited code; use validate_ai_output when you need an accept/reject decision.
| Parameter | Type | Description |
|---|---|---|
code * | string | The source code to analyze — a function, file or pasted excerpt. |
analysis_type | string | Lens for the review: 'quality' (default, broad ISO/IEC 25010 pass) or a focused pass on one dimension. |
language | string | Source language, e.g. 'python', 'typescript', 'cpp', 'sql', 'swift'. Inferred if omitted; stating it sharpens findings. |
generate_code Generate gated code
Generate code and gate it in one step: an LLM writes the implementation, then the same protection engine as validate_ai_output vets it — retrying generation when the gate rejects. If every attempt is vetoed you still receive the last attempt, clearly marked validated:false with the gate findings — rejected code is never presented as clean. Generation runs on our infrastructure; nothing executes in your environment.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | What to build, with any constraints worth enforcing — e.g. 'a rate-limited retry decorator with exponential backoff, stdlib only'. |
language | string | Target language for the generated code, e.g. 'python' (default), 'typescript', 'go', 'sql'. |
max_tokens | integer | Generation budget. The default 4000 fits most functions/classes; raise it for multi-file scaffolds. |