Server data from the Official MCP Registry
5-EVM pre-sign firewall, ERC-20 honeypot scanner, DeFi MEV math & Solidity audit via x402.
About
5-EVM pre-sign firewall, ERC-20 honeypot scanner, DeFi MEV math & Solidity audit via x402.
Remote endpoints: streamable-http: https://red-shape-1b3b.daviddelmoral79.workers.dev/mcp
Security Report
Valid MCP server (0 strong, 2 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry.
7 tools verified · Open access · 4 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
How to Install & Connect
Available as Local & Remote
This plugin can run on your machine or connect to a hosted endpoint. during install.
Documentation
View on GitHubFrom the project's GitHub README.
Ingravity Security MCP Server (ingravity-security)
Self-contained, zero-dependency Model Context Protocol (MCP 2025-06-18) STDIO Server implemented in Node.js (mcp.js) for 5-EVM Web3 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 & Implementation
This repository contains the complete, runnable STDIO MCP Server (mcp.js) packaged with a minimal Node 22 Alpine Dockerfile:
- Local MCP
2025-06-18Protocol Engine (mcp.js): Natively implementsinitialize,ping,tools/list,tools/call,resources/list,resources/read,prompts/list, andprompts/getover JSON-RPC 2.0 STDIO with zero external runtime dependencies. - 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.
- Local Input Validation & Session Receipt Caching: Strictly validates EVM addresses, chain IDs, and required schemas locally (
-32602JSON-RPC errors) and caches HMAC session receipts (X-Ingravity-Receipt-Token) to prevent duplicate spend. - Ingravity x402 v2 REST API Integrations (
/api/v1/*): Dispatches paid security analysis calls to the Ingravity verification backend settling per-call in Native Base USDC (eip155:8453) with zero API keys or subscriptions.
Quickstart (5-Line x402 Auto-Pay, MCP & Docker)
Option 1: 5-Line Autonomous Bot Pre-Swap Gate (@x402/fetch 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");
(Need npm i @x402/fetch @x402/evm viem, or use CLI npx agentcash fetch "https://red-shape-1b3b.daviddelmoral79.workers.dev/api/v1/fast-ping?address=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913&chainId=8453".)
Option 2: Claude Desktop / Cursor / Windsurf (npx)
Add this entry to your MCP client configuration (claude_desktop_config.json or .cursor/mcp.json):
{
"mcpServers": {
"ingravity-security": {
"command": "npx",
"args": ["-y", "-p", "ingravity-security@1.3.4", "ingravity-mcp"],
"env": {
"INGRAVITY_AGENT_BUDGET": "0.10"
}
}
}
}
Option 3: Docker
docker build -t ingravity-security-mcp .
docker run -i --rm ingravity-security-mcp
Optional Environment Variables
| Variable | Description |
|---|---|
INGRAVITY_API_URL | Override the default Ingravity REST API v1 base URL. |
INGRAVITY_AGENT_BUDGET | Optional maximum USDC spend cap per call (X-Agent-Budget). |
INGRAVITY_PAYMENT_SIGNATURE | 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)
| 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 | API Route | Full Tier | Essential Tier | Capabilities |
|---|---|---|---|---|
ingravity_fastPingAddressSafety | GET /api/v1/fast-ping | $0.01 | $0.01 | Binary SAFE / DANGER gate across 5 EVM chains (<= $0.05 bots). |
ingravity_inspectEvmTransactionFirewall | POST /api/v1/tx-firewall | $0.10 | $0.10 | Pre-sign calldata simulation, EIP-1967/1167 proxy check & revocation bundle. |
ingravity_scanTokenRugpullAndHoneypot | POST /api/v1/token-rug-scanner | $0.12 | $0.04 | Live 5-EVM RPC ERC-20 bytecode disassembly & honeypot detection. |
ingravity_computeDefiSlippageAndLiquidation | POST /api/v1/defi-math-guard | $0.10 | $0.04 | 48-step exact BigInt AMM slippage, MEV sandwich & perp liquidation math. |
ingravity_auditSolidityContract | POST /api/v1/audit-solidity | $0.85 | $0.35 | Deterministic 24-vector Solidity static audit with 4-gate anti-noise filter. |
ingravity_generateMultiContractProtocolDossier | POST /api/v1/protocol-dossier | $12.00 | $3.50 | Multi-contract (1–20 files) cross-reentrancy & ERC-4626/oracle invariants. |
ingravity_simulateDeepExploitAndWhitehatBounty | POST /api/v1/deep-exploit-bounty | $45.00 | $9.50 | Flash-loan exploit simulation, live TVL check & unsigned Safe-Harbor plan. |
MCP Resources & Prompts
- Resources:
ingravity://docs/supported-chains— Canonical 5-EVM chain IDs and Base USDC settlement contract.ingravity://docs/x402-settlement— Zero-custody EIP-3009 x402 v2 settlement guide.
- Prompts:
pre_sign_transaction_check— Structured workflow to decode and inspect EVM calldata before signing.pre_swap_token_check— Two-step honeypot and AMM slippage checklist before swapping ERC-20 tokens.
Programmatic Library Usage (Base Trading Bots, Coinbase AgentKit & ElizaOS)
In addition to the standalone MCP server (mcp.js), the package exports IngravitySecurityActionProvider, ingravityElizaPlugin, and encodeErc8021Calldata from index.js:
npm install ingravity-security
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.01–$0.04 USDC:
const { IngravitySecurityActionProvider } = require("ingravity-security");
async function safeSwapOnBase(walletProvider, tokenOut, router, swapCalldata) {
const guard = new IngravitySecurityActionProvider({ walletProvider, maxSpendUsdc: 0.05 });
const ping = await guard.fastPing({ address: tokenOut, chainId: 8453 }); // $0.01 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 or requests ERC-20
approve(). - Base Builder Code:
bc_i26d7owr(ERC-8021). - License: MIT
Reviews
No reviews yet
Be the first to review this server!
More Security MCP Servers
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
mcp-creator-python
Freeby mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
by Lharries · Communication
Read, search, and send WhatsApp messages through your AI assistant
FinAgent
Freeby mcp-marketplace · Finance
Free stock data and market news for any MCP-compatible AI assistant.
Memory
Freeby Modelcontextprotocol · Productivity
Knowledge graph-based persistent memory across sessions
