Skip to content
MCP server
RegistryRemote

AegisQuant MCP Server

Zero-custody DeFi rug scanner, KKT split router, MEV shield & local calldata firewall via x402.

AegisQuant MCP scores 56 (Fair), with no SPDX license recorded and written in TypeScript. It can be reached as a remote MCP endpoint. It declares 7 tools. Filed under Finance. GitHub shows 0 stars. Package registries report about 442 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by famediedNo licenseTypeScript0 stars
Trust score
56Fair
Trust score 56 of 100, Fair

Fair trust

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

  • Listed in the official MCP registry.
  • No license recorded.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 56 comes from

22 + 20 + 0 + 0 + 4 + 10 = 56. 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.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License0 / 10

A clear, OSI-style open-source license.

License: 0 of 10 points.
Security4 / 10

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

Security: 4 of 10 points.
Docs10 / 10

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

Docs: 10 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": {    "famedied-aegis-swap-mcp": {      "command": "npx",      "args": [        "-y",        "aegis-swap-mcp@1.0.3"      ],      "env": {        "AEGIS_SERVER_URL": "",        "X402_PRIVATE_KEY": "YOUR_X402_PRIVATE_KEY",        "X402_MAX_PRICE_USD": "",        "X402_DAILY_BUDGET_USD": ""      }    }  }}

Environment variables

NameRequiredNotes
AEGIS_SERVER_URLOptionalRemote AegisQuant Cloudflare Worker base URL
X402_PRIVATE_KEYSecretOptionalOptional Base USDC micro-payer private key (never leaves local machine; omit for free tier or use init-wallet)
X402_MAX_PRICE_USDOptionalHard per-call USD cap before signing any EIP-3009 authorization (default 0.05)
X402_DAILY_BUDGET_USDOptionalHard daily USD budget persisted in ~/.aegis-swap-mcp/budget.json (default 5.00)

Tools7Tool docs quality grade F

All capabilities

About

aegis-swap-mcp — Safe Token Checks & Smarter Swap Routing for AI Agents

Check crypto tokens for scams, split large swaps across pools to get better prices, and protect trades from front-running—without ever handing over your wallet keys.

npm version npm downloads license honeypots blocked x402 Base USDC

Install in Cursor Install in VS Code

claude mcp add aegisquant -- npx -y aegis-swap-mcp

Agent Auto-Setup Prompt: Paste into Claude Code, Antigravity, Cursor, Hermes, OpenClaw, Codex, or Windsurf: Fetch and follow https://aegisquant-mcp.famedied.workers.dev/install.md to configure AegisQuant (aegis-swap-mcp). Start with the free tier.

AegisQuant Live Demo

When you ask an AI assistant to evaluate or prepare an on-chain trade on Base, Ethereum, Arbitrum, Polygon, Optimism, or Solana, aegis-swap-mcp screens the token for honeypots and hidden sell taxes, calculates how to split the order across pools with minimal slippage, and builds an unsigned transaction that a 252-line local firewall verifies on your machine before any wallet signs. You get 5 free token safety checks per day, and optional paid tools cost $0.005–$0.030 per call in Base USDC via x402.


Zero Trust Required: Audit These 252 Lines + Local Calldata Firewall

You do not have to trust the remote edge server with your private keys or blind transaction calldata:

  1. Private keys never leave your machine. Your micro-payer key (X402_PRIVATE_KEY or ~/.aegis-swap-mcp/wallet.json) stays strictly local and signs EIP-3009 Base USDC micro-invoices ($0.005–$0.030) via viem.
  2. Hard Local Spend Guardrails (src/cli.ts):
    • X402_MAX_PRICE_USD (default 0.05) blocks any single invoice above your cap before signing.
    • X402_DAILY_BUDGET_USD (default 5.00, persisted in ~/.aegis-swap-mcp/budget.json) enforces a hard daily USDC ceiling.
  3. Deterministic Local Calldata Firewall (src/firewall.ts): Before any build_verified_swap payload reaches your LLM or wallet, aegis-swap-mcp verifies locally:
    • tx.to matches the immutable hardcoded router allowlist per chain (CoW Protocol GPv2Settlement, KyberSwap MetaAggregationRouterV2, Uniswap UniversalRouter).
    • tx.data does not start with dangerous approval or transfer selectors (0x095ea7b3 approve, 0xa22cb465 setApprovalForAll, 0x23b872dd transferFrom).
    • The SHA-256 verification envelope (crypto.subtle.digest) matches chainId, to, data, value, minAmountOut, and recipient verbatim.
    • If any check fails, calldata is redacted and FIREWALL_BLOCKED is returned immediately.

