Skip to main content
Glama

aegis-x402-mcp

Model Context Protocol (MCP) server for AegisAudit — On-Chain Token Security, PreFlight Pre-Swap Bundles, Honeypot Simulation, KYA Wallet Trust & Grounded AI. Works FREE out of the box, with a $1 Credit Card / Apple Pay API Key (no crypto wallet needed), or autonomously over x402 v2 (Base USDC).

npm version License: MIT Network: Base x402 Protocol Goatincrypto/aegis-x402-mcp MCP server Listed on mcpservers.org

aegis-x402-mcp connects Claude Desktop, Cursor, Windsurf, and autonomous trading bots directly to https://aegisaudit.org (local stdio CLI via npx -y aegis-x402-mcp or hosted Streamable HTTP at https://aegisaudit.org/mcp). Every paid response includes a third-party verifiable ECDSA secp256k1 EIP-191 proofOfExecution receipt (/.well-known/poe-key.json), and upstream failures fail closed (HTTP 502, zero charge).

Start in 30 Seconds (No Crypto Wallet Required)

  • Free Tier ($0, zero setup): Run npx -y aegis-x402-mcp right now to call aegis_token_preview (live DEX pool, price, liquidity) and aegis_recent_audits with no keys or wallet.

  • Pay by Credit Card or Apple Pay (Recommended for Developers): Grab an instant 30-day API key (Starter $1 = 150 credits or Pro $5 = 1,000 credits) via Stripe at https://aegisaudit.org/pay and set AEGIS_API_KEY (or AEGIS_CREDIT_TOKEN). No Base wallet or USDC required.

  • Autonomous x402 v2 Agents (Optional): Set AEGIS_PRIVATE_KEY for gasless per-call EIP-3009 USDC settlement on Base Mainnet.

  • Canonical Gateway: https://aegisaudit.org

  • Instant Card / Apple Pay Checkout: https://aegisaudit.org/pay

  • Hosted Streamable HTTP MCP: https://aegisaudit.org/mcp

  • Contact: security@aegisaudit.org


Commercial Security SKUs & MCP Tools (9 Tools)

Tool Name

Price

Description

aegis_preflight_bundle

$0.20 USDC

Commercial SKU #1 (Flagship Pre-Swap Guard): Atomic multi-oracle honeypot audit + DEX liquidity depth + AP2 spend mandate + counterparty KYA + ECDSA PoE receipt.

aegis_priority_audit

$0.05 USDC

Commercial SKU #2: 100% cache-bypassed, fresh live-oracle scan for sniper bots & new Base pool launches.

aegis_token_audit

$0.01 USDC

Commercial SKU #3: Multi-oracle smart contract bytecode inspection (GoPlus, Honeypot.is V2, DexScreener, Base RPC).

aegis_mcp_audit

$0.01 USDC

OWASP MCP03 tool-poisoning, credential exfiltration, stealth Unicode, and SHA-256 TOFU rug-pull drift audit for remote MCP servers or inline manifests.

aegis_wallet_kya

$0.01 USDC

Know-Your-Agent (KYA) counterparty wallet reputation, transaction nonce age, balances, and OFAC/GoPlus sanctions checks.

aegis_web_scrape

$0.005 USDC

Converts any public webpage into clean, token-efficient LLM Markdown and extracted links.

aegis_grounded_chat

$0.005 USDC

OpenAI-compatible grounded LLM inference enriched with live Base/Ethereum on-chain security telemetry.

aegis_token_preview

FREE

Real-time market pool, token price, pair address, and DEX liquidity without payment.

aegis_recent_audits

FREE

Real-time stream of latest verified settled token audits across Base, Ethereum, and Solana.


Related MCP server: AgentRisk MCP

Trading Bot & Sniper Guard Examples (Base Mainnet)

Drop-in fail-closed pre-swap gates calling https://aegisaudit.org/api/v1/preflight/bundle ($0.20 USDC over x402 v2) before submitting a swap on Aerodrome or Uniswap:

