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.
Fair trust
56 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- No license recorded.
License, quality and maintenance
Quality: Grade B
73/100 for listing completeness. Lost points: 6 of 7 tools barely described, short summary, no docs link.
How quality is graded
Where the 56 comes from
22 + 20 + 0 + 0 + 4 + 10 = 56. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 0 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.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.
{ "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
| Name | Required | Notes |
|---|---|---|
AEGIS_SERVER_URL | Optional | Remote AegisQuant Cloudflare Worker base URL |
X402_PRIVATE_KEYSecret | Optional | Optional Base USDC micro-payer private key (never leaves local machine; omit for free tier or use init-wallet) |
X402_MAX_PRICE_USD | Optional | Hard per-call USD cap before signing any EIP-3009 authorization (default 0.05) |
X402_DAILY_BUDGET_USD | Optional | Hard daily USD budget persisted in ~/.aegis-swap-mcp/budget.json (default 5.00) |
Tools7Tool docs quality grade F
All capabilities$0.008
$0.030
$0.020
$0.015
$0.025
mcpServerstool2. JSON Config Harnesses ( )
FREE (5/day/IP), then $0.005
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.
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.

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.
- npm:
aegis-swap-mcp· Live Edge:https://aegisquant-mcp.famedied.workers.dev· Live Telemetry:/stats - Discovery:
server-card.json·agent-card.json·erc8004-registration.json·llms.txt·skill.md
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:
- Private keys never leave your machine. Your micro-payer key (
X402_PRIVATE_KEYor~/.aegis-swap-mcp/wallet.json) stays strictly local and signs EIP-3009 Base USDC micro-invoices ($0.005–$0.030) viaviem. - Hard Local Spend Guardrails (
src/cli.ts):X402_MAX_PRICE_USD(default0.05) blocks any single invoice above your cap before signing.X402_DAILY_BUDGET_USD(default5.00, persisted in~/.aegis-swap-mcp/budget.json) enforces a hard daily USDC ceiling.
- Deterministic Local Calldata Firewall (
src/firewall.ts): Before anybuild_verified_swappayload reaches your LLM or wallet,aegis-swap-mcpverifies locally:tx.tomatches the immutable hardcoded router allowlist per chain (CoW ProtocolGPv2Settlement, KyberSwapMetaAggregationRouterV2, UniswapUniversalRouter).tx.datadoes not start with dangerous approval or transfer selectors (0x095ea7b3approve,0xa22cb465setApprovalForAll,0x23b872ddtransferFrom).- The SHA-256 verification envelope (
crypto.subtle.digest) matcheschainId,to,data,value,minAmountOut, andrecipientverbatim. - If any check fails, calldata is redacted and
FIREWALL_BLOCKEDis 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,776liquidity) with100%sell tax (CRITICAL_AVOID,99.0%rug prob) andPEPE(0x52b4...777D,$279,596liquidity) withBLACKLIST_OR_PAUSE_TRAP(99.0%rug prob), while clearingAERO,WETH,cbBTC,DEGEN,JUP,BONK, and$WIF. - Live KKT Split Routing + MEV Sandwich Savings (
$0.035total x402 fee forcompute+build):
| Live Base Pair | Trade Size | KKT Split + Tranching Gain | Naive 1% Sandwich Loss Avoided | Safe Slippage & Venue | Total Value Saved | Net ROI vs $0.035 |
|---|---|---|---|---|---|---|
AERO (6 live pools) | $1,000 | +3.08 bps | $0.00 | 500 bps (KYBER_AGGREGATOR) | $0.31 | 7.9x |
AERO (6 live pools) | $5,000 | +23.76 bps | $50.00 | 1 bps (COW_MEV_PROTECTED) | $61.88 | 1,767x |
AERO (6 live pools) | $25,000 | +141.03 bps | $250.00 | 1 bps (COW_MEV_PROTECTED) | $602.58 | 17,215.6x |
DEGEN (6 live pools) | $1,000 | +50.53 bps | $10.00 | 1 bps (COW_MEV_PROTECTED) | $15.05 | 429x |
DEGEN (6 live pools) | $5,000 | +269.85 bps | $50.00 | 1 bps (COW_MEV_PROTECTED) | $184.93 | 5,282.7x |
DEGEN (6 live pools) | $25,000 | +1350.71 bps | $250.00 | 1 bps (COW_MEV_PROTECTED) | $3,626.78 | 103,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"]
}
}
}
| Harness | Config 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 Code | cline_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 localnpx -y aegis-swap-mcpstdio bridge) - Raw x402 REST:
POST https://aegisquant-mcp.famedied.workers.dev/api/v1/{tool}(paid routes return HTTP402 Payment Requiredwith Base64PAYMENT-REQUIREDheader +extensions.bazaarschema;/api/v1/scan_alpha_safety_proalways returns402for Bazaar discovery).
Tools
| Tool | Price (Base USDC) | Purpose |
|---|---|---|
scan_alpha_safety | FREE (5/day/IP), then $0.005 | Multi-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.020 | Strictly unsigned calldata / CoW intent + SHA-256 envelope verified by Local Calldata Firewall |
audit_execution_shortfall | $0.008 | On-chain RPC receipt audit, implementation shortfall decomposition, persistent D1 EWMA update |
find_arb_and_yield_spreads | $0.025 | Closed-form cross-pool constant-product arb optimizer (strictly net-positive after gas & tax) |
batch_portfolio_shield | $0.030 | Parallel 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
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.