AegisQuant
Provides token safety checks for honeypots, hidden sell taxes, and blacklist traps, and computes split swap routes and unsigned transactions on Ethereum.
Provides token safety checks and prepares split-routed, MEV-protected unsigned swaps on Optimism.
Provides token safety checks and prepares split-routed, MEV-protected unsigned swaps on Polygon.
Screens Solana tokens for scams and prepares safe split swap routes and unsigned transactions.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@AegisQuant screen this Base token for a honeypot, then split a 2 ETH swap for low slippage"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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-mcpAgent 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:/statsDiscovery:
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).
Related MCP server: crypto-knowledge
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-walletThis 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 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 aegisquantHermes 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-mcpOpenClaw
openclaw mcp add aegisquant --command npx --arg -y --arg aegis-swap-mcpOpenAI Codex CLI
codex mcp add aegisquant -- npx -y aegis-swap-mcpOpenCode (~/.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: true2. 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 |
|
Cursor |
|
Claude Desktop |
|
Windsurf |
|
Gemini CLI |
|
GitHub Copilot CLI |
|
Cline / Roo Code |
|
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 |
| FREE (5/day/IP), then | Multi-source Bayesian rug probability, HHI holder concentration, honeypot/tax override, 0.25x Fractional Kelly sizing, and live |
|
| $O(N \log N)$ KKT water-filling split solver, Almgren-Chriss tranching, constant-product MEV bound |
|
| Strictly unsigned calldata / CoW intent + SHA-256 envelope verified by Local Calldata Firewall |
|
| On-chain RPC receipt audit, implementation shortfall decomposition, persistent D1 EWMA update |
|
| Closed-form cross-pool constant-product arb optimizer (strictly net-positive after gas & tax) |
|
| Parallel safety & LP-drain audit across up to 10 tokens |
Available Tools
6 toolsaudit_execution_shortfallAudit Execution ShortfallBInspect
Audits an executed transaction via public RPC, decomposes implementation shortfall (delay, impact, MEV leakage, fee drag), and updates persistent EWMA telemetry.
Inputs: chain (required), tx_hash (required), pool_address (required), quoted_price (required), +6 more.
batch_portfolio_shieldBatch Portfolio ShieldBInspect
Parallel Bayesian safety, LP-drain, and holder-concentration audit across up to 10 tokens in a single x402 call.
Inputs: chain (required), token_addresses (required), portfolio_bankroll_usd.
build_verified_swapBuild Verified SwapAInspect
Builds strictly unsigned swap calldata (KyberSwap/CoW Protocol) bounded by MEV-safe slippage and a SHA-256 verification envelope for local firewall validation.
Inputs: chain (required), token_in (required), amount_in (required), token_out (required), +6 more.
compute_optimal_executionCompute Optimal ExecutionCInspect
KKT water-filling multi-pool split solver, Almgren-Chriss volatility-adjusted tranching, and MEV sandwich profitability bound with optimal slippage ceiling.
Inputs: chain (required), token_in (required), amount_in (required), token_out (required), +3 more.
find_arb_and_yield_spreadsFind Arbitrage & Yield SpreadsCInspect
Closed-form cross-pool constant-product arbitrage optimizer returning strictly net-positive spreads after gas, tax, and price impact.
Inputs: chain (required), token_address (required), custom_gas_usd.
scan_alpha_safetyScan Alpha SafetyBInspect
Multi-source Bayesian rug-probability scan, HHI concentration, honeypot/tax trap check, and 0.25x Fractional Kelly max position sizing (first 5 calls/day per IP free).
Inputs: chain (required), token_address (required), portfolio_bankroll_usd.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool maps to a distinct stage of the trade lifecycle (pre-trade safety scan, execution planning, calldata build, post-trade audit, spread discovery, batch audit), so an agent can mostly infer intent from the name. The one real overlap is scan_alpha_safety vs batch_portfolio_shield, which run the same Bayesian/honeypot checks and differ only in single-vs-batch scope; compute_optimal_execution vs build_verified_swap are also adjacent (planning vs calldata) but the descriptions separate them adequately.
All six tools follow a strict snake_case verb_noun pattern (scan_, compute_, build_, audit_, find_, batch_). No camelCase mixing or vague noun-only names, and the naming style stays uniform despite differing domains within the tool.
Six tools is well within the ideal 3-15 range and each corresponds to a distinct step in the quant trading workflow, so nothing looks padded. The surface is compact and purpose-built for a specialized DeFi execution server.
The pipeline covers the core path: safety scan, execution optimization, calldata construction, shortfall auditing, and arbitrage/yield discovery, including a batch variant for portfolio-scale work. Minor gaps remain: there is no tool to read back the persistent EWMA telemetry that audit_execution_shortfall writes, and no position/LP state or telemetry query tool, leaving a mild dead end for follow-up analysis.
Maintenance
Related MCP Connectors
Non-custodial, rug-gated crypto swaps + token safety + discovery for AI agents.
Safe Solana swaps for AI agents with risk checks, unsigned transactions, x402, and 3-bp fees.
Trading tools for AI agents: token risk checks, swap quotes, unsigned swaps, holdings on 5 chains.
Solana token safety for AI agents — rug-pull, honeypot & Token-2022 trap detection before you buy.
Related MCP Servers
- FlicenseBqualityDmaintenanceEnables AI assistants to discover, evaluate, and execute DeFi yield strategies across EVM and Solana chains through natural conversation, with transactions signed locally.151-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to perform complex crypto operations like cross-chain routing, contract decoding, portfolio management, and anti-rug security checks, returning unsigned transactions for safe signing by the agent.MIT
- AlicenseAqualityCmaintenanceEnables AI agents to query multichain balances, inspect smart contracts, and draft DeFi interactions while enforcing anti-drainer protections such as approval blocking, destination whitelisting, spend caps, and human approval gates.5Business Source 1.1

Warden MCPofficial
AlicenseNot gradedqualityCmaintenanceEnables AI agents to discover tokens, price swaps, and execute onchain trades across Base, BNB Chain, Robinhood Chain, and Arc, with user-defined limits and wallet or hands-free signing options.2MIT