web3-tx-guard-mcp
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., "@web3-tx-guard-mcp check this calldata for unlimited token approvals before I sign"
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.
Web3 Tx Guard MCP (web3-tx-guard-mcp)
CI: Passing (Ubuntu + Windows) · Node.js >= 20 · MCP: stdio | Streamable HTTP | SSE · x402: Base USDC (
$0.01/call) · License: MIT
Deterministic Pre-Flight Transaction, Calldata & EIP-712 Signature Security Guard for Web3, DeFi & Treasury AI Agents
AI agents holding USDC, ETH, SOL, BTC, USDT, or TON wallets face irreversible loss from a single corrupted checksum character, TON EQ vs UQ bounce trap, off-curve Solana PDA confusion, MAX_UINT256 / Permit2 unlimited token approval, amountOutMin == 0 MEV sandwich swap, or Seaport zero-consideration blind signature. web3-tx-guard-mcp provides sub-5ms, 100% deterministic cryptographic verification with zero external RPC or LLM API dependencies:
Tools
validate_multichain_address($0.01 USDC/ call): Cryptographically validates and normalizes addresses across 8 ecosystems:EVM (
Ethereum,Base,Arbitrum,Polygon,Optimism,BNB,Avalanche): Pure Keccak-256 EIP-55 mixed-case checksum verification (blocks character typos, normalizes unchecksummed lowercase/uppercase, flags0x000...000/0x...dEaD/0x01..0x0fprecompile burn traps).Tron (
TRC-20):T...SHA-256d Base58Check (0x41mainnet /0xa0testnet), outputs equivalent0x...EVM address, blocksT9yD14Nj9j7xAB4dbGeiX9h8unkKHxuWwbburn address.Bitcoin: BIP-173 Bech32 (
bc1qSegWit v0P2WPKH/P2WSH), BIP-350 Bech32m (bc1pTaproot v1P2TR), and Legacy/P2SH Base58Check (1...,3...) with strict witness-version encoding enforcement.Solana: Base58 32-byte decode + mathematical Ed25519 Twisted Edwards curve check ($p = 2^{255}-19$) distinguishing user wallet public keys (
isOnEd25519Curve: true) from off-curve Program Derived Addresses (PDA) and System/Incinerator burn IDs.TON: Friendly
EQ.../UQ.../kQ.../0Q...CRC16-XMODEM verification + raw0:<hex>conversion, warning when bounceableEQ...risks bouncing transfers to uninitialized wallets.XRP Ledger: Classic
r...Ripple-alphabet Base58Check + XLS-5dX.../T...X-Address decoder extracting the underlying classicr...account anddestinationTag.Cosmos SDK (
cosmos1,noble1,osmo1,celestia1,inj1,sei1,dydx1,thor1) & Stacks (SP/SM/ST/SNc32check).
decode_and_audit_evm_calldata($0.01 USDC/ call): Decodes raw hex EVM calldata (to,value,data,chainId) acrossERC-20,ERC-721/1155,Permit2,Uniswap V2/V3/UniversalRouter,1inch, recursiveMulticall, and Gnosis SafeexecTransaction— blockingCRITICALunlimited approvals (>= 2^255/MAX_UINT160),setApprovalForAll(true),amountOutMin == 0MEV sandwich exposure, payable-approval ETH traps, expired deadlines, andoperation=1DELEGATECALLtakeovers.audit_eip712_signature_payload($0.01 USDC/ call): Audits off-chaineth_signTypedData_v4payloads (EIP-2612 Permit,DAI Permit,Permit2PermitSingle/PermitBatch,Seaport OrderComponents,EIP-3009x402TransferWithAuthorization,ForwardRequest,SafeTx), computing the exact EIP-712domainSeparatorand catching zero-consideration NFT/token drains, unlimited gasless permits, multi-month signature expirations, and cross-chainchainId/verifyingContractspoofing.
Related MCP server: chain-signer
Quick Connect
1. Hosted x402 Streamable HTTP MCP (MCPize / Base USDC)
{
"mcpServers": {
"web3-tx-guard": {
"type": "streamable-http",
"url": "https://web3-tx-guard-mcp.mcpize.run/mcp"
}
}
}2. Zero-Install Local stdio Mode (npx / Node 20+)
{
"mcpServers": {
"web3-tx-guard": {
"command": "npx",
"args": ["-y", "github:2848823170/web3-tx-guard-mcp"]
}
}
}Glama MCP Directory — web3-tx-guard-mcp
中文快速上手(Web3 交易预检与防钓鱼签名卫士)
web3-tx-guard-mcp 为 AI Agent、量化脚本与多链金库提供零外部 API 依赖的确定性链上交易安全预检:
validate_multichain_address:支持 EVM / Tron (TRC-20) / Bitcoin (Taproot&SegWit) / Solana (自动区分钱包公钥与链下PDA) / TON (EQ/UQ退回陷阱预警) / XRP (X-Address标签解析) / Cosmos / Stacks 八大生态地址密码学校验与黑洞地址拦截。decode_and_audit_evm_calldata:离线解码原始十六进制calldata(含嵌套Multicall与Safe多签),精准拦截无限授权(MAX_UINT256/Permit2)、setApprovalForAll(true)、amountOutMin == 0三明治夹子风险与恶意DELEGATECALL。audit_eip712_signature_payload:在调用eth_signTypedData_v4前审计Permit/Permit2/Seaport/x402 EIP-3009离线签名,防止零对价钓鱼盗币与跨链重放攻击。
Local Verification
npm ci
npm testAvailable Tools
3 toolsaudit_eip712_signature_payloadAudit Off-Chain EIP-712 Typed-Data Signature PayloadARead-onlyIdempotent
Audits off-chain eth_signTypedData_v4 JSON objects or strings (Permit, DAI Permit, PermitSingle, PermitBatch, PermitTransferFrom, Seaport OrderComponents, Circle USDC EIP-3009 TransferWithAuthorization / x402, ForwardRequest, SafeTx) before signing. Computes EIP-712 domainSeparator and flags unlimited allowances, Seaport zero-consideration NFT/token drains, DELEGATECALL meta-txs, multi-month/infinite signature expirations, and domain chainId/contract spoofing.
Inputs: typedData (required), expectedChainId, expectedMaxAmount, expectedRecipient, +2 more.
decode_and_audit_evm_calldataDecode & Audit Raw EVM Transaction CalldataARead-onlyIdempotent
Deterministically decodes raw hex EVM transaction payloads (to, value, data, chainId) across ERC-20 (transfer, approve, transferFrom, increaseAllowance), ERC-721/1155 (setApprovalForAll, safeTransferFrom), Permit2, Uniswap V2/V3/UniversalRouter, 1inch, Multicall (recursive inner-call decoding), and Gnosis Safe execTransaction. Flags CRITICAL unlimited approvals (>= 2^255 / MAX_UINT160), setApprovalForAll(true), zero-minOut MEV sandwich exposure, non-zero ETH sent with approvals, expired deadlines, and DELEGATECALL takeovers.
Inputs: data (required), to, value, sender, +2 more.
validate_multichain_addressValidate & Normalize Multichain Wallet AddressARead-onlyIdempotent
Cryptographically validates and normalizes wallet/contract addresses across 8 ecosystems: EVM (Keccak-256 EIP-55 checksum + typo/burn detection), Tron (T... SHA-256d Base58Check + 0x41/EVM conversion), Bitcoin (BIP-173 Bech32 bc1q SegWit v0, BIP-350 Bech32m bc1p Taproot v1+, Legacy/P2SH Base58Check), Solana (Base58 32-byte Ed25519 curve point check distinguishing user wallets from off-curve PDAs), TON (friendly EQ/UQ CRC16-XMODEM + bounceable uninitialized-wallet trap warning), XRP Ledger (classic r... + XLS-5d X-address destination-tag decoder), Cosmos Bech32, and Stacks c32check.
Inputs: address (required), chain, expectedNetwork.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
The three tools target clearly distinct inputs: wallet/contract addresses, raw EVM calldata, and EIP-712 typed-data payloads. An agent can easily select the correct tool based on the artifact being audited.
All names use snake_case and begin with action verbs, making them predictable. The compound verb in decode_and_audit_evm_calldata slightly breaks a strict verb_noun pattern, but the set remains highly readable.
Three tools is a well-scoped set for a focused pre-signing transaction guard: address validation, calldata decoding/audit, and typed-data audit. Each tool covers a substantial, non-overlapping responsibility.
The tools cover the core EVM transaction-safety surfaces plus multichain address validation. Minor gaps remain around non-EVM transaction payload auditing and wallet-state approval scanning, but agents can still handle the main pre-signing workflows.
Maintenance
Related MCP Connectors
Read-only crypto safety: token honeypot checks, EIP-712 signature decode, approval scans.
Safety checks before you sign, pay or install: contract, token and package scans, phishing, OFAC.
Use before signing an EVM tx or EIP-712 message: risk flags + verdict. Informational, no simulation
Pre-trade safety + wallets: Solana/EVM token risk, honeypots, counterparties, balances, txs, CVEs.
Related MCP Servers
- AlicenseAqualityDmaintenancePer-transaction crypto trade validator for AI agents, validates trades with PROCEED/CAUTION/BLOCK verdicts, scans tokens for anomalies, detects rug pulls, and searches across DEXes. Powered by WaveGuard physics engine with deterministic PDE-based analysis.514 PyPI1MIT
- 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.936 PyPI1MIT
- FlicenseNot gradedqualityBmaintenanceEnables autonomous auditing and sanitization of EIP-712 typed signature phishing attempts and permit/allowance risks, including Permit2 and MetaMask scenarios, through deterministic callgraph and invariant analysis with vulnerability triage.8-
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to run pre-sign risk checks on transactions, approvals, EIP-712 signatures, token addresses, wallet approvals, sanctions screening, and prompt-injection texts, returning green/orange/red verdicts with machine-readable reason codes before signing.1AGPL 3.0