Screens x402 payments before settlement for injected payee addresses and sellers who never deliver.
MCPpedia last refreshed this data
com.tollwarden/tollwarden is an MCP server that screens x402 payments before settlement for injected payee addresses and sellers who never deliver. Its tool list has not been published yet over stdio, sse and http, requires no API key, and scores 83/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"com-tollwarden-tollwarden": {
"args": [
"-y",
"tollwarden"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Screens x402 payments before settlement for injected payee addresses and sellers who never deliver.
This server supports HTTP transport. Be the first to test it - help the community know if it works.
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked tollwarden against OSV.dev.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in finance
OKX trading MCP server — connect AI agents to spot, swap, futures, options & grid bots via the Model Context Protocol.
Install, configure, operate and integrate self-hosted PayRam crypto payment gateways.
Unofficial read-only deweloperuch.pl data: new-build asking prices, RCN transactions, GUS and NBP
Free Indian data and AI: pincode, IFSC, GSTIN, holidays, GST invoice, OCR, calculators, translation.
MCP Security Weekly
Get CVE alerts and security updates for com.tollwarden/tollwarden and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A payment security firewall for x402 — screen every micropayment before it settles.
Agents that pay over x402 get drained in predictable ways: secrets leak through payment metadata, captured authorizations get replayed, quoted prices get inflated, and poisoned web content tricks agents into paying addresses they never planned to pay. TollWarden is one POST before settlement that checks for all of it and returns allow / flag / block with machine-readable, per-check reasons — in ~0.6 ms.
TollWarden is advisory and non-custodial: it never touches private keys, wallets, or funds. It wraps around whatever facilitator and wallet your agent already uses. And it's a first-class x402 seller itself — its endpoints are paid via the official x402 middleware, settle through the Coinbase CDP facilitator, and carry Bazaar discovery metadata.
Agent decides to pay ──► POST /v1/scan/outgoing ──► allow ──► wallet settles
│
├──► flag ──► agent pauses / confirms intent
└──► block ──► wallet refuses (reason attached)
npm install @tollwarden/client # TypeScript/Node
pip install tollwarden # Python
import { TollWardenClient, TollWardenBlockedError } from "@tollwarden/client";
const tollwarden = new TollWardenClient({ agentId: "my-agent" }); // free API key auto-minted, 100 free scans
tollwarden.observe(fetchedPageText, { sourceUrl }); // tag what your agent just read → injection detection
await tollwarden.guardOutgoing(payment); // throws TollWardenBlockedError on a block verdict
New here? Protect your x402 agent in 5 minutes →
The SDK (sdk/, zero dependencies) also verifies every verdict's Ed25519 attestation against a pinned key, tracks your free-call quota, and can subscribe to plans autonomously. Wallet authors get standalone verifyAttestation() / computePaymentCommitment() — and the enforcement kit: new TollWardenEnforcer({ trustedKeyHex }).guardSigner(account) wraps any viem/ethers signer so it physically refuses to sign an x402 payment authorization without a fresh, payment-bound allow-verdict.
Building on an agent framework? TollWarden ships drop-in packages that give your agent "scan before you pay" in about two lines — a toolset plus a provenance mechanism that auto-tags what the agent reads, so the prompt-injection-triggered-payment detector works without any prompt engineering:
| Framework | Package | Install |
|---|---|---|
| LangChain | langchain-tollwarden | pip install langchain-tollwarden |
| CrewAI | crewai-tollwarden | pip install crewai-tollwarden |
| NeMo Agent Toolkit | nemo-tollwarden | pip install nemo-tollwarden |
| Coinbase AgentKit | agentkit-tollwarden | pip install agentkit-tollwarden |
| Vercel AI SDK | @tollwarden/ai-sdk | npm install @tollwarden/ai-sdk |
Each exposes the same three tools (scan / check reputation / report) and a framework-native way to feed what the agent read into injection detection. LangChain uses a callback, CrewAI an after-tool-call hook and the Vercel AI SDK an onStepFinish handler, and all t