# Ingravity Autonomous EVM Security & DeFi Guard (x402 v2)

> Ingravity Autonomous EVM Security & DeFi Guard (x402 v2) is a freemium MCP server for finance and payments. Pre-sign EVM transaction firewall and token honeypot scanner for AI agents, pay-per-call. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** CLI, API, Web, Linux, macOS, Windows, Self-hosted
- **Repository:** https://github.com/dms1979/ingravity-security
- **MCP Registry name:** io.github.DMS1979/ingravity-security
- **Categories:** [finance and payments](https://ai-powered.com/categories/finance-and-payments), [security](https://ai-powered.com/categories/security), [crypto and web3](https://ai-powered.com/categories/crypto-and-web3), [smart contract security](https://ai-powered.com/categories/smart-contract-security)
- **Listing updated:** 2026-11-20

## About

The README describes an MCP server that gives AI clients security checks for Ethereum-compatible transactions and tokens across Base, Arbitrum, Optimism, Polygon and Ethereum. Some tools run locally and need no network, such as calldata validation and selector decoding. The paid checks call a backend REST API and settle per request in Base USDC under the x402 v2 protocol, with no API keys or subscriptions required.

The server is a zero-dependency Node.js STDIO implementation of MCP 2025-06-18, also available as a Docker image and an npm package. Its tool catalog ranges from a $0.01 binary safe-or-danger address check up to multi-contract protocol dossiers, with separate pricing for a full and an essential tier. The README says it never holds private keys and never requests ERC-20 approvals.

The package is aimed at developers wiring wallet or trading agents into Claude Desktop, Cursor, Windsurf, Coinbase AgentKit or ElizaOS, who want a spend cap and a pre-trade safety step before signing.

## Features

- **Pre-sign transaction firewall:** Simulates calldata and checks for proxy patterns and revocation bundles before a transaction is signed.
- **ERC-20 honeypot scanning:** Disassembles token bytecode over live RPC on five EVM chains to flag honeypot and rug-pull patterns.
- **DeFi slippage and MEV math:** Computes AMM slippage, sandwich exposure and perpetual liquidation figures with BigInt arithmetic.
- **Solidity static audit:** Runs a deterministic 24-check static analysis on contract source with a noise filter.
- **Local calldata utilities:** Validates hex calldata, decodes common selectors and appends the Base ERC-8021 attribution suffix offline.
- **Per-call spend controls:** Accepts a USDC budget cap and reusable session receipt tokens to limit repeated charges.

## Good for

- Checking a token for honeypot behaviour before an agent executes a swap
- Reviewing approval and permit calldata before a wallet agent signs it
- Estimating slippage and sandwich risk for a DeFi trade inside an automated workflow
- Running a static audit on a Solidity contract before deployment
- Adding a paid security gate to a Coinbase AgentKit or ElizaOS agent

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http ingravity-security https://red-shape-1b3b.daviddelmoral79.workers.dev/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://red-shape-1b3b.daviddelmoral79.workers.dev/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "ingravity-security": {
      "url": "https://red-shape-1b3b.daviddelmoral79.workers.dev/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "ingravity-security": {
      "type": "http",
      "url": "https://red-shape-1b3b.daviddelmoral79.workers.dev/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "ingravity-security": {
      "serverUrl": "https://red-shape-1b3b.daviddelmoral79.workers.dev/mcp"
    }
  }
}
```

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://red-shape-1b3b.daviddelmoral79.workers.dev/mcp
```

