certified-mcp
certified-mcp
Give your agent something it cannot talk its way past.
An MCP server exposing certificate verification, equivalence proving, and pre-registration sealing as tools. An agent that edits a design, a proof, or a benchmark config has no way to check its own work — so it reports success. These tools return a verdict re-derived from the artifact, not asserted about it.
Install
pip install "certified-mcp @ git+https://github.com/nickharris808/certified-mcp.git@main"Not on PyPI yet. The name certified-mcp is unregistered, so pip install certified-mcp installs nothing today — use the line above, which installs exactly the same code. When the package is published this note goes and the plain name works.
Its four dependencies are declared as git references, so that one line pulls them too.
30-second quickstart
Add to your MCP client config (Claude Desktop, Cursor, or any MCP host):
{
"mcpServers": {
"certified": { "command": "certified-mcp" }
}
}Then ask your agent something it would otherwise have to guess at:
"I refactored this adder. Prove it's still equivalent to the original."
prove_equivalence(inputs=["a","b"], circuit_a=[...], circuit_b=[...])
-> {"verdict": "EQUIVALENT", "receipt_verifies": true}Or, when it isn't:
-> {"verdict": "COUNTEREXAMPLE", "counterexample": {"1": true, "2": false}}The agent gets a concrete failing input, not "this appears correct."
Tools
Tool | What it does |
| Re-derives a manufacturing admission verdict from the certificate's own numbers; checks integrity; refuses a bundle that certifies nothing |
| Turns a REFUTED/REJECT verdict into a specific list: which loci are safe, unsafe or straddling, the margin each had, the margin it needed, and how far short it fell. Computes nothing new — it re-presents the arithmetic the verdict already rests on |
| Re-runs a DRAT proof (or re-simulates a counterexample) over the committed formula |
| Proves two small combinational circuits equivalent, or returns a differing input |
| Checks a DRAT refutation from any solver; names the first lemma that doesn't follow |
| Seals acceptance criteria before measuring, without revealing them |
| Detects criteria changed after sealing |
| Scores a verifier against the failure atlas |
| Explains a defect class: why the forgery looks valid, and what catches it |
Why an agent benefits specifically
Three failure modes this addresses directly:
Confident wrongness. An agent that refactors logic will say it preserved behaviour.
prove_equivalencereturns a counterexample input when it didn't.Moving the goalposts. An agent tuning against a benchmark will quietly relax the threshold.
seal_criteriabefore the run makes that detectable — including by the agent itself.Trusting a proof it was handed.
check_drataccepts proofs from any solver and re-checks every lemma, so a fabricated proof is caught rather than cited.
Everything here is local and read-only
No network. Nothing uploaded. No telemetry. Every tool either reads a file you name or computes over arguments you pass.
None of these tools can produce a manufacturing certificate — only check one. That asymmetry is deliberate and is enforced by a test. Checking is cheap and should be everywhere; producing a certificate worth checking requires the certification engine, which is a separate closed product.
Implementation
Standard library only, MCP stdio protocol, ~300 lines. You can read the whole server before deciding to run it — which, for something you are wiring into an agent with filesystem access, you should.
Licence
Apache-2.0.
Honest scope — what these tools prove, and what they do not
Question | Answer |
Can an agent check a certificate, proof or seal with these? | Yes, all locally and read-only. |
Does | No. It means the tool abstained for want of a trust anchor. An agent must not report it as either pass or fail. |
Can any tool here produce a certificate? | No — enforced by a test. These are checkers. |
Does anything here validate physics? | Never. |
The rest of the toolkit
A recorded verdict is a claim to be checked, never an input to be trusted. Nine repositories are built on it.
The whole story, and the objections answered, live at certified-oss — start there if this is the first one you have opened.
Re-derive a manufacturing certificate's verdict. Stdlib only. | |
Prove two circuits equivalent, with a receipt anyone can re-check. | |
Seal acceptance criteria before you measure. | |
28 labelled forgeries and a metric no degenerate verifier can win. | |
The above, as tools your AI agent can call. | |
The verifier in a browser. Nothing uploaded. |
Try it now, no install: 🔏 the verifier Space · Browse the forgeries: 📊 the atlas dataset
Where the free edition stops
Everything here checks. None of it produces a certificate that is physically meaningful — that needs sound enclosures over real process models, which is a separate commercial product. If you need certificates rather than a way to check them, that is the conversation to have.
Documentation
PERFORMANCE.md — measured, including what was not optimised
CONTRIBUTING.md — Contributing
Portfolio-wide: Tutorial · Concepts · FAQ · Architecture · API reference
Licence, citation, contributing
Apache-2.0 — see LICENSE. If you use this, please cite it: CITATION.cff.
The most valuable contribution is a forgery this project fails to catch — see CONTRIBUTING.md and the portfolio-wide guide.
A recorded verdict is a claim to be checked, never an input to be trusted.
certified-mcp is one of nine repositories built on that. The whole story, and the objections answered,
live at certified-oss — start there if this
is the first one you have opened.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/nickharris808/certified-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server