Deterministic pre-execution audit for trading agents. PASS/WAIT/FAIL, reproducible verdict_hash.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by DJZS Trust MCP.
verify_pm_tradePre-execution audit of a prediction-market thesis (the gate described above).
query_pol_certificatesRead prior ProofOfLogic certificates from the Irys datachain.
query_agent_trustLIVE on-chain trust score (subgraph-indexed): totalAudits, failRate, latest verdict, action PROCEED/HALT/NO_HISTORY.
DJZS audits the reasoning behind an autonomous agent's move before capital is committed, and returns one of three verdicts PASS, WAIT, or FAIL with the specific reasoning defects flagged and a reproducible hash of the decision.
The wedge: transaction-security tools answer "is this transaction safe to sign?". DJZS answers a different question "should this position be taken at all?". A perfectly safe transaction can still rest on broken reasoning; DJZS is the layer that catches the bad thesis.
verify_pm_trade is deployed as a Model Context Protocol tool (streamable HTTP) on a
Cloudflare Worker. Add it to an MCP-capable agent in one line:
Then call verify_pm_trade with a free-text prediction-market trade thesis. It extracts the
reasoning, audits it against the calibrated DJZS-M taxonomy, and returns
PASS β PROCEED / FAIL / WAIT β HALT, with the flagged defects and a verdict_hash.
First external audit on record. An outside agent audited a benchmark thesis
(pm-block-008) through the deployed tool and received:
Behavioral parity against the offline batteries (verdict + flags + extracted input) is green. Hash parity is a pending re-mint the calibration key lapsed during deployment so the live hash above stands as the record until it is re-run.
Beyond the MCP transport above, verify_pm_trade is now payable over the HTTP x402
transport, live on Base mainnet:
An unpaid request returns an HTTP 402 challenge (exact scheme, eip155:8453, USDC, 2.00
USDC to the treasury); the client signs an EIP-3009 authorization and retries. This is the
same rail Base MCP, MetaMask Agent Wallet, and x402-axios speak, so any HTTP x402
client can pay the gate directly - no MCP integration required.
Free-refusal is preserved on both transports: an out-of-scope intent is answered 402 and never settled, so a refused audit costs nothing. Verified end to end on Base Sepolia (paid settlement plus an on-chain zero-delta refusal) before the mainnet deploy.
DJZS separates the model-bound step from the trusted step:
Why this shape: the verdict rules are model-independent. The LLM only turns messy text into a structured struct; the audit rules that decide the verdict are frozen code. Swap the model and the extraction quality changes the rules, weights, and hash do not.
Determinism by construction. The same AuditInput always yields the same verdict and the same
hash:
WAIT is never silent. An under-specified thesis β one where a decision-critical fact is
unknown β resolves to WAIT, mapped to HALT for the caller, with unknown_fields returned so
the agent knows exactly what to clarify. Abstention is a first-class outcome, never a guessed
PASS or FAIL.
DJZS-PM-v1.0) the calibrated, live pathWeights sum to 100; FAIL threshold 25. All four codes are implemented and calibrated.
| Code | Name | Severity | Weight | Detects |
|---|---|---|---|---|
| DJZS-M01 | NARRATIVE_RESOLUTION_GAP | CRITICAL | 30 | Thesis reasons about a narrative adjacent to the actual resolution question. |
| DJZS-M02 | FALSIFICATION_ABSENT | CRITICAL | 30 | No stated condition that would prove the thesis wrong before resolution. |
| DJZS-M03 | PROBABILITY_UNSOURCED | HIGH | 25 | Market or model probability asserted without verifiable basis. |
| DJZS-M04 | CONSENSUS_NO_EDGE | MEDIUM | 15 | Thesis restates consensus at an extreme price with no differentiated edge. |
M04 is advisory-grade. On its own it does not block a lone M04 rides a PASS with the flag on the certificate (weight 15 is below the FAIL threshold). It contributes to a block only by stacking with another finding (e.g. M03 + M04 = 40 β FAIL, as in the first audit above).
verify_pm_trade is PM-only: if the intent does not extract as a prediction-market thesis
(including the undetermined case), it returns in_scope: false rather than silently running a
perpetuals audit.
DJZS-LF-v1.1)Weights sum to 200. The taxonomy is frozen at 11 codes; 3 are wired live in the engine today (marked β). The rest are defined and weighted but not yet firing β coverage is stated honestly rather than implied.
| Code | Name | Category | Severity | Weight | Live |
|---|---|---|---|---|---|
| DJZS-S01 | CIRCULAR_LOGIC | Structural | CRITICAL | 30 | |
| DJZS-S02 | LAYER_INVERSION | Structural | HIGH | 25 | |
| DJZS-S03 | DEPENDENCY_GHOST | Structural | MEDIUM | 18 | |
| DJZS-E01 | ORACLE_UNVERIFIED | Epistemic | HIGH | 25 | β |
| DJZS-E02 | CONFIDENCE_INFLATION | Epistemic | MEDIUM | 18 | |
| DJZS-I01 | FOMO_LOOP | Incentive | MEDIUM | 16 | β |
| DJZS-I02 | MISALIGNED_REWARD | Incentive | MEDIUM | 16 | |
| DJZS-I03 | DATA_UNVERIFIED | Incentive | MEDIUM | 16 | |
| DJZS-X01 | EXECUTION_UNBOUND | Execution | CRITICAL | 15 | β |
| DJZS-X02 | RACE_CONDITION | Execution | HIGH | 9 | |
| DJZS-T01 | STALE_REFERENCE | Temporal | LOW | 12 |
Both weight tables are hash-locked (WEIGHTS_HASH / TAXONOMY_HASH, and the PM equivalents, are
exported constants); changing a weight is a deliberate re-derive, not a hot patch.
The deployed Worker exposes three tools over streamable HTTP at /mcp:
| Tool | What it does |
|---|---|
verify_pm_trade | Pre-execution audit of a prediction-market thesis (the gate described above). |
query_pol_certificates | Read prior ProofOfLogic certificates from the Irys datachain. |
query_agent_trust | LIVE on-chain trust score (subgraph-indexed): totalAudits, failRate, latest verdict, action PROCEED/HALT/NO_HISTORY. |
What the tool does not do yet β recorded deliberately, to be re-ruled before the gate is broadly promoted:
verify_pm_trade returns a verdict_hash but does not yet
anchor a certificate. Existing Irys certificates are prior-architecture lineage, not output of
this tool.The response contract today is: verdict, action, risk_score, flags, unknown_fields,
disagreements (the per-field sample-agreement telemetry), verdict_hash, extraction_failsafe,
in_scope, and taxonomy versions.
failCount counts WAIT as FAILquery_agent_trust excludes WAIT verdicts from both sides of the fail rate and reports them as
wait_count. Anyone reading the subgraph directly, rather than through the tool, gets a
different answer. djzs-subgraph/src/trust-score.ts handleScoreUpdated increments
failCount on an else branch (verdict == "PASS" / else), so a WAIT β an abstention, not a
failure β lands in failCount and inflates the rate for any agent that ever received one.
The Worker recomputes from per-audit verdicts, so the tool is right. The indexed counters are
not, and they stay that way until the mapping is corrected and re-indexed. Both numbers are
returned side by side (subgraph_counters, labelled) so the discrepancy is visible rather than
discovered. Tracked as a follow-up; deliberately not folded into the read-layer fix, because a
mapping change needs a subgraph redeploy and a re-index.
Before the MCP gate, DJZS ran as a paid HTTP audit service. Those endpoints remain for
backward compatibility the MCP gate above is the current surface. The tiers are metered in
USDC on Base Mainnet via an x-payment-proof header:
| Tier | Endpoint | Price | Memo limit |
|---|---|---|---|
| Micro | POST /api/audit/micro | $0.10 | 2,000 chars |
| Founder | POST /api/audit/founder | $1.00 | 5,000 chars |
| Treasury | POST /api/audit/treasury | $10.00 | unlimited |
POST /api/audit aliases the Micro tier, and an escrow-settled variant (POST /api/audit/escrow)
takes on-chain escrow in place of a payment header. These tiers run the older detection path, not
the Architecture C engine β treat their output as legacy.
The A2A manifest (agent.json) attests four DJZS contracts on Base Mainnet, each marked
verified. Source for each lives in contracts/:
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/djzs-trust-mcp)<a href="https://allmcps.com/mcp/djzs-trust-mcp"><img src="https://allmcps.com/api/badge/djzs-trust-mcp?style=directory" alt="DJZS Trust MCP on AllMCPs" /></a>