Cerberus x402 MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Cerberus x402 MCP Server & SDK
Zero-bloat Model Context Protocol (MCP) JSON-RPC 2.0 stdio server and TypeScript x402 client SDK for the live Cerberus Web3 & AI supply-chain security edge API at:
Live Edge API:
https://x402-cerberus-worker.boxxon.workers.dev
Discovery Manifest:https://x402-cerberus-worker.boxxon.workers.dev/.well-known/x402.json
Health Check:https://x402-cerberus-worker.boxxon.workers.dev/health
No API keys, no accounts, no monthly subscriptions — AI agents and developers pay per request in Base (8453) or Arbitrum (42161) USDC using HTTP 402 + EIP-3009 TransferWithAuthorization, signed locally via viem.
Pricing & Endpoints
MCP Tool | HTTP Endpoint | Price (USDC) | Description |
|
| FREE | Live health, schema, pricing, and payout discovery |
|
| $0.03 | Read-only EVM bytecode, EIP-1967 proxy slot, opcode ( |
|
| $0.05 | 7-layer anti-honeypot, prompt-injection, suspicious binary, |
|
| $0.10 | CycloneDX 1.5 JSON SBOM generator + typosquatting, unpinned versions, lifecycle hooks, and license risk audit ( |
|
| $0.15 | 10-detector Solidity contest auditor (ERC-4626 inflation, oracle staleness, unchecked ERC-20, reentrancy, signature replay, |
Related MCP server: dyoe-agent-tools-mcp
Quick Start: Claude Desktop / Cursor / Windsurf / Antigravity
Add @boxxji/cerberus-x402-mcp to your MCP client configuration:
{
"mcpServers": {
"cerberus-x402": {
"command": "npx",
"args": ["-y", "@boxxji/cerberus-x402-mcp"],
"env": {
"X402_NETWORK": "base",
"X402_PAYER_PRIVATE_KEY": "0xYOUR_LOCAL_PAYER_PRIVATE_KEY_OPTIONAL"
}
}
}
}Read-only / Quote Mode (no key required): Omit
X402_PAYER_PRIVATE_KEYto runcerberus_list_endpointsfor free and inspect structured HTTP 402 payment quotes on paid tools without spending funds.Autonomous x402 Settlement Mode: Supply your own funded Base or Arbitrum USDC wallet private key via
X402_PAYER_PRIVATE_KEYlocally on your machine. Private keys are never transmitted, logged, or hardcoded — they only sign EIP-3009 typed data locally viaviem/accounts.
CLI Usage
# Discover live endpoints and pricing (free)
npx -y @boxxji/cerberus-x402-mcp --discover
# Run as an MCP JSON-RPC 2.0 stdio server
npx -y @boxxji/cerberus-x402-mcpHow the x402 EIP-3009 USDC Flow Works
Agent / SDK Cerberus Edge Worker (Cloudflare)
│ │
├── POST /v1/cerberus/scan-repo ────────────────►│
│ │
│◄── HTTP 402 Payment Required ──────────────────┤
│ (accepts: Base 8453 & Arbitrum 42161 USDC, │
│ payTo: 0x51E2...C5A1, amount: 50000) │
│ │
├─ 1. Verify payTo === Wallet 1 :: SI_Gemini │
├─ 2. Verify canonical Base/Arbitrum USDC asset │
├─ 3. Sign EIP-3009 TransferWithAuthorization │
│ locally via viem (gasless for payer) │
│ │
├── POST /v1/cerberus/scan-repo ────────────────►│
│ Header: X-PAYMENT: <base64 x402 payload> │
│ │
│◄── HTTP 200 OK + Security Audit JSON ──────────┤TypeScript SDK Examples
npm install @boxxji/cerberus-x402-mcpimport {
CerberusX402Client,
discover,
auditSolidity,
checkTokenRisk,
scanRepo,
auditSbom,
} from "@boxxji/cerberus-x402-mcp";
// 1. Free discovery
const info = await discover();
console.log(info.health.status, info.manifest.endpoints.map((e) => e.path));
// 2. Call with automatic HTTP 402 -> EIP-3009 USDC signing -> retry
const client = new CerberusX402Client({
preferredNetwork: "base", // or "arbitrum"
payerPrivateKey: process.env.X402_PAYER_PRIVATE_KEY, // optional; returns 402 quote if omitted
});
const repoReport = await client.scanRepo({
repoUrl: "Boxxji/cerberus-x402-mcp",
});
const tokenReport = await client.checkTokenRisk({
chain: "base",
address: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
});
const sbomReport = await client.auditSbom({
format: "package.json",
content: JSON.stringify({ name: "demo", dependencies: { viem: "^2.23.0" } }),
});
const solidityReport = await client.auditSolidity({
filename: "Vault.sol",
source: "pragma solidity ^0.8.24; contract Vault { }",
});
console.log({ repoReport, tokenReport, sbomReport, solidityReport });curl Examples
# Free health & x402 discovery
curl -sS https://x402-cerberus-worker.boxxon.workers.dev/health | jq .
curl -sS https://x402-cerberus-worker.boxxon.workers.dev/.well-known/x402.json | jq '.endpoints[] | {id, path, pricing}'
# Inspect HTTP 402 payment challenge for a paid endpoint
curl -i -sS -X POST https://x402-cerberus-worker.boxxon.workers.dev/v1/onchain/token-risk \
-H "Content-Type: application/json" \
-d '{"chain":"base","address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}'Security & Payout Pinning (Wallet 1 :: SI_Gemini)
Before signing any EIP-3009 authorization, signEip3009Payment() strictly verifies:
Pinned Payout Address:
challenge.payToMUST matchWallet 1 :: SI_Gemini(0x51E24000948150400166b40d486dB7b3C5b2C5A1) — preventing MITM or redirected payment challenges.Canonical USDC Contracts Only:
Base (
8453):0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913Arbitrum (
42161):0xaf88d065e77c8cC2239327C5EDb3A432268e5831
Local-Only Keys: Private keys are supplied exclusively by the caller via
X402_PAYER_PRIVATE_KEYor runtime option and never leave the caller's process.
Verified Public Receiving Addresses (Wallet 1 :: SI_Gemini)
EVM (Base
8453& Arbitrum42161USDC):0x51E24000948150400166b40d486dB7b3C5b2C5A1(Basescan | Arbiscan)Solana:
H8ckc19KdGFoCAXh1cGjQL4bGP75DdAvnRQMBpGypRQx(Solscan)
Development
npm install
npm run typecheck
npm run build
npm test
npm pack --dry-runLicense
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Pre-trade token and wallet safety for trading agents. 14 tools, pay per call (x402, USDC on Base).
Pay-per-call security tools for agents: secret, CVE, IAM, Terraform, DNS scans. x402 USDC on Base.
Smart-contract risk reports for AI agents on 20 EVM chains, paid per call via x402 ($0.02 USDC).
Pay-per-call smart-contract security: scans, tx simulation, and token risk via x402 (USDC on Base).
Related MCP Servers
- FlicenseNot gradedqualityDmaintenancePay-per-use AI security and research tools for autonomous agents on Base, enabling honeypot detection, risk assessment, wallet analysis, and yield optimization via the x402 protocol.1-
- AlicenseAqualityCmaintenanceTrust layer for AI agents: 22 pay-per-call x402 tools for scam and fraud checks, payment pre-flight, wallet screening, policy approvals, contact extraction and company research. Free preview with no wallet; paid calls settle in USDC on Base.2280 npmMIT
- AlicenseAqualityCmaintenanceEnables agents to run pre-signature security checks: identifying who can replace a Solana program's code or control an EVM contract's upgrades, surfacing dependency advisories for lockfiles, scanning public repos before release, and setting 30-day signed-webhook alerts on changes. Calls are paid per use in USDC over x402 from a wallet with per-call caps and a session budget.853 npmMIT
- AlicenseAqualityBmaintenanceEnables AI assistants and CLI users to run automated bytecode security audits of EVM smart contracts on Base Mainnet, detecting risky opcodes and interface signatures, scoring risk, and unlocking verified results via x402 USDC micropayments.3MIT