warden402-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@warden402-mcpcheck token 0x1234567890abcdef"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Warden — warden402.xyz
The pre-execution security & trust layer for agents transacting on Base.
Give Warden a token, a pending transaction, or an address → get a single decision:
block · review · clear with reasons, a risk score, and a plain-language summary.
Warden uses the x402 Bazaar as its intelligence backend and builds judgment, a provable track record, and (next) a firewall on top.
Why
x402 infrastructure is ahead of demand; the missing layer is trust. The marketplace vertical is crowded (Coinbase Bazaar + dozens of clones), but pre-execution security is wide open. Warden owns that vertical.
Related MCP server: defi-yield-scanner-mcp
What's in here
Path | What |
| The website (warden402.xyz) — landing + live demo + track-record. Runs the guard in-process, so it deploys as a single Vercel project. |
| Standalone Hono Guard API (same logic) — for agents/SDK/MCP and a persistent-ledger host. |
|
|
|
|
|
|
The decision contract (immutable spine)
Every endpoint returns a Verdict (src/schema/verdict.ts). Principles:
The LLM never touches the verdict.
decisionandriskScorecome from deterministic rules; the LLM only writessummary. Auditable.Fails safe. If a Bazaar signal can't be fetched it becomes
unknown→degraded:true→ the verdict isreviewat worst, never a falseclear.Every verdict is snapshotted (
verdictId+ signal evidence) → the track-record moat.
Decision rules
Hard rule:
honeypotorsanctionsfail → block (regardless of score).Weighted-average risk ≥ 70 → block; degraded → review.
Any single
fail(e.g. liquidity collapse) floors the decision at review (can't be diluted by the average). 2+warns → review. Else clear.
Endpoints
Endpoint | What it checks |
| honeypot, taxes, liquidity, holder concentration, OFAC |
| decodes calldata (unlimited approve / setApprovalForAll), sanctions + contract risk on the counterparty |
| sanctions, contract risk, age/activity |
| public trust stats (decision mix, hit-rate, rugs caught/missed) |
(The website exposes the same via /api/guard.)
Run locally
# Single-project site (recommended) — runs guard in-process
cd web && npm install
cp .env.example .env.local # set BAZAAR_INTERNAL_SECRET
npm run dev # http://localhost:3000
# Or the standalone Hono API
npm install
cp .env.example .env # set BAZAAR_INTERNAL_SECRET
npm run smoke # offline decision tests
npm run dev # http://localhost:8787Production topology
web/is the production API + site. Deployed as a single Vercel project (Root Directory =web). It runs the guard/firewall in-process, so the endpoints agents actually call (/api/guard,/api/firewall) are live here. Hot path is edge-friendly: KV store (nofs) + per-IP rate limiting. Persistence turns on whenKV_REST_API_URL/KV_REST_API_TOKENare set.src/(Hono API) is an optional Node host — for teams that want a persistent-disk ledger or the x402 payment layer. Not required; not deployed by default. Thesrc/modules are the canonical logic; a drift-guard test (tests/drift.test.ts) proves the web copy stays identical.Drift is impossible to ship silently:
npm testfails if the two diverge.
Deploy
See DEPLOY.md. TL;DR: new Vercel project, Root Directory = web,
set BAZAAR_INTERNAL_SECRET (+ optional KV_REST_API_URL/KV_REST_API_TOKEN for
persistent track-record), deploy. Done.
Bazaar internal-auth
Warden calls Bazaar without paying x402 (so our own products don't bill themselves) via
the X-Warden-Internal header. Bazaar must have a matching WARDEN_INTERNAL_SECRET. Until
set, all signals come back unknown and verdicts stay safely at review.
Roadmap
✅ Guard MVP (
/guard/token) + verdict contract✅
/guard/tx(pre-sign) +/guard/address+ track-record + re-checker✅ SDK / MCP / website
⏳ x402 payment layer (free tier → 402) + MCP Registry / Agentic.Market listing
⏳ Firewall / policy gateway — sits in front of an agent's x402 + onchain calls: spend caps, allow/deny by trust score, anomaly + injection-drain detection, audit log. B2B, Cloudflare Worker edge. The north star.
This server cannot be deployed
Maintenance
Related MCP Connectors
On-chain security and market intelligence for trading agents on Base.
Check a Base contract, transaction or web page before you act. Free pricing, paid per call in USDC.
SqueezeOS MCP for live machine discovery and x402-paid USDC APIs on Base.
Self-hosted MCP server: 26 deterministic dev, security, and EVM tools.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceLocal stdio MCP server for x402-powered paid crypto intelligence, decision verification, and agent automation search over USDC micropayments on Base.72 npmMIT
- AlicenseAqualityDmaintenanceReal-time DeFi analytics MCP server for AI agents. Provides token risk analysis, yield scanning, and wallet exposure checking across Base, Ethereum, and Arbitrum.34 npm1MIT

aperion-shieldofficial
FlicenseAqualityAmaintenanceLocal guardrail proxy for AI coding agents. Wraps any MCP server (stdio or HTTP/SSE) and blocks destructive tool calls before they execute, with TOFU catalog pinning against rug pulls and tool-poisoning/result-injection scanning. Single Rust binary, Apache-2.0.148-
tereno-mcpofficial
AlicenseNot gradedqualityBmaintenanceMCP server for verifying blockchain safety on Base via x402, with free pricing/receipt tools and paid per-call guard, contract, and metadata checks settled in USDC.25 npmMIT