Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
INGRAVITY_API_URLNoOverride the default Ingravity REST API v1 base URL.
INGRAVITY_TX_HASHNoOptional settled Base USDC transfer hash (X-TX-HASH).
INGRAVITY_AGENT_BUDGETNoOptional maximum USDC spend cap per call (X-Agent-Budget).
INGRAVITY_RECEIPT_TOKENNoOptional reusable session receipt token (X-Ingravity-Receipt-Token).
INGRAVITY_PAYMENT_SIGNATURENoBase64 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

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription
pre_sign_transaction_checkStructured security checklist before signing any EVM transaction calldata.
pre_swap_token_checkTwo-step honeypot and slippage verification workflow before swapping an ERC-20 token.

Resources

Contextual data attached and managed by the client

NameDescription
Supported EVM ChainsCanonical chain IDs and settlement asset metadata supported by the Ingravity Security MCP Server.
x402 v2 Settlement GuideHow to supply gasless EIP-3009 PAYMENT-SIGNATURE, X-Agent-Budget, and X-Ingravity-Receipt-Token headers.

TDQS

A3.7/5.0

Scored across 9 tools

Disambiguation4/5

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.

Naming Consistency4/5

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.

Tool Count5/5

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.

Completeness4/5

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.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues