Ingravity Autonomous EVM Security & DeFi Guard (x402 v2) MCP Server
5-EVM 3-in-1 pre-sign firewall ($0.10), $0.005 honeypot gate, MEV & Solidity audit via x402 USDC.
Ingravity Autonomous EVM Security & DeFi Guard (x402 v2) scores 71 (Good), licensed MIT and written in JavaScript. It can be reached as a remote MCP endpoint. It declares 4 tools. Filed under Uncategorized. GitHub shows 0 stars. Package registries report about 852 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
71 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Where the 71 comes from
22 + 20 + 5 + 10 + 4 + 10 = 71. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 5 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "dms1979-ingravity-security": { "command": "npx", "args": [ "-y", "ingravity-security@1.3.8" ] } }}
Environment variables
This server does not declare environment variables.
Tools4Tool docs quality grade C
All capabilitiesStructurally decodes standard 4-byte EVM selectors (approve, transfer, transferFrom, setApprovalForAll, permit, Permit2, multicall) and raw 32-byte ABI words locally.
Validates hexadecimal EVM calldata locally and idempotently appends the Base ERC-8021 attribution suffix (bci26d7owr).
v1.3.8toolArchitecture & Key Capabilities ( · Swarm )
v3.15.3toolArchitecture & Key Capabilities ( · Swarm )
About
Ingravity Security MCP Server & Universal Web3 SDK (ingravity-security)
Self-contained, zero-dependency Model Context Protocol (MCP 2025-06-18) STDIO Server (mcp.js) and Universal Web3 SDK (index.js — Viem, Ethers v5/v6, Coinbase AgentKit, ElizaOS & raw privateKey) for 5-EVM pre-flight security, EVM calldata structural decoding, ERC-8021 Base Builder attribution, live RPC token honeypot scanning, BigInt DeFi MEV slippage math, and 24-vector Solidity auditing across Base (8453), Arbitrum (42161), Optimism (10), Polygon (137), and Ethereum (1).
Architecture & Key Capabilities (v1.3.8 · Swarm v3.15.3)
This repository contains the complete, runnable STDIO MCP Server (mcp.js), Universal SDK (index.js), and minimal Node 22 Alpine Dockerfile:
- Zero-Dependency Local EIP-3009 Auto-Signer: Built-in Ethereum
keccak256+secp256k1RFC 6979 signer lets MCP agents (INGRAVITY_PRIVATE_KEY) and Node.js bots ({ privateKey }) settle$0.005–$0.12 USDCx402 challenges gaslessly locally with zero external packages and strict per-call budget caps (INGRAVITY_AGENT_BUDGET). - Universal Wallet Compatibility (
index.js): Works out-of-the-box with Viem (privateKeyToAccount&WalletClient), Ethers v5 & v6 (new ethers.Wallet(...)), Coinbase AgentKit (EvmWalletProvider), ElizaOS, or a raw{ privateKey }hex string. - Full
@x402/mcpWire Protocol (mcp.js): Emits_meta["x402/error"]on unpaid challenges, accepts_meta["x402/payment"]on retries, returns_meta["x402/payment-response"]on settlement, and accepts bothcamelCaseandsnake_casetool names. - Local Deterministic Web3 Tools (Zero Network Required):
ingravity_encodeErc8021Calldata— Validates hexadecimal EVM calldata locally and idempotently appends the Base ERC-8021 attribution suffix (bc_i26d7owr).ingravity_decodeEvmCalldataSelector— Structurally decodes standard 4-byte EVM selectors (approve,transfer,transferFrom,setApprovalForAll,permit,Permit2,multicall) and raw 32-byte ABI words locally.
Quickstart (1-Command CLI, Zero-Dep Auto-Pay, @x402/fetch, MCP & Docker)
Option 0: Instant 1-Command Terminal CLI ($0.005 USDC Gasless Base Auto-Pay)
# Instant $0.005 USDC SAFE/DANGER check (0 ETH gas — EIP-3009 sponsored on Base)
INGRAVITY_PRIVATE_KEY=0xYOUR_BOT_KEY npx -y ingravity-security@1.3.8 ping 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
# Direct 0x Token Honeypot Scan ($0.04 Signal / $0.12 Full) or zero-facilitator Prepaid Pass ($1 -> 230 pings)
INGRAVITY_PRIVATE_KEY=0xYOUR_BOT_KEY npx -y ingravity-security@1.3.8 scan 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
INGRAVITY_PRIVATE_KEY=0xYOUR_BOT_KEY npx -y ingravity-security@1.3.8 pass 1
Option 1: Zero-Dependency 4-Line Node.js Auto-Pay (ingravity-security)
const { IngravitySecurityActionProvider } = require("ingravity-security");
const guard = new IngravitySecurityActionProvider({ privateKey: process.env.INGRAVITY_PRIVATE_KEY, maxSpendUsdc: 0.05 });
const ping = await guard.fastPing({ address: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", chainId: 8453 }); // $0.005 USDC
console.log(ping.verdict, ping.action); // "SAFE" "PROCEED"
(Also accepts walletProvider: viemAccount | viemWalletClient | ethersWallet | agentKitWalletProvider!)
Option 2: 5-Line @x402/fetch Auto-Pay on Base (eip155:8453)
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client();
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const res = await wrapFetchWithPayment(fetch, client)("https://red-shape-1b3b.daviddelmoral79.workers.dev/api/v1/fast-ping?address=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913&chainId=8453");
(Or via CLI: npx -y agentcash@0.3.2 fetch "https://red-shape-1b3b.daviddelmoral79.workers.dev/api/v1/fast-ping?address=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913&chainId=8453".)
Option 3: Claude Desktop / Cursor / Windsurf (npx with optional local Auto-Pay)
Add to claude_desktop_config.json or .cursor/mcp.json:
{
"mcpServers": {
"ingravity-security": {
"command": "npx",
"args": ["-y", "-p", "ingravity-security@1.3.8", "ingravity-mcp"],
"env": {
"INGRAVITY_AGENT_BUDGET": "0.10",
"INGRAVITY_PRIVATE_KEY": "0xYOUR_OPTIONAL_DEDICATED_BOT_KEY"
}
}
}
}
(If INGRAVITY_PRIVATE_KEY is omitted, the 2 local calldata tools run offline for free and the 7 API tools return standard x402 v2 payment quotes in _meta["x402/error"] for @x402/mcp clients.)
Option 3b: Remote Streamable-HTTP MCP Without Local Signer (X-Ingravity-Pass)
Fund $1.00 USDC once at https://red-shape-1b3b.daviddelmoral79.workers.dev/api/v1/pass/topup?usdAmount=1 (+15% bonus = $1.15 credit = 230 fast-pings) and configure a static header in Cursor, Claude, Windsurf, Cline, or OpenClaw:
{
"mcpServers": {
"ingravity-security": {
"url": "https://red-shape-1b3b.daviddelmoral79.workers.dev/mcp",
"headers": {
"X-Ingravity-Pass": "pass_<YOUR_PREPAID_TOKEN>"
}
}
}
}
Option 4: Docker
docker build -t ingravity-security-mcp .
docker run -i --rm ingravity-security-mcp:1.3.8
Optional Environment Variables (mcp.js)
| Variable | Description |
|---|---|
INGRAVITY_PRIVATE_KEY | Optional local EVM private key (0x...) for automatic gasless EIP-3009 signing up to INGRAVITY_AGENT_BUDGET (never leaves your machine). |
INGRAVITY_AGENT_BUDGET | Maximum USDC spend cap per call (X-Agent-Budget, default 0.12 when auto-signing). |
INGRAVITY_API_URL | Override the default Ingravity REST API v1 base URL. |
INGRAVITY_PAYMENT_SIGNATURE | Pre-signed Base64 EIP-3009 x402 v2 PAYMENT-SIGNATURE authorization. |
INGRAVITY_TX_HASH | Optional settled Base USDC transfer hash (X-TX-HASH). |
INGRAVITY_RECEIPT_TOKEN | Optional reusable session receipt token (X-Ingravity-Receipt-Token). |
MCP Tools Catalog (9 Tools)
Local Deterministic Utilities (No Network Required — $0.00)
| Tool Name | Execution | Description |
|---|---|---|
ingravity_encodeErc8021Calldata | Local | Validates EVM hex calldata and idempotently appends Base ERC-8021 suffix (bc_i26d7owr). |
ingravity_decodeEvmCalldataSelector | Local | Structurally decodes 4-byte EVM selectors and 32-byte ABI arguments (no risk verdict). |
x402 v2 Security Verification Tools (Base Mainnet USDC)
Tool Name (snake_case alias supported) | API Route | Full Tier | Essential Tier | Capabilities |
|---|---|---|---|---|
ingravity_fastPingAddressSafety (ingravity_fast_ping) | GET /api/v1/fast-ping | $0.005 | $0.005 | Binary SAFE / DANGER gate across 5 EVM chains (<= $0.05 bots). |
ingravity_inspectEvmTransactionFirewall (ingravity_tx_firewall) | GET | POST /api/v1/tx-firewall (alias /api/v1/pre-sign) | $0.10 | $0.10 | Unified 3-in-1 Pre-Sign Firewall: calldata/Permit2 + swap tokenOut honeypot + BigInt MEV guard. |
ingravity_scanTokenRugpullAndHoneypot (ingravity_token_rug_scanner) | GET | POST /api/v1/token-rug-scanner | $0.12 | $0.04 | Live 5-EVM RPC ERC-20 bytecode disassembly & honeypot detection. |
ingravity_computeDefiSlippageAndLiquidation (ingravity_defi_math_guard) | GET | POST /api/v1/defi-math-guard | $0.10 | $0.04 | 48-step exact BigInt AMM slippage, MEV sandwich & perp liquidation math. |
ingravity_auditSolidityContract (ingravity_audit_solidity) | POST /api/v1/audit-solidity | $0.85 | $0.35 | Deterministic 24-vector Solidity static audit with 4-gate anti-noise filter. |
ingravity_generateMultiContractProtocolDossier (ingravity_protocol_dossier) | POST /api/v1/protocol-dossier | $12.00 | $3.50 | Multi-contract (1–20 files) cross-reentrancy & ERC-4626/oracle invariants. |
ingravity_simulateDeepExploitAndWhitehatBounty (ingravity_deep_exploit_bounty) | POST /api/v1/deep-exploit-bounty | $45.00 | $9.50 | Flash-loan exploit simulation, live TVL check & unsigned Safe-Harbor plan. |
10-Line Base Pre-Swap Guard (Aerodrome & Uniswap Trading Bots)
Block honeypots, hidden tax traps, and malicious approvals before signing on Base (8453) for $0.005–$0.04 USDC using Viem, Ethers, AgentKit, or { privateKey }:
const { IngravitySecurityActionProvider } = require("ingravity-security");
async function safeSwapOnBase(signerOrKey, tokenOut, router, swapCalldata) {
const guard = new IngravitySecurityActionProvider(
typeof signerOrKey === "string" ? { privateKey: signerOrKey, maxSpendUsdc: 0.05 } : { walletProvider: signerOrKey, maxSpendUsdc: 0.05 }
);
const ping = await guard.fastPing({ address: tokenOut, chainId: 8453 }); // $0.005 USDC
if (ping.action === "ABORT" || ping.verdict === "DANGER") throw new Error("Blocked drainer/honeypot");
const scan = await guard.tokenRugScanner({ tokenAddress: tokenOut, chainId: 8453, tier: "ESSENTIAL" }); // $0.04
if (scan.action === "ABORT" || /HIGH_RUG_RISK|CRITICAL_HONEYPOT/.test(scan.verdict)) {
throw new Error(`Swap aborted: ${scan.verdict}`);
}
return { safeToBroadcast: true, router, swapCalldata }; // Aerodrome 0xcF77...4E43 / Uniswap 0x2626...e481
}
See examples/base_preswap_aerodrome_uniswap.js for a runnable template with optional txFirewall calldata verification ($0.10 USDC).
Security & Verification
npm test
- Zero Custody: Never holds private keys on remote servers or requests ERC-20
approve(). - Base Builder Code:
bc_i26d7owr(ERC-8021). - License: MIT
Frequently asked questions
What is Ingravity Autonomous EVM Security & DeFi Guard (x402 v2) MCP Server?
5-EVM 3-in-1 pre-sign firewall ($0.10), $0.005 honeypot gate, MEV & Solidity audit via x402 USDC.
How do I install Ingravity Autonomous EVM Security & DeFi Guard (x402 v2) MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Ingravity Autonomous EVM Security & DeFi Guard (x402 v2) MCP Server runs locally from the npm package ingravity-security with the command npx -y ingravity-security@1.3.8.
Is Ingravity Autonomous EVM Security & DeFi Guard (x402 v2) MCP Server free and open source?
Yes. Ingravity Autonomous EVM Security & DeFi Guard (x402 v2) MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Ingravity Autonomous EVM Security & DeFi Guard (x402 v2) MCP Server support remote (HTTP) connections?
Yes. Ingravity Autonomous EVM Security & DeFi Guard (x402 v2) MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
What tools does Ingravity Autonomous EVM Security & DeFi Guard (x402 v2) MCP Server provide?
Ingravity Autonomous EVM Security & DeFi Guard (x402 v2) MCP Server provides 4 tools: ingravity_decodeEvmCalldataSelector, ingravity_encodeErc8021Calldata, v1.3.8, and v3.15.3. See the full tool list for descriptions and parameters.
How is Ingravity Autonomous EVM Security & DeFi Guard (x402 v2) MCP Server's trust score calculated?
Ingravity Autonomous EVM Security & DeFi Guard (x402 v2) MCP Server scores 71 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.