Skip to main content
Glama
stillos-notary-mcp

stillos-notary-mcp

stillos-notary-mcp

Verification infrastructure for the agentic economy. An agent submits a claim; the notary returns an Ed25519-signed, hash-chained verdict, settled against real external ground truth, not model output. Priced per call via x402; verification of a receipt is free.

Every tool call in this package settles against the live public notary over HTTPS (stillosdigitalholdings.com/notary). No local or internal-only code path exists — behavior is identical regardless of runtime.

Install

npx stillos-notary-mcp mcp

Or add to an MCP client config:

{
  "mcpServers": {
    "stillos-notary": { "command": "npx", "args": ["-y", "stillos-notary-mcp", "mcp"] }
  }
}

Related MCP server: Recommend Agentic Trust Layer

Tools

claim_verdict

Submits a claim and a resolver specification. Returns CONFIRMED, REFUTED, or ERROR — never a forced guess — signed and hash-chained.

Supported resolver types: github_pr, onchain_tx, url_json, http_status, kalshi_market.

$0.25 USDC (Base) via x402, billed on the first call - no free tier. The live route reports free_tier: "none" and free_limit_per_day: 0; a call without an attached payment returns the payment requirement, not a verdict.

stillos-notary-mcp claim "your-agent" "example.com returns 200" \
  '{"type":"http_status","url":"https://example.com","expect_code":200}'

verify_receipt

Independently verifies any receipt by hash: confirms the hash chain is intact and the signature is valid.

stillos-notary-mcp verify <receipt_hash>

file_dispute

Files a bonded dispute against a verdict receipt. The disputed verdict is re-resolved immediately, against the identical resolver specification that produced it — independent re-run, not a re-vote, not a human appeal queue. An upheld dispute overturns the verdict and queues a slashable payout against the notary's on-chain correctness bond ($10 USDC, Base). Dispute window: 48 hours from the original receipt's timestamp.

Paying for a paid tool (1.3.0)

Through 1.2.2 this package could only report the paywall: every paid tool returned { payment_required: true } and the call ended there. There was no way, anywhere in the package, to attach a payment and retry — the CLI told you to "attach payment and retry" using a mechanism that did not exist. 1.3.0 implements it.

Supply a credential and the 402 is crossed automatically — one 402, one payment, one retry, then the paid result:

const { callTool } = require('stillos-notary-mcp');

// 1. Preferred: your own payment-capable fetch. We never see a key.
const r = await callTool('screen_entity', { agent: 'me', entity: 'Acme Corp' },
                         { fetch: myX402Fetch });

// 2. Or a viem account / signer object.
await callTool('screen_entity', args, { account: myViemAccount });

// 3. Or, as a documented fallback, a raw key in the environment.
//    export STILLOS_NOTARY_WALLET_KEY=0x...
await callTool('screen_entity', args);

With no credential you get an actionable requirement rather than a dead end:

{
  "ok": false, "paid": false, "code": "PAYMENT_REQUIRED",
  "payment": { "amount_usd": 0.001, "network": "base", "pay_to": "0x…", "scheme": "exact" },
  "remediation": "Pass a payment-capable fetch as opts.fetch, a viem account as opts.account, or set STILLOS_NOTARY_WALLET_KEY, then call again."
}

What it refuses to pay. A 402 is untrusted input. The client will not sign for a network or scheme it does not expect (base / exact only), will not pay a malformed requirement missing payTo or an amount, and will not exceed a per-call ceiling ($1.50 default, STILLOS_NOTARY_MAX_USD or opts.maxUsd to change). It never retries more than once — a second 402 is a hard stop, not a backoff loop, so a rejected payment can never be re-signed into a double spend. Supplying no credential never spends anything. No key is received, logged, persisted, or placed in an error message.

Covered by test/payment-continuation.test.cjs (17 cases, local mocks, no real settlement).

Served unpaywalled at present. Measured 2026-11-21 against the live service: POST /notary/dispute answers without an x402 payment. The server's own manifest advertises a $0.25 filing fee, non-refundable either way, and that fee is not currently enforced — so this README states what the route does, not what the manifest says. If the paywall returns, a call without a payment gets the payment requirement (price, payTo, asset) and this package attaches the payment and retries when the caller has supplied one. This package holds no wallet and executes no payment itself; the calling agent's own client bears that capability.

A filing requires the verdict_object and the original_resolver_spec that produced the disputed verdict, plus a reason. Neither object is recoverable from the receipt hash — GET /notary/verify returns claim_sha256, not the verdict — so only the agent that made the original claim_verdict call holds them, and the server rejects a verdict_object that does not hash to the receipt. Keep the response you intend to dispute.