Audit the entire runtime yourself in 2 minutes: src/cli.ts (119 lines) + src/firewall.ts (133 lines) = 252 lines total (wc -l src/cli.ts src/firewall.ts).


Optional: 10-Second Micro-Payer Wallet Setup (init-wallet)

The free tier (scan_alpha_safety, 5 calls/day/IP) works out of the box with zero wallet setup. To unlock paid routing, calldata construction, and arbitrage scans without ever exposing your main wallet:

npx aegis-swap-mcp init-wallet

This creates a fresh Base EOA strictly on your local disk at ~/.aegis-swap-mcp/wallet.json (chmod 0600), prints a terminal ASCII QR code to fund it with $2–$5 Base USDC, and aegis-swap-mcp auto-loads it automatically under X402_MAX_PRICE_USD=0.05 and X402_DAILY_BUDGET_USD=5.00 caps.


Measured On-Chain Proof (Not Synthetic Estimates)

Measured live across 18 real Base & Solana contracts (GoPlus + Honeypot.is + RugCheck + DexScreener) and live Base pool reserves — full data and reproducible script in benchmarks/LIVE_PROOF.md:

  • Live Honeypot & Trap Detection: Caught Basecat (0xB200...1D01, $336,776 liquidity) with 100% sell tax (CRITICAL_AVOID, 99.0% rug prob) and PEPE (0x52b4...777D, $279,596 liquidity) with BLACKLIST_OR_PAUSE_TRAP (99.0% rug prob), while clearing AERO, WETH, cbBTC, DEGEN, JUP, BONK, and $WIF.
  • Live KKT Split Routing + MEV Sandwich Savings ($0.035 total x402 fee for compute + build):
Live Base PairTrade SizeKKT Split + Tranching GainNaive 1% Sandwich Loss AvoidedSafe Slippage & VenueTotal Value SavedNet ROI vs $0.035
AERO (6 live pools)$1,000+3.08 bps$0.00500 bps (KYBER_AGGREGATOR)$0.317.9x
AERO (6 live pools)$5,000+23.76 bps$50.001 bps (COW_MEV_PROTECTED)$61.881,767x
AERO (6 live pools)$25,000+141.03 bps$250.001 bps (COW_MEV_PROTECTED)$602.5817,215.6x
DEGEN (6 live pools)$1,000+50.53 bps$10.001 bps (COW_MEV_PROTECTED)$15.05429x
DEGEN (6 live pools)$5,000+269.85 bps$50.001 bps (COW_MEV_PROTECTED)$184.935,282.7x
DEGEN (6 live pools)$25,000+1350.71 bps$250.001 bps (COW_MEV_PROTECTED)$3,626.78103,621.3x

Setup Across Every Major AI Harness

1. One-Command CLI & Plugin Harnesses

Claude Code (MCP or Native Plugin)

# MCP (free tier, no wallet required)
claude mcp add aegisquant -- npx -y aegis-swap-mcp

# Or install as a Claude Code Plugin (includes /check-token, /safe-swap, /find-arb + skill)
/plugin marketplace add FameDied/aegis-swap-mcp
/plugin install aegisquant

Hermes Agent

# Free tier (note: --args must be the last option)
hermes mcp add aegisquant --command npx --args -y aegis-swap-mcp

# With Base USDC x402 auto-pay (or omit X402_PRIVATE_KEY after running init-wallet)
hermes mcp add aegisquant \
  --command npx \
  --env X402_PRIVATE_KEY=0xYOUR_BASE_USDC_MICRO_PAYER_KEY \
  --env X402_MAX_PRICE_USD=0.05 \
  --env X402_DAILY_BUDGET_USD=5.00 \
  --args -y aegis-swap-mcp

OpenClaw

openclaw mcp add aegisquant --command npx --arg -y --arg aegis-swap-mcp

OpenAI Codex CLI

codex mcp add aegisquant -- npx -y aegis-swap-mcp

OpenCode (~/.config/opencode/opencode.json)

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "aegisquant": {
      "type": "local",
      "command": ["npx", "-y", "aegis-swap-mcp"],
      "enabled": true
    }
  }
}

Goose (Block) (~/.config/goose/config.yaml)

extensions:
  aegisquant:
    name: AegisQuant MCP
    type: stdio
    cmd: npx
    args:
      - "-y"
      - "aegis-swap-mcp"
    enabled: true