Inspect a live sample clearance response with zero payment:

curl -s https://aegisaudit.org/api/v1/sample/preflight

3-Tier Frictionless Execution Architecture

  1. Tier 1 — Zero-Config (Free Tier): Tools like aegis_token_preview and aegis_recent_audits work instantly out-of-the-box with zero configuration or keys.

  2. Tier 2 — Prepaid 30-Day API Key Pack (Recommended for Humans — Card, Apple Pay, or Base USDC): Grab an instant 30-day API key (Starter $1 = 150 credits or Pro $5 = 1,000 credits via Stripe Card/Apple Pay or Base USDC) at https://aegisaudit.org/pay?sku=pro-key. Add AEGIS_API_KEY (or AEGIS_CREDIT_TOKEN) in your config. No wallet private key or per-call signing required.

  3. Tier 3 — Autonomous Agentic Wallet (For Autonomous Trading Bots & Power Users): Add AEGIS_PRIVATE_KEY in your config. The local MCP client signs gasless EIP-3009 micro-settlements on Base Mainnet on-demand inside the MCP process. Keys never leave your machine. Security Allowlist Guard: The client strictly verifies the recipient and refuses to sign toward any address other than the official Aegis node (0x111ef680B6EFdd859FbEc473b907aCe95F0D1acB).


Quick Setup

Option 1: Claude Desktop

Add this configuration to your claude_desktop_config.json:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "aegis-security": {
      "command": "npx",
      "args": ["-y", "aegis-x402-mcp"],
      "env": {
        "AEGIS_CREDIT_TOKEN": "<your-prepaid-token-or-leave-empty>"
      }
    }
  }
}

Option 2: Cursor (.cursor/mcp.json)

Create or update .cursor/mcp.json in your project root:

{
  "mcpServers": {
    "aegis-security": {
      "command": "npx",
      "args": ["-y", "aegis-x402-mcp"],
      "env": {
        "AEGIS_CREDIT_TOKEN": "<your-prepaid-token>"
      }
    }
  }
}

Option 3: Windsurf / Remote Streamable HTTP

