Skip to main content

Independent fail-closed 'verify before you spend/send/trust' gate for AI agents — MCP server (fact-check, prompt-injection, moderation, PII, pre-action guardrail). Keyless, pay-per-call via x402.

Project description

Verity MCP — the agent economy's "verify before you spend/send/trust" gate

One Model Context Protocol server that exposes Verity's fail-closed trust checks as tools any MCP-capable agent can discover and call: verify_fact, detect_injection, moderate_content, redact_pii, guard_action. Backed by Verity's live HTTP+x402 services on Base mainnet. Verity holds no private key.

The strategy this implements (and why)

The trust/safety slot in the agent economy is unowned — Coinbase's x402 Bazaar has no trust category; Visa/Mastercard agent-payment specs verify payment scope, not content safety; the one security player covers payment-fraud, not fact-checking / moderation / PII. This MCP server is the cheapest, first way to occupy that slot.

The money model (corrected — do NOT bill per loop):

  • The everywhere-gate is free. Agents will never pay per-call for a check a local model does for $0. The free, self-hostable gate is top-of-funnel, not the product.
  • Charge at the money line. The paid value is guard_action (and a verified verify_fact) used right before the agent spends, sends, or commits something irreversible — where an independent, signed verdict is worth far more than the sub-cent fee, and where billing rides a payment the agent already consented to. That's the only slot worth paying a third party for.

Disclosure discipline (non-negotiable — keeps the auto-pay legitimate)

A trust product cannot use a wallet-draining dark pattern. Every distribution surface and the tool descriptions MUST state, up front:

  • The per-call price, and that calls are paid per use.
  • A free quota that covers real evaluation before any wallet signs.
  • Explicit operator opt-in before the x402 wallet auto-pays anything — never silent.
  • A visible running spend signal and a documented kill-switch.
  • allow / review / block are priced identically (never charge more to "block" — no block-to-bill rent-seeking).
  • Honest claims only: "maps to OWASP ASI control X" and "produces an audit artifact" — never "OWASP-compliant," "endorsed by," or "shifts your liability."

Honest reality (read before betting the timeline on this)

The real (wash-filtered) x402 service economy is small today — order ~$28K/day ecosystem-wide, top single earner ~$25K/mo. So: occupying this slot cheaply and first is high-probability and nearly free; near-term per-call revenue is thin. The big numbers come later, from monetizing the trust position at higher tickets (money-line checks on high-value flows, "Verified by Verity" certification, enterprise) as agent-commerce grows — not from micro-payments in a thin niche. This server captures the position regardless of how fast the volume arrives.

Run locally

pip install -r requirements.txt
python server.py            # stdio MCP server

Env: VERITY_SUITE_URL (default https://verity-suite.onrender.com), VERITY_ENGINE_URL (default https://verity-bzw7.onrender.com).

Publish sequence (the free land-grab — order matters)

  1. CDP / x402 Bazaar — route through the CDP facilitator + declare the Bazaar discovery extension; auto-indexes on the first settled payment. (The live HTTP services already do this; the MCP layer rides it.) Needs: one real settled payment to index; re-call ≥ every 30 days.
  2. Official MCP Registry (registry.modelcontextprotocol.io, mcp-publisher CLI) — the meta-registry Smithery/Glama/PulseMCP/mcp.so crawl downstream. Publish here before third-party directories. Needs: GitHub-OAuth + reverse-DNS namespace.
  3. x402scan self-serve register · x402.org "Security & Risk Management" category (near-empty — land-grab) · 402 Index (domain-verify).
  4. Client-native directories: Anthropic Claude Connectors Directory, OpenAI ChatGPT Apps, Cline MCP Marketplace. Need: OAuth + truthful tool annotations + privacy policy + examples.
  5. Backlink PRs: punkpeye/awesome-mcp-servers, Merit-Systems/awesome-x402 (Security & Ops), xpaysh/awesome-x402.

Status / what's next

  • MCP server + 5 tools + honest descriptions (this repo).
  • x402-over-MCP payment wiring — bridge so the agent's x402 client settles the disclosed micro-payment at the MCP layer (careful, tested-without-burning-budget before publish).
  • Strict JSON Schemas + 3 working examples per tool (registry requirement).
  • Publish to the registries above (several need Mel's accounts/OAuth).
  • Free, self-hostable "everywhere-gate" package as top-of-funnel.

Independent · fail-closed · keyless · pay-per-call. The only trust form an autonomous agent can pick up mid-task with no human and no account.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

verity_mcp-0.1.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

verity_mcp-0.1.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file verity_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: verity_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for verity_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ec78645446a53aa574e11ef03d833631927cd763877260df03f451dfb487be3d
MD5 0d8b9b6fedb3550ddf5016a94f12e676
BLAKE2b-256 6dcddebcc9160ed5aba1383c85c2adc3391f2c8da91165f830d7ff1ceb908036

See more details on using hashes here.

File details

Details for the file verity_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: verity_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for verity_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9ec056c3b7a1b1eb7d21e6381bf8ea7aeb9e7622c3f4d9d07e9f45eb238ba122
MD5 2543e327411c99d63ce31bf0c6bee1cd
BLAKE2b-256 e498f8844d903dcdbb7f9d6886e83b25c7fb0cd39456fdb971fde028de6fbb54

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page