AegisQuant
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| X402_PRIVATE_KEY | No | Base USDC micro-payer private key used to sign EIP-3009 micro-invoices for paid tools. Stays strictly local; alternatively run `npx aegis-swap-mcp init-wallet` to store it in ~/.aegis-swap-mcp/wallet.json. Not required for the free tier. | |
| X402_MAX_PRICE_USD | No | Hard cap (in USD) that blocks any single x402 invoice above your limit before signing. Default is 0.05. | 0.05 |
| X402_DAILY_BUDGET_USD | No | Hard daily USDC spending ceiling, persisted in ~/.aegis-swap-mcp/budget.json. Default is 5.00. | 5.00 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| scan_alpha_safetyB | 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). |
| compute_optimal_executionC | KKT water-filling multi-pool split solver, Almgren-Chriss volatility-adjusted tranching, and MEV sandwich profitability bound with optimal slippage ceiling. |
| build_verified_swapA | Builds strictly unsigned swap calldata (KyberSwap/CoW Protocol) bounded by MEV-safe slippage and a SHA-256 verification envelope for local firewall validation. |
| audit_execution_shortfallB | Audits an executed transaction via public RPC, decomposes implementation shortfall (delay, impact, MEV leakage, fee drag), and updates persistent EWMA telemetry. |
| find_arb_and_yield_spreadsC | Closed-form cross-pool constant-product arbitrage optimizer returning strictly net-positive spreads after gas, tax, and price impact. |
| batch_portfolio_shieldB | Parallel Bayesian safety, LP-drain, and holder-concentration audit across up to 10 tokens in a single x402 call. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
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.