2. JSON Config Harnesses (mcpServers)

Paste into your harness's MCP config file (add "env": { "X402_PRIVATE_KEY": "0x..." } or run npx aegis-swap-mcp init-wallet for paid tools):

{
  "mcpServers": {
    "aegisquant": {
      "command": "npx",
      "args": ["-y", "aegis-swap-mcp"]
    }
  }
}
HarnessConfig File Location
Antigravity~/.gemini/config/mcp_config.json (optionally copy SKILL.md to ~/.gemini/config/skills/aegisquant-defi-execution/SKILL.md)
Cursor.cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.json (macOS) · %APPDATA%\Claude\claude_desktop_config.json (Windows)
Windsurf~/.codeium/windsurf/mcp_config.json or ~/Library/Application Support/Windsurf/mcp.json (macOS)
Gemini CLI~/.gemini/settings.json (global) or .gemini/settings.json (project)
GitHub Copilot CLI~/.copilot/mcp-config.json (global) or .mcp.json (repo root)
Cline / Roo Codecline_mcp_settings.json (via MCP Servers → Configure)

3. Editor & TOML/YAML Config Harnesses

VS Code / GitHub Copilot Chat (.vscode/mcp.json)

{
  "servers": {
    "aegisquant": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "aegis-swap-mcp"]
    }
  }
}

Zed (settings.json)

{
  "context_servers": {
    "aegisquant": {
      "command": "npx",
      "args": ["-y", "aegis-swap-mcp"]
    }
  }
}

Codex TOML (~/.codex/config.toml)

[mcp_servers.aegisquant]
command = "npx"
args = ["-y", "aegis-swap-mcp"]

[mcp_servers.aegisquant.env]
X402_MAX_PRICE_USD = "0.05"
X402_DAILY_BUDGET_USD = "5.00"

Hermes Agent YAML (~/.hermes/config.yaml)

mcp_servers:
  aegisquant:
    command: "npx"
    args:
      - "-y"
      - "aegis-swap-mcp"
    env:
      X402_MAX_PRICE_USD: "0.05"
      X402_DAILY_BUDGET_USD: "5.00"

4. Direct Remote Streamable HTTP & Raw x402 REST

  • MCP Streamable HTTP: https://aegisquant-mcp.famedied.workers.dev/mcp (note: the Local Calldata Firewall runs only in the local npx -y aegis-swap-mcp stdio bridge)
  • Raw x402 REST: POST https://aegisquant-mcp.famedied.workers.dev/api/v1/{tool} (paid routes return HTTP 402 Payment Required with Base64 PAYMENT-REQUIRED header + extensions.bazaar schema; /api/v1/scan_alpha_safety_pro always returns 402 for Bazaar discovery).

Tools

ToolPrice (Base USDC)Purpose
scan_alpha_safetyFREE (5/day/IP), then $0.005Multi-source Bayesian rug probability, HHI holder concentration, honeypot/tax override, 0.25x Fractional Kelly sizing, and live execution_preview
compute_optimal_execution$0.015$O(N \log N)$ KKT water-filling split solver, Almgren-Chriss tranching, constant-product MEV bound
build_verified_swap$0.020Strictly unsigned calldata / CoW intent + SHA-256 envelope verified by Local Calldata Firewall
audit_execution_shortfall$0.008On-chain RPC receipt audit, implementation shortfall decomposition, persistent D1 EWMA update
find_arb_and_yield_spreads$0.025Closed-form cross-pool constant-product arb optimizer (strictly net-positive after gas & tax)
batch_portfolio_shield$0.030Parallel safety & LP-drain audit across up to 10 tokens

Frequently asked questions

What is AegisQuant MCP Server?

Zero-custody DeFi rug scanner, KKT split router, MEV shield & local calldata firewall via x402.

How do I install AegisQuant 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. AegisQuant MCP Server runs locally from the npm package aegis-swap-mcp with the command npx -y aegis-swap-mcp@1.0.3.

Does AegisQuant MCP Server support remote (HTTP) connections?

Yes. AegisQuant MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.

What tools does AegisQuant MCP Server provide?

AegisQuant MCP Server provides 7 tools, including audit_execution_shortfall, batch_portfolio_shield, build_verified_swap, and compute_optimal_execution. See the full tool list for descriptions and parameters.

How is AegisQuant MCP Server's trust score calculated?

AegisQuant MCP Server scores 56 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