Skip to content
MCP server
Registry

warden402-mcp MCP Server

Pre-execution security for AI agents on Base: guard token/tx/address + per-agent spend firewall.

warden402-mcp scores 58 (Fair), licensed MIT and written in TypeScript. It installs as a local process. It does not declare tools yet. Filed under Security. GitHub shows 0 stars. Package registries report about 59 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by sukrutkrdgMITTypeScript0 stars
Trust score
58Fair
Trust score 58 of 100, Fair

Fair trust

58 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 58 comes from

22 + 15 + 0 + 10 + 4 + 7 = 58. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance15 / 20

How recently the repository saw a commit or release.

Maintenance: 15 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "sukrutkrdg-warden402-xyz": {      "command": "npx",      "args": [        "-y",        "warden402-mcp@0.2.0"      ],      "env": {        "WARDEN_API_URL": "",        "WARDEN_AGENT_KEY": "YOUR_WARDEN_AGENT_KEY"      }    }  }}

Environment variables

NameRequiredNotes
WARDEN_API_URLOptionalOverride the Warden API base (default https://warden402.xyz/api).
WARDEN_AGENT_KEYSecretOptionalAgent key (wk_...) from warden402.xyz/onboard. Enables firewall_check and firewall_status.

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

Warden — pre-execution security for AI agents on Base

npm warden402-mcp npm warden402-sdk License: MIT

Before your agent buys a token, signs a transaction or pays an address, ask Warden. You get block · review · clear with the reasons, a risk score and — when there is one — the safer thing to sign instead. On top, a per-agent Firewall enforces a spending policy: allow · hold · deny.

Live at warden402.xyz · public track record at warden402.xyz/track-record

Quick start

MCP (Claude, Cursor, any MCP client) — no key needed:

{
  "mcpServers": {
    "warden402": {
      "command": "npx",
      "args": ["-y", "warden402-mcp"],
      "env": { "WARDEN_AGENT_KEY": "wk_... (optional, enables firewall tools)" }
    }
  }
}

Tools: guard_token, guard_tx, guard_address, and with an agent key firewall_check, firewall_status. → mcp/README.md

SDK (TypeScript, fail-closed):

import { Warden } from "warden402-sdk";
const warden = new Warden({ agentKey: process.env.WARDEN_AGENT_KEY });

await warden.assertSafe(() => warden.token("0xTOKEN"));         // throws on block
await warden.protect({ to: payee, amountUsd: 5 }, () => pay());  // runs only on allow

→ sdk/README.md (also LangChain tools)

HTTP:

curl "https://warden402.xyz/api/guard?address=0xTOKEN"                 # token
curl "https://warden402.xyz/api/guard?type=address&address=0xADDR"     # address
curl -X POST https://warden402.xyz/api/guard -H 'content-type: application/json' \
  -d '{"type":"tx","from":"0x..","to":"0x..","calldata":"0x.."}'       # transaction

50 free guard calls per IP per day, then x402 pay-per-call ($0.01 token/address, $0.02 tx, USDC on Base). Firewall agent keys: warden402.xyz/onboard (free: 1 agent, 1,000 checks/month).

What it checks

TargetSignals
Tokenlive sell simulation from a real holder (can you get out?), honeypot & taxes, owner powers (mint, set balances, blacklist, upgradeable logic), contract controls, wallet holder concentration (LP / CEX / burn excluded), liquidity, LP lock, deployer reputation, OFAC
Transactioncalldata decode (approve, increaseAllowance, EIP-2612 permit, Permit2, setApprovalForAll, transfer); approval target (unlimited approval to an address with no code → block); eth_call simulation (revert, call to non-contract); counterparty OFAC + contract risk; address poisoning on outgoing transfers. Returns remediation — e.g. an exact-amount approval to sign instead
AddressOFAC, exposure to sanctioned counterparties, contract risk, identity (verified / named / anonymous)

Signal data comes from the x402 Bazaar plus Base RPC.

How decisions are made

  1. No LLM in the decision path. Decision, score and summary are deterministic rules over the collected signals — same input, same verdict.
  2. Fails safe. A critical signal that can't be fetched is unknown → degraded: true → the verdict is review at worst, never a false clear. The SDK and MCP are fail-closed too: no verdict → throw / "do not proceed".
  3. Hard blocks regardless of score: honeypot, sanctioned target, token that can't be sold, poisoned look-alike recipient, unlimited approval to a plain wallet.
  4. Otherwise: weighted risk ≥ 70 → block; any fail or risk ≥ 35 or 2+ warns → review; else clear.
  5. Every verdict is recorded and re-checked later for rugs — the public track record.

Firewall (per agent)

Policy-as-code in front of an agent's value flow: per-call / hourly / daily spend caps, allow & deny lists, unlimited approvals banned, first payment to a new counterparty held for a human (approve/reject in /account or via API), calls-per-minute limit, anomaly multiplier, kill switch, audit log, webhook on hold. Team accounts sign in with a wallet (SIWE), with roles and plans. → FIREWALL.md

Repository

PathWhat
web/The production site and API (Next.js on Vercel): guard, firewall, track record, accounts, x402 payment gate
packages/core/Shared verdict schema + calldata decoder (@warden/core)
mcp/warden402-mcp — stdio MCP server
sdk/warden402-sdk — TypeScript client + LangChain tools
src/Optional standalone Hono API (Node host); a drift test keeps its engine identical to web/
tests/Vitest: decision engine, calldata decoder, firewall policy, drift guard, web signals
npm install && npm test                      # unit tests
cd web && cp .env.example .env.local && npm run dev   # site + API on :3000

Deploy notes: DEPLOY.md.

License

MIT — see LICENSE.

Frequently asked questions

What is warden402-mcp MCP Server?

Pre-execution security for AI agents on Base: guard token/tx/address + per-agent spend firewall.

How do I install warden402-mcp MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. warden402-mcp MCP Server runs locally from the npm package warden402-mcp with the command npx -y warden402-mcp@0.2.0.

Is warden402-mcp MCP Server free and open source?

Yes. warden402-mcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does warden402-mcp MCP Server support remote (HTTP) connections?

No remote endpoint is listed for warden402-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.

How is warden402-mcp MCP Server's trust score calculated?

warden402-mcp MCP Server scores 58 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server