X402 Notary MCP logo

X402 Notary MCP

by forgemeshlabs

Notarizes AI outputs with signed Ed25519 receipts, SHA-256 hashes, and Merkle anchors on Base or Solana.

Install X402 Notary MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "forgemeshlabs-x402-notary-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@forgemeshlabs/x402-notary-mcp"
      ],
      "env": {
        "WALLET_PRIVATE_KEY": "YOUR_VALUE_HERE",
        "NOTARY_RAIL": "YOUR_VALUE_HERE",
        "NOTARY_BASE_URL": "YOUR_VALUE_HERE",
        "SOLANA_PRIVATE_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env WALLET_PRIVATE_KEY=YOUR_VALUE_HERE --env NOTARY_RAIL=YOUR_VALUE_HERE --env NOTARY_BASE_URL=YOUR_VALUE_HERE --env SOLANA_PRIVATE_KEY=YOUR_VALUE_HERE --transport stdio forgemeshlabs-x402-notary-mcp -- npx -y @forgemeshlabs/x402-notary-mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

npx -y @forgemeshlabs/x402-notary-mcp

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The forgemeshlabs/x402-notary-mcp MCP server creates cryptographic receipts for AI inferences and verifies them later. It hashes the prompt, response, model ID, and timestamp, then returns an Ed25519 signature and Merkle proof without retaining the original content. Notarization uses $0.001 USDC x402 payments on Base or Solana, while verification, receipt lookup, statistics, and public-key retrieval are free. Reach for it when agent handoffs, paid outputs, audits, or disputes require independently checkable evidence of what a model produced.

Use cases

  • Record agent-to-agent handoffs
  • Verify paid research and recommendations
  • Build compliance and audit trails
  • Resolve disputes over generated outputs
  • Check model provenance before acting

Key features

  • Ed25519-signed inference receipts
  • SHA-256 content hashing
  • Merkle batch proofs and chain anchors
  • Base and Solana USDC payments
  • Free receipt and signature verification
  • Offline verification with the public key

Tools6

What X402 Notary MCP lets your agent do. Expand a tool for its parameters.

Verified live~956 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

28/28 checks healthy over the last 118d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 17d ago via OSV.dev · @forgemeshlabs/x402-notary-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads900Package downloads in the last 30 days.
Last commit21d agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.
Tools exposed6Callable tools this server registers over MCP.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How X402 Notary MCP works

What forgemeshlabs/x402-notary-mcp MCP server does

The forgemeshlabs/x402-notary-mcp MCP server records evidence about an AI inference without storing the underlying prompt or response. A notarized item includes a SHA-256 content hash covering the prompt, response, model ID, and timestamp, along with an Ed25519 signature and timestamp. Receipts can also include a Merkle proof and batch root anchor.

This proves that specific input and output content matched the receipt at a particular time. The service is intended for outputs whose provenance matters, such as agent-to-agent handoffs, paid research, compliance records, recommendations, and dispute prevention.

How it works

The forgemeshlabs/x402-notary-mcp MCP server exposes notarization and verification through MCP tools. notarize_inference accepts one prompt, response, and model ID. notarize_batch accepts up to 20 items for a single batch operation. The resulting receipt contains an attestation ID, hash, signature, timestamp, and available Merkle anchoring data.

Paid requests use x402 over HTTP. The first request produces a payment challenge, after which the MCP client authorizes a USDC payment and retries. Base uses the EIP-3009 payment method; Solana uses the x402 SVM exact rail. Single notarization costs $0.001, while a batch costs $0.005. Verification and proof retrieval do not require payment.

Verification can be performed through verify_attestation, which checks the content hash, signature, and Merkle proof. get_receipt returns public proof material, and notary_pubkey supplies the notary's Ed25519 public key for offline signature checks. Merkle roots, rather than prompts or responses, are anchored on-chain.

Setup and configuration

Run the forgemeshlabs/x402-notary-mcp MCP server with npx -y @forgemeshlabs/x402-notary-mcp. For Base notarization, configure WALLET_PRIVATE_KEY with a dedicated, low-balance Base wallet used for x402 micropayments. The README advises against using a primary wallet.

For Solana, set NOTARY_RAIL=solana, use NOTARY_BASE_URL=https://notary-solana.forgemesh.io, and provide SOLANA_PRIVATE_KEY. The Solana key can be supplied as a JSON byte array, base58, base64, or hexadecimal 32- or 64-byte value. The Base service is the default when no Solana rail is selected.

Wallet configuration is optional for read-only use. Omitting the environment block still permits receipt verification, attestation inspection, public-key retrieval, and live statistics. No account or API key is described as necessary; payment authorization is the credential for paid notarization calls.

Tools and capabilities

  • notarize_inference: creates one signed receipt for a prompt, response, and model ID.
  • notarize_batch: creates up to 20 receipts in one call for audit-oriented workflows.
  • verify_attestation: checks a receipt's signature, content hash, and Merkle proof.
  • get_receipt: retrieves public proof data for an attestation.
  • notary_stats: reports live volume, top models, and anchored batches.
  • notary_pubkey: returns the notary's Ed25519 public key for offline verification.

Limitations and notes

The notary discards raw prompts, responses, and metadata after computing and signing the hash. Verification therefore requires the verifier to provide the original content alongside the receipt; the service cannot reconstruct content it did not retain. Only batch roots are placed on-chain, not the underlying AI text.

Notarization depends on a funded wallet and incurs the stated USDC charge. Verification is free and can be performed without a wallet. Casual chat and private scratchpad reasoning are not identified as target uses; the documented use cases focus on outputs that are shared, sold, audited, or likely to be disputed.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about X402 Notary MCP

forgemeshlabs/x402-notary-mcp is an MCP server that connects AI agents to a cryptographic notary on Base or Solana. Its main tools notarize individual or batched inferences, verify signatures and Merkle proofs, retrieve receipts, report notary statistics, and provide the Ed25519 public key for offline verification.

Install it by configuring an MCP client to run `npx -y @forgemeshlabs/x402-notary-mcp`. For paid Base notarization, add `WALLET_PRIVATE_KEY`; for Solana, configure the Solana rail and key variables. You can omit the environment block for verification and other read-only operations.

Yes, it is intended to work with any MCP client, although the README specifically shows Claude Desktop and Claude Code examples. Cursor can use the standard command-based MCP configuration if its MCP setup accepts this server format.

Single notarization costs $0.001 in USDC, and a batch of up to 20 receipts costs $0.005. The x402 payment is made on Base or Solana. Verification, receipt retrieval, statistics, and public-key access are free.

Yes, verification does not require a wallet. Use `verify_attestation` or retrieve the notary public key with `notary_pubkey`; signatures can then be checked offline, while content verification requires supplying the original prompt, response, and model ID.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewX402 Notary MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/forgemeshlabs-x402-notary-mcp?style=directory)](https://allmcps.com/mcp/forgemeshlabs-x402-notary-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/forgemeshlabs-x402-notary-mcp"><img src="https://allmcps.com/api/badge/forgemeshlabs-x402-notary-mcp?style=directory" alt="X402 Notary MCP on AllMCPs" /></a>