aegis-x402-mcp

中文文档
1.0.3发布于 2026/11/03MITTypeScriptES Module

MCP server for AegisAudit x402 token security, honeypot simulation, KYA, and PreFlight clearance

原始使用文档
文档目录12 节
  1. Tools Exposed
  2. Quick Setup
  3. 3-Tier Frictionless Execution Architecture
  4. Quick Setup
  5. Option 1: Claude Desktop
  6. Option 2: Cursor ( .cursor/mcp.json )
  7. Option 3: Windsurf / Codeium
  8. Environment Variables
  9. Publishing & Registry Registration
  10. Official Model Context Protocol Registry
  11. Community Registries & Discovery
  12. License

aegis-x402-mcp

Model Context Protocol (MCP) server for AegisAudit — Autonomous On-Chain Token Security, PreFlight Bundles, KYA Reputation, and Grounded AI over the x402 Protocol on Base Mainnet.

npm version License: MIT Network: Base x402 Protocol

aegis-x402-mcp connects Claude Desktop, Cursor, Windsurf, and custom AI agents directly to the live Aegis autonomous node. It enables AI coding assistants and trading bots to verify smart contracts, test honeypot traps, assess DEX liquidity, and check wallet counterparty risk before deploying or trading capital.


Tools Exposed

Tool NamePriceDescription
aegis_preflight_bundle$0.20 USDCKiller Endpoint #1: All-in-one pre-trade clearance: multi-oracle honeypot audit, DEX liquidity depth, counterparty KYA, and AP2 spend mandate limits with a signed Proof-of-Execution.
aegis_priority_audit$0.05 USDC100% fresh, un-cached multi-oracle token security audit bypassing the 60s cache with prioritized live execution for sniper bots.
aegis_token_audit$0.01 USDCMulti-oracle smart contract bytecode inspection (GoPlus, Honeypot.is, DexScreener, Base RPC).
aegis_token_previewFREEReal-time market pool, token price, pair address, and DEX liquidity without payment.
aegis_wallet_kya$0.01 USDCKnow-Your-Agent (KYA) counterparty wallet reputation, transaction nonce history, balances, and sanctions checks.
aegis_web_scrape$0.005 USDCConverts any public webpage into clean, token-efficient LLM Markdown and extracted links.
aegis_recent_auditsFREEReal-time stream of latest analyzed tokens across Base, Ethereum, and Solana.

Quick Setup

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 Credit Token (Recommended for Humans): Top up in 1-click at https://aegis-audit-x402.project-easy-x.workers.dev/pay to get a signed 24-hour credit token aegis_credit_.... Add AEGIS_CREDIT_TOKEN in your config. No local wallet 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": "aegis_credit_your_token_or_leave_empty_for_free_tier"
      }
    }
  }
}

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": "aegis_credit_your_token"
      }
    }
  }
}

Option 3: Windsurf / Codeium

Add to ~/.codeium/windsurf/mcp_config.json:

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

Environment Variables

VariableDescription
AEGIS_GATEWAY_URLGateway URL (defaults to https://aegis-audit-x402.project-easy-x.workers.dev).
AEGIS_API_KEYOptional developer API key to bypass per-call x402 signing.
X402_PAYMENT_HEADERPre-signed EIP-3009 payment header or authorization token.

Publishing & Registry Registration

Official Model Context Protocol Registry

Published on the official MCP Registry: registry.modelcontextprotocol.io via mcp-publisher.

Community Registries & Discovery


License

MIT © 2026 Antigravity Autonomous Systems

版本与发布记录

aegis-x402-mcp 共发布 5 个版本,首次发布于 2026/10/25;过去 12 个月发布了 5 个版本。

版本发布日期距今
1.0.3latest2026/11/03今天
1.0.22026/11/03今天
1.0.12026/10/268 天前
1.0.02026/10/259 天前
0.0.0-stage2026/10/259 天前

关于 aegis-x402-mcp 的常见问题

aegis-x402-mcp 是什么?

MCP服务器用于AegisAudit x402令牌安全,蜜罐模拟,KYA和PreFlight清除

如何安装 aegis-x402-mcp?

在项目目录运行 npm install aegis-x402-mcp,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 aegis-x402-mcp,可以用 npx aegis-x402-mcp 直接运行。

aegis-x402-mcp 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

aegis-x402-mcp 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

aegis-x402-mcp 可以商用吗?

aegis-x402-mcp 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

aegis-x402-mcp 还在维护吗?

最新版本 1.0.3 发布于 2026/11/03(今天);至今共发布 5 个版本,其中过去 12 个月发布了 5 个;首次发布于 2026/10/25。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。