CryptoMCP
Enables multichain wallet balance queries, smart contract inspection, and gated DeFi transaction drafting, signing, and broadcasting on Polygon through the CryptoMCP security gateway.
Enables wallet balance queries and gated crypto transaction signing and broadcasting on Solana, subject to the server's anti-drainer and human-approval controls.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@CryptoMCPcheck my wallet balance across Ethereum, Polygon, and Solana"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
π‘οΈ CryptoMCP: Ultra-Secure Model Context Protocol Crypto & Web3 Gateway
CryptoMCP (engineered by RMAA Holdings) is an ultra-hardened Model Context Protocol (MCP) Web3 gateway built with TypeScript and FastMCP.
It enables AI Agents (Claude Desktop, ChatGPT, Gemini, ForgeAI) to query multichain balances, inspect smart contracts, and draft DeFi interactions with 100x stronger anti-drainer security rails to prevent catastrophic wallet loss, honeypot scams, and prompt injection drainers.
π‘οΈ 100x Hardened Anti-Drainer Security Rails
On-chain cryptocurrency transactions are permanent and non-reversible. CryptoMCP implements mathematical defenses inspired by DMCPS:
+-------------------------------------------------------------------------------------------------+
| CRYPTOMCP ANTI-DRAINER ARCHITECTURE |
+-------------------------------------------------------------------------------------------------+
| AI AGENT (Claude / GPT / Gemini) |
| β |
| βΌ JSON-RPC (FastMCP / Stdio / Stream) |
| [CRYPTOMCP SECURITY INTERCEPTOR] βββΊ Emergency Freeze Active? βββββββββββΊ [INSTANT BLOCK] |
| β |
| ββββΊ Infinite Token Allowance (type(uint256).max)? ββββββββββββββββΊ [INSTANT BLOCK] |
| ββββΊ Non-Whitelisted Contract / Wallet Address? βββββββββββββββββββΊ [INSTANT BLOCK] |
| ββββΊ Value Exceeds Single Tx Cap ($100 USD)? ββββββββββββββββββββββΊ [INSTANT BLOCK] |
| ββββΊ Value Exceeds Cumulative Daily Cap ($500 USD)? βββββββββββββββΊ [INSTANT BLOCK] |
| β |
| ββββΊ Value >= $25 USD (Human Challenge Gate)? βββββββββββββββββββββΊ [REQUIRES TOKEN] |
| β β |
| β βΌ |
| β [DMCPS ANTI-DRAINER UI] |
| β Human Cryptographic Sign |
| β β |
| βΌ β |
| [BLOCKCHAIN BROADCAST & SIGNING (ETH / Polygon / Solana / BTC)] βββββββββββββββββ |
+-------------------------------------------------------------------------------------------------+1. Mathematical Anti-Drainer (Infinite Approval Blocker)
The Attack: 95% of phishing dApps trick users or agents into approving
type(uint256).max(0xffffffff...), granting the smart contract unlimited permission to drain all ERC-20 tokens at any future point.The Defense: CryptoMCP inspects the calldata selector (
0x095ea7b3) and automatically drops any transaction attempting infinite or unbounded allowances.
2. Strict Destination Whitelisting
The AI cannot send funds or interact with unverified contract addresses extracted from untrusted web pages or prompts.
All target addresses (e.g. 1inch, Uniswap, Aave) must be explicitly registered and assigned a daily budget by the human owner in the Dashboard.
3. Human-In-The-Loop (HITL) Cryptographic Challenge Gate
Any transaction value greater than or equal to
$25.00 USDtriggers an unforgeable challenge token (CRYPTO_AUTH_...) with a 10-minute expiry.The transaction cannot be broadcast to the blockchain until the human owner confirms the details in the Dashboard or passes the token back to
submit_crypto_approval_token.
4. Cold Wallet Emergency Killswitch
One click on the Dashboard instantly freezes all signing operations and rejects any inbound agent tool calls.
Related MCP server: chain-signer
π οΈ MCP Tools Exposed to AI
Tool Name | Risk Level | Description |
| π’ Safe (Read) | Lists managed public wallet addresses, chains, and token balances. |
| π’ Safe (Read) | Lists authorized DEX routers, lending pools, and recipient entities. |
| π΄ High (Gated) | Initiates transfer or contract interaction; guarded by Anti-Drainer rules. |
| π‘ Auth (Commit) | Submits human challenge token to sign and broadcast high-value transaction. |
| π’ Safe (Read) | Audits active USD spend caps, remaining daily budget, and freeze status. |
π Quickstart & Dashboard
1. Install & Build
npm install
npm run build2. Configure Environment
cp .env.example .envEdit .env credentials:
PORT=8090
ADMIN_USERNAME=admin
ADMIN_PASSWORD=your_secure_password_here
MAX_SINGLE_TX_USD=100
MAX_DAILY_TX_USD=500
HUMAN_APPROVAL_THRESHOLD_USD=25
BLOCK_INFINITE_ALLOWANCE=true3. Run the Gateway
npm startAnti-Drainer Control Dashboard:
http://localhost:8090/dashboardFastMCP Transport Gateway: Stdio or Stream mode ready for MCP clients.
4. Run the Security Test Suite
npm testβ CryptoSecurityGuard: Anti-Drainer blocks infinite allowance (type(uint256).max) (14.9ms)
β CryptoSecurityGuard: Blocks non-whitelisted contract/wallet targets (10.4ms)
β CryptoSecurityGuard: Demands Human-In-The-Loop Approval Above Threshold (11.0ms)
β CryptoSecurityGuard: Emergency Freeze Kills All Web3 Interactions (6.3ms)
βΉ tests 4 | pass 4 | fail 0π License
Released under the Business Source License 1.1 (BSL 1.1) by RMAA Holdings & Contributors (matching DMCPS).
This server cannot be deployed
Maintenance
Related MCP Connectors
DeFi safety layer for AI agents: wallet safety, token risk, tx decode/simulate. 20 tools.
Pay-per-call safety checks for AI agents: screen a crypto address or URL before you transact.
Crypto wallet for AI agents: balances, payments, swaps and trading with owner controls.
Provide AI agents and automation tools with contextual access to blockchain data including balanceβ¦
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI agents to check balances and send transactions across multiple blockchains with automatic spending limit protection and policy enforcement.3MIT
- AlicenseAqualityDmaintenanceNon-custodial agent wallet with a transaction preflight that decodes an unsigned EVM tx and flags drain patterns (unlimited/large approval, approve-all, token & NFT transferFrom, proxy upgrade, on-chain permit, approvals hidden in multicall) before signing.941 PyPI1MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to perform complex crypto operations like cross-chain routing, contract decoding, portfolio management, and anti-rug security checks, returning unsigned transactions for safe signing by the agent.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to analyze Ethereum wallets, simulate transactions, and draft transfers with deterministic policy and risk scoring, requiring human approval before on-chain execution.6 npmISC