ingravity-security
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| INGRAVITY_API_URL | No | Override the default Ingravity REST API v1 base URL. | |
| INGRAVITY_TX_HASH | No | Optional settled Base USDC transfer hash (X-TX-HASH). | |
| INGRAVITY_AGENT_BUDGET | No | Optional maximum USDC spend cap per call (X-Agent-Budget). | |
| INGRAVITY_RECEIPT_TOKEN | No | Optional reusable session receipt token (X-Ingravity-Receipt-Token). | |
| INGRAVITY_PAYMENT_SIGNATURE | No | Base64 EIP-3009 x402 v2 PAYMENT-SIGNATURE authorization. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Ingravity Security MCP Server (5-EVM Web3 defense). Use local tools ingravity_decodeEvmCalldataSelector and ingravity_encodeErc8021Calldata for structural calldata parsing and ERC-8021 attribution, and the 7 x402-backed API tools for live on-chain honeypot, drainer firewall, MEV math, and Solidity audit verdicts.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| ingravity_encodeErc8021CalldataA | Validates hexadecimal EVM calldata locally and idempotently appends the ERC-8021 Base Builder attribution suffix (bc_i26d7owr). Pure local deterministic execution with zero network calls. |
| ingravity_decodeEvmCalldataSelectorA | Structurally parses EVM hexadecimal calldata locally to identify standard 4-byte selectors (ERC-20 approve/transfer/transferFrom, ERC-721 setApprovalForAll, EIP-2612 permit, Permit2, multicall) and extract raw 32-byte ABI words. Pure structural decoding — use ingravity_inspectEvmTransactionFirewall for live risk verdicts and proxy forensics. |
| ingravity_fastPingAddressSafetyA | Queries the Ingravity x402 v2 API (/api/v1/fast-ping) for a binary SAFE/DANGER address gate across 5 EVM chains ($0.01 USDC flat on Base Mainnet). Strictly read-only. |
| ingravity_inspectEvmTransactionFirewallA | Submits transaction calldata to /api/v1/tx-firewall ($0.10 USDC on Base via x402 v2) for live 5-EVM RPC bytecode & EIP-1967/1167 proxy inspection, drainer interception, and unsigned EIP-5792 revocation bundles. |
| ingravity_scanTokenRugpullAndHoneypotA | Calls /api/v1/token-rug-scanner ($0.12 Full / $0.04 Essential USDC via x402 v2) to audit ERC-20 tokens via live 5-EVM RPC bytecode disassembly & proxy inspection (no Solidity source required). |
| ingravity_computeDefiSlippageAndLiquidationB | Calls /api/v1/defi-math-guard ($0.10 Full / $0.04 Essential USDC via x402 v2) for exact 18-decimal BigInt AMM swap math, 48-step MEV sandwich bounds, and perpetual liquidation thresholds. |
| ingravity_auditSolidityContractB | Calls /api/v1/audit-solidity ($0.85 Full / $0.35 Essential USDC via x402 v2) for a deterministic 24-vector Solidity static audit with 4-gate anti-noise filtering. |
| ingravity_generateMultiContractProtocolDossierB | Calls /api/v1/protocol-dossier ($12.00 Full / $3.50 Essential USDC via x402 v2) to audit 1-20 interdependent Solidity contracts for cross-contract reentrancy and ERC-4626/oracle invariants. |
| ingravity_simulateDeepExploitAndWhitehatBountyB | Calls /api/v1/deep-exploit-bounty ($45.00 Full / $9.50 Essential USDC via x402 v2) for flash-loan exploit vector simulation, live TVL inspection, and unsigned EIP-5792 Safe-Harbor rescue plans. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| pre_sign_transaction_check | Structured security checklist before signing any EVM transaction calldata. |
| pre_swap_token_check | Two-step honeypot and slippage verification workflow before swapping an ERC-20 token. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Supported EVM Chains | Canonical chain IDs and settlement asset metadata supported by the Ingravity Security MCP Server. |
| x402 v2 Settlement Guide | How to supply gasless EIP-3009 PAYMENT-SIGNATURE, X-Agent-Budget, and X-Ingravity-Receipt-Token headers. |
TDQS
Scored across 9 tools
Most tools target clearly distinct artifacts: local calldata encode, local calldata decode, address gate, tx firewall, token scan, DeFi math, single-contract audit, multi-contract dossier, and exploit simulation. The only real overlap is among the three audit-style tools (auditSolidityContract vs generateMultiContractProtocolDossier vs simulateDeepExploitAndWhitehatBounty), which descriptions do disambiguate via scope (single vs 1-20 contracts vs exploit simulation) and payload type. Descriptions also include explicit cross-references (decode says 'use inspectEvmTransactionFirewall for live risk verdicts'), which further reduces misselection.
All nine tools use the same ingravity_ prefix and verb-first camelCase, with descriptive multi-word object names. Minor deviations exist: internal word order varies (encodeErc8021Calldata vs fastPingAddressSafety, which starts with an adjective rather than a verb) and some names append a risk-domain qualifier. Overall still highly predictable.
Nine tools is well within a comfortable scope, and each appears to map to a distinct endpoint or local capability with a distinct job (no duplicate wrappers of the same API route). No padding or thin 1-2 tool surface.
The domain (EVM security triage, contract auditing, and transaction safety) is covered end to end: pre-trade address gating, calldata encode/decode, live tx firewall, token rug scanning, DeFi math, and static/dynamic audits. Gaps remain around approval/allowance enumeration and a standalone revocation builder (revocation bundles only appear embedded as unsigned output), EIP-712/permit phishing verification, and detailed per-address risk reporting beyond the binary SAFE/DANGER gate.