Add to ~/.codeium/windsurf/mcp_config.json (or connect any Streamable HTTP MCP client to https://aegisaudit.org/mcp):

{
  "mcpServers": {
    "aegis-security": {
      "command": "npx",
      "args": ["-y", "aegis-x402-mcp"]
    }
  }
}

Environment Variables

Variable

Description

AEGIS_GATEWAY_URL

Gateway URL (defaults to https://aegisaudit.org).

AEGIS_CREDIT_TOKEN

30-day Prepaid API Key or 24h Credit Token from https://aegisaudit.org/pay?sku=pro-key (Card/Apple Pay or Base USDC).

AEGIS_PRIVATE_KEY

Optional local EVM private key (0x...) used in-process to sign EIP-3009 USDC authorizations on Base without keys ever leaving your machine.

AEGIS_API_KEY

Alias for AEGIS_CREDIT_TOKEN / prepaid enterprise API key.

X402_PAYMENT_HEADER

Pre-signed base64 EIP-3009 payment header or authorization token.


Discovery, Registries & B2B Automation Suite


License

MIT © 2026 Antigravity Autonomous Systems

Available Tools

9 tools
aegis_grounded_chatAInspect

USE WHEN: Running OpenAI-compatible LLM reasoning grounded in live Base/Ethereum/Solana on-chain security telemetry ($0.005 USDC on Base).

Inputs: prompt (required), model.

aegis_mcp_auditAInspect

USE WHEN: Auditing a remote MCP server URL or inline tool manifest for OWASP MCP03 tool poisoning, credential theft, stealth Unicode, and SHA-256 rug-pull drift before connecting an AI agent ($0.01 USDC on Base).

Inputs: tools, serverUrl, baselineManifestHash.

aegis_preflight_bundleAInspect

USE WHEN: An autonomous trading agent or sniper bot needs all-in-one pre-swap security: multi-oracle honeypot audit, DEX liquidity depth, counterparty KYA, and AP2 spend mandate limits in a single call ($0.20 USDC on Base).

Inputs: tokenAddress (required), chain, tradeAmountUsd, counterpartyAddress.

aegis_priority_auditBInspect

USE WHEN: A sniper bot or high-frequency trading agent requires a 100% fresh, un-cached multi-oracle token security audit with priority execution ($0.05 USDC on Base).

Inputs: address (required), chain.

aegis_recent_auditsAInspect

USE WHEN: Monitoring the real-time stream of recently scanned tokens on Base, Ethereum, and Solana (FREE).

Inputs: no named parameters.

aegis_token_auditAInspect

USE WHEN: Verifying smart contract security, honeypot traps, and buy/sell taxes before executing a token swap ($0.01 USDC on Base).

Inputs: address (required), chain.

aegis_token_previewAInspect

USE WHEN: Checking basic DEX market pool, price, and liquidity for any token without requiring payment (FREE).

Inputs: address (required), chain.

aegis_wallet_kyaAInspect

USE WHEN: Checking counterparty wallet reputation, transaction count, USDC/ETH balances, and GoPlus sanctions flags before transacting ($0.01 USDC on Base).

Inputs: address (required).

aegis_web_scrapeAInspect

USE WHEN: Scraping any public URL and converting the page into clean, token-efficient LLM Markdown ($0.005 USDC on Base).

Inputs: url (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 9 tools

    Disambiguation3/5

    Most tools are clearly distinct (mcp_audit, wallet_kya, web_scrape, grounded_chat, recent_audits), but the token-security family overlaps heavily: aegis_token_audit, aegis_priority_audit, and aegis_preflight_bundle all perform honeypot/liquidity checks, and aegis_token_preview also reports liquidity/price. The descriptions differentiate mainly by freshness, bundling, and price tier, which an agent can parse but may still misselect between the $0.01 audit and the $0.05 priority audit.

    Naming Consistency4/5

    All nine tools share a consistent aegis_ prefix and snake_case compound suffixes (token_audit, wallet_kya, recent_audits, web_scrape), so the pattern is predictable. The only wrinkle is that some suffixes are noun-phrases and others verb/action-phrases (grounded_chat, web_scrape, preflight_bundle), but nothing is mixed-case or chaotically styled.

    Tool Count4/5

    Nine tools is a well-scoped set for a paid security-telemetry service, with free previews, paid audits, and specialized endpoints all accounted for. The only soft redundancy is the cached vs. priority audit pair, which is defensible as a distinct paid tier rather than pure duplication.

    Completeness4/5

    The surface covers the pre-swap lifecycle well: free preview, cached audit, fresh priority audit, all-in-one bundle, wallet KYA, recent-audit monitoring, plus MCP-server auditing and web scraping for context. Gaps are minor — there is no explicit lookup of a past audit by token address/hash, no batch/multi-token audit, and the AP2 spend-mandate check exists only inside the bundle rather than as a standalone call.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables AI agents on Base to call a check_token_risk tool before trading, providing honeypot detection, LP-lock verification, brand impersonation checks, and live sell simulation across Uniswap V2/V3/V4 and Aerodrome with a clear risk score and should-trade decision.
      1
      15 npm
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to run honeypot and owner-power safety checks on Base tokens and to read wallet ETH and USDC balances, with every answer sourced from real chain data and paid per call in USDC via x402.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to run paid safety and data pre-checks over streamable HTTP — Base token risk and pricing, wallet balances and screening, transaction decoding, calldata and EIP-712 signature checks, ENS resolution, DNS/WHOIS, link phishing and security-header audits — with each tool call settled by an x402 USDC micropayment on Base instead of an account or API key. Also offers x402 seller preflight and web content extraction.
      MIT