Enter a Name (for example "Ingravity Autonomous EVM Security & DeFi Guard (x402 v2)"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "ingravity-security": {
      "type": "http",
      "url": "https://red-shape-1b3b.daviddelmoral79.workers.dev/mcp"
    }
  }
}
```

## Tools

All 7 tools say they're read-only. From the server's own tool annotations; not verified by us.

- `ingravity_fastPingAddressSafety` (says read-only): Checks whether a single EVM address (0x...) is SAFE, DANGER, or UNKNOWN_UNVERIFIED_RPC across five chains (chainId: 8453 Base default, 42161 Arbitrum, 10 Optimism, 137 Polygon, 1 Ethereum; unknown IDs fall back to 8453). Strictly read-only, returning only a binary status and PROCEED/ABORT/CAUTION action with zero forensic leakage. Costs $0.01 USDC flat on Base via x402 v2; unpaid calls return isEr
- `ingravity_auditSolidityContract` (says read-only): Audits a single Solidity file (code, required; optional contractName) across 24 SWC/DeFi rules using a 4-gate filter that excludes dust rounding and trusted-admin paths. Read-only and never broadcasts transactions: optionally supply deployed contractAddress, chainId (default 8453), and ownerTreasury to check live TVL via RPC and generate unsigned EIP-5792/EOA Safe-Harbor rescue calldata (90%-95% t
- `ingravity_inspectEvmTransactionFirewall` (says read-only): Simulates pre-sign EVM calldata (to, data, optional from and wei value defaulting to '0') across five chains (chainId default 8453 Base) to block drainers before wallet signing. Strictly read-only: decodes ERC-20 approve, NFT setApprovalForAll, EIP-2612/Permit2 signatures, and recursive multicall while reading live RPC bytecode and EIP-1967/1167 slots to return SAFE/WARNING/BLOCK_DRAINER (PROCEED/
- `ingravity_computeDefiSlippageAndLiquidation` (says read-only): Computes deterministic 18-decimal BigInt AMM swap outputs (amm: exact amount out, price impact, and 48-step MEV sandwich bounds) and/or perp liquidation limits (leverage: liquidation price and health factor). Runs pure off-chain math with zero RPC calls or on-chain side effects; pass amm, leverage, or both (omitting both returns -32602). Set tier to FULL ($0.10 USDC, default) for full metrics or E
- `ingravity_scanTokenRugpullAndHoneypot` (says read-only): Audits an ERC-20 token for honeypots, hidden mints, blacklists, abusive taxes, paused swaps, and stealth proxies using deployed tokenAddress (live 5-EVM RPC bytecode scan), pre-deploy Solidity code, or both (omitting both returns -32602). Read-only across chainId (default 8453 Base; tokenName labels the output), returning verdict, canSell, rugProbabilityScore (0-100), and PROCEED/CAUTION/ABORT. Se
- `ingravity_generateMultiContractProtocolDossier` (says read-only): Audits 1-20 interdependent Solidity contracts (contracts array of {name, code}, required; optional protocolName and tvlTargetUsd=1000000) for cross-contract read-only reentrancy, centralization, and 6 ERC-4626/oracle invariants. Strictly read-only: pass optional contractAddress, chainId (8453 Base default, 42161, 10, 137, 1), and ownerTreasury to verify live RPC TVL and build unsigned EIP-5792/EOA
- `ingravity_simulateDeepExploitAndWhitehatBounty` (says read-only): Simulates flash-loan drain vectors, oracle slot0/reserve exposure, and live on-chain TVL across five EVM chains for a target protocol (protocolName required; poolAddress defaults to Base Aerodrome address when omitted, tvlUsd defaults to 250000). Strictly read-only: reads live RPC liquidity and optional Solidity code to compute exploitImmunityScore and unsigned EIP-5792/EOA Safe-Harbor rescue call

## FAQ

### Do I need an API key to use the paid tools?

The README says payment is settled per call in Base USDC over x402 v2, with zero API keys or subscriptions.

### Which chains are supported?

Base (8453), Arbitrum (42161), Optimism (10), Polygon (137) and Ethereum (1).

### Does the server hold private keys or request token approvals?

The README states it never holds private keys and never requests ERC-20 approve() calls.

### How do I run Ingravity Autonomous EVM Security & DeFi Guard (x402 v2) locally?

Via Docker with docker build and docker run, or through npx using the ingravity-security package in an MCP client config.

### How do I add Ingravity Autonomous EVM Security & DeFi Guard (x402 v2) to Claude Code?

Run this command in your terminal: claude mcp add --transport http ingravity-security https://red-shape-1b3b.daviddelmoral79.workers.dev/mcp

### What are the best alternatives to Ingravity Autonomous EVM Security & DeFi Guard (x402 v2)?

The closest alternatives to Ingravity Autonomous EVM Security & DeFi Guard (x402 v2) are AgentDiet Base EVM & Solana Smart Contract Security Scanner, Verifystack X402, Token Honeypot & EVM Pre-Flight Audit MCP, APEX DeFi, DefiLlama, DEX & EVM Audit MCP and Diogenes Web3, DeFi & 402 Security MCP.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Status and tools: checked automatically by AIPoweredBot on 21 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [AgentDiet Base EVM & Solana Smart Contract Security Scanner](https://ai-powered.com/mcp/agentdiet-base-evm-and-solana-smart-contract-security-scanne): AgentDiet Base EVM & Solana Smart Contract Security Scanner is a paid MCP server for legal and government.
- [Verifystack X402](https://ai-powered.com/mcp/verifystack-x402): Verifystack X402 is a paid MCP server for finance and payments.
- [Token Honeypot & EVM Pre-Flight Audit MCP](https://ai-powered.com/mcp/token-honeypot-and-evm-pre-flight-audit-mcp): Token Honeypot & EVM Pre-Flight Audit MCP is a freemium MCP server for security.
- [APEX DeFi, DefiLlama, DEX & EVM Audit MCP](https://ai-powered.com/mcp/apex-defi-defillama-dex-and-evm-audit-mcp): APEX DeFi, DefiLlama, DEX & EVM Audit MCP is a freemium MCP server for finance and payments.
- [Diogenes Web3, DeFi & 402 Security MCP](https://ai-powered.com/mcp/diogenes-web3-defi-and-402-security-mcp): Diogenes Web3, DeFi & 402 Security MCP is a freemium MCP server for finance and payments.
- [Universal Blockchain MCP](https://ai-powered.com/mcp/universal-blockchain-mcp): Universal Blockchain MCP is an open-source MCP server for finance and payments.
- [Web3 Systemic Agent](https://ai-powered.com/mcp/web3-systemic-agent): Web3 Systemic Agent is a freemium MCP server for ai models and llm tooling.
- [Onchain Safety MCP](https://ai-powered.com/mcp/onchain-safety-mcp): Onchain Safety MCP is an open-source MCP server for crypto and web3.

---
Source: https://ai-powered.com/mcp/ingravity-autonomous-evm-security-and-defi-guard-x402-v2