Measured 2026-11-21: sending only {agent, receipt_hash} — which is what the server's own published x402 input_schema for this route still advertises — gets HTTP 400 requires {verdict_receipt_hash, verdict_object, original_resolver_spec, agent, reason}. This package sends the fields the handler actually reads.

stillos-notary-mcp dispute "your-agent" <receipt_hash> \
  '{"verdict_object":{...},"original_resolver_spec":{...},"reason":"..."}'

screen_entity

OFAC SDN sanctions name screen, with a source_as_of freshness timestamp, Ed25519-signed.

$0.001 USDC (Base) via x402, billed on the first call - no free tier.

stillos-notary-mcp screen "your-agent" "Acme Corp"

distress_score

Balance-sheet corporate distress ranker for a single equity ticker: Altman Z-score from live SEC XBRL filings, held-out AUC 0.769 on 178 real Chapter 11 filings vs 71 date-matched controls. ~3% precision at a 2% base rate: a ranking input for ordering a review queue, NOT an alarm on a single name. The prior "71% sensitivity / 100% specificity" claim (n=14) is withdrawn. Ed25519-signed.

$0.25 USDC (Base) via x402, billed on the first call - no free tier.

stillos-notary-mcp distress "your-agent" AAPL

Why

Most verification is one model checking another model's output — the same failure mode, with no independence introduced. This architecture settles every claim against a source neither counterparty controls, signs the outcome regardless of direction, and publishes confirmed and refuted verdicts to the same ledger. Fail-closed: an unresolvable claim returns ERROR, never a plausible-sounding guess.

Live docs: https://stillosdigitalholdings.com/notary/docs

Available Tools

5 tools
claim_verdictAInspect

Submits a claim and returns a signed verdict: settled against real external ground truth (GitHub PR, on-chain tx, HTTP status, JSON field, Kalshi market, or multi-exchange price consensus), Ed25519-signed, hash-chained. Free tier — no account, no card. Returns CONFIRMED, REFUTED, or ERROR — never a forced guess.

Inputs: agent (required), claim (required), resolver (required).

distress_scoreAInspect

Balance-sheet corporate distress ranker for a single equity ticker: Altman Z-score computed from live SEC XBRL filings, held-out AUC 0.769 (178 real Chapter 11 filings vs 71 date-matched controls), Ed25519-signed. Free up to 3/agent/day, then $0.15 USDC (Base) via x402. Once the free tier is used up, a call without an attached x402 payment returns the payment requirement, not a verdict.

Inputs: agent (required), ticker (required).

file_disputeAInspect

Files a bonded dispute against a verdict receipt: the disputed verdict is re-resolved immediately against the identical resolver specification that produced it — independent re-run, not a re-vote. An upheld dispute overturns the verdict and queues a slashable payout against the notary's on-chain correctness bond. Paid: $1.00 USDC (Base) via x402 — no free tier. A call without an attached x402 payment returns the payment requirement (price, payTo, asset), not a verdict.

Inputs: agent (required), receipt_hash (required).

screen_entityAInspect

OFAC SDN sanctions name screen: matches a legal name against the OFAC Specially Designated Nationals list, with a source_as_of freshness timestamp, Ed25519-signed. Free up to 5/agent/day, then $0.001 USDC (Base) via x402. Once the free tier is used up, a call without an attached x402 payment returns the payment requirement, not a verdict.

Inputs: agent (required), entity (required).

verify_receiptAInspect

Independently verifies any StillOS notary receipt by its hash: confirms the hash chain is intact and the Ed25519 signature is valid. Read-only, free, no auth.

Inputs: hash (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 5 tools

    Disambiguation4/5

    The five tools have clearly differentiated purposes: sanctions screening, financial distress scoring, general claim resolution, dispute filing, and receipt verification. The only mild overlap is between claim_verdict and verify_receipt (both concern 'checking' something), and screen_entity is essentially a specialized claim resolver, but the descriptions draw explicit lines between resolving new claims and validating existing signed receipts.

    Naming Consistency4/5

    Four tools follow a clean verb_object snake_case pattern (screen_entity, claim_verdict, file_dispute, verify_receipt). distress_score deviates slightly by reading as a noun compound with no clear verb, but the overall convention is predictable and readable.

    Tool Count5/5

    Five tools is well-scoped for a notary/attestation service: two specialized verdict verticals, one general claim resolver, one dispute mechanism, and one independent verifier. Each tool has a distinct role and none feels redundant or bolted on.

    Completeness4/5

    The core lifecycle is covered — produce a verdict, verify its signature/hash chain, and challenge it via bonded dispute — with two domain-specific verdict verticals on top. The main gap is that there is no tool to look up a filed dispute's resolution status or list past receipts, which an agent would likely want after filing a dispute.

    Maintenance

    ActivityMaintained
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers