New advertisers: 50% off your first month with code FIRSTMONTHSee slots
beakdo avatar

EIP-7702 Smart-Wallet, Passkey Session Key & Gas-Optimizer MCP

beakdo/defi-customs-mcp-hub

Smart-wallet upgrades, spend caps, and multi-chain swap routing built on live EVM and DeFi data.

tools
10
transport
HTTP
last updated
Nov 21, 2026
View on GitHub

What it does

  • Upgrades EOAs with build_eip7702_smart_wallet_and_passkey_delegation and checks multichain gas with optimize_multichain_evm_gas_routing across Base, Optimism, Arbitrum, Polygon, and Ethereum
  • Builds spend limits with build_erc7715_and_coinbase_spend_permission, and screens transactions with simulate_evm_tx_and_spend_firewall for unlimited approvals and budget overruns
  • Audits tokens with audit_token_contract_technical_risks and safe_snipe_swap_with_honeypot_firewall, and plans swaps with plan_and_build_guarded_rebalance_swap, all returning unsigned calldata for the user to sign
  • Designed for agents that move funds on EVM chains while keeping keys non-custodial and spend bounded

Install

$ npx -y add-mcp https://agent-spend-guard.b2bintel-edge.workers.dev/mcp --name eip-7702-smart-wallet-passkey-gas-optimizer-mcp -y

Adds the server to every agent config it finds in this project.

Review the command, arguments and environment values before installing. MCP servers run with your local permissions.

Other ways

Claude Code

$ claude mcp add --transport http eip-7702-smart-wallet-passkey-gas-optimizer-mcp https://agent-spend-guard.b2bintel-edge.workers.dev/mcp

Run in your terminal. Add --scope user to make it available in every project.

Tools

Verified live · 10 tools

Verified live against the running server on Nov 22, 2026.

build_erc7715_and_coinbase_spend_permissionGenerates non-custodial ERC-7715 wallet_grantPermissions JSON-RPC and Coinbase SpendPermissionManager EIP-712 structs to bound AI agent daily/per-tx USDC spending.5 params

Generates non-custodial ERC-7715 wallet_grantPermissions JSON-RPC and Coinbase SpendPermissionManager EIP-712 structs to bound AI agent daily/per-tx USDC spending.

Parameters* required
agentSessionSignerstring
Agent session key address (0x...)
chainIdstring
EVM chain ID ('8453' Base, '42161' Arbitrum, '1' Ethereum, '10' Optimism, '137' Polygon)
dailyAllowanceUsdcnumber
Max daily USDC allowance (default 25)
maxPerTxUsdcnumber
Max per-transaction USDC cap (default 5)
smartAccountstring
Owner smart account address (0x...)
simulate_evm_tx_and_spend_firewallSimulates any unsigned EVM transaction via eth_call + eth_estimateGas, detects dangerous unlimited ERC-20 approvals, and verifies total USD outflow against the agent's budget cap.6 params

Simulates any unsigned EVM transaction via eth_call + eth_estimateGas, detects dangerous unlimited ERC-20 approvals, and verifies total USD outflow against the agent's budget cap.

Parameters* required
chainIdstring
EVM chain ID (default '8453')
datastring
Hex calldata (0x...)
fromstring
Sender wallet 0x address
maxAllowedUsdnumber
Remaining spend budget in USD (default 25)
tostring
Target contract 0x address
valueWeistring
Wei value string (default '0')
audit_token_contract_technical_risksChecks GoPlus and DexScreener telemetry for honeypot traps, buy/sell tax %, hidden owner privileges, and live pool liquidity before swapping.2 params

Checks GoPlus and DexScreener telemetry for honeypot traps, buy/sell tax %, hidden owner privileges, and live pool liquidity before swapping.

Parameters* required
chainIdstring
EVM chain ID (default '8453')
tokenAddressstring
0x ERC-20 contract address
verify_package_anti_hallucinationChecks live npm and PyPI registries to block nonexistent hallucinated package names and flag newly registered slopsquatting traps (<14 days old).2 params

Checks live npm and PyPI registries to block nonexistent hallucinated package names and flag newly registered slopsquatting traps (<14 days old).

Parameters* required
ecosystemstring
'npm' or 'pypi'
packageNamestring
Package name to verify before installation
plan_and_build_guarded_rebalance_swapReads live ETH + USDC wallet balances, enforces maxSpendCapUsd, and assembles ready-to-sign non-custodial multi-DEX swap calldata saving 71% vs standard wallet swap fees.4 params

Reads live ETH + USDC wallet balances, enforces maxSpendCapUsd, and assembles ready-to-sign non-custodial multi-DEX swap calldata saving 71% vs standard wallet swap fees.

Parameters* required
chainIdstring
EVM chain ID (default '8453')
maxSpendCapUsdnumber
Max USD allowed for this rebalance leg (default 500)
targetEthPctnumber
Target ETH allocation % from 0 to 100 (default 50)
walletAddressstring
Agent or user 0x wallet address
safe_snipe_swap_with_honeypot_firewallRuns GoPlus + DexScreener honeypot/tax firewall first and, only if safe, builds ready-to-sign 0.35% non-custodial multi-DEX swap calldata (saving 65% vs 1% Telegram sniper bots).5 params

Runs GoPlus + DexScreener honeypot/tax firewall first and, only if safe, builds ready-to-sign 0.35% non-custodial multi-DEX swap calldata (saving 65% vs 1% Telegram sniper bots).

Parameters* required
amountUsdcnumber
USDC input amount (default 100)
chainIdstring
EVM chain ID ('8453' Base, '42161' Arbitrum, '1' Ethereum, '137' Polygon, '10' Optimism)
maxSpendCapUsdnumber
Max per-trade spend cap in USD (default 250)
senderstring
Optional trader 0x wallet address
tokenAddressstring
Target 0x token contract address or symbol to buy with USDC
build_erc8004_trustless_agent_registrationGenerates standard ERC-8004 Identity/Reputation JSON, on-chain Agent URI, x402Support bindings, and RFC 9421 cryptographic bot signature headers.5 params

Generates standard ERC-8004 Identity/Reputation JSON, on-chain Agent URI, x402Support bindings, and RFC 9421 cryptographic bot signature headers.

Parameters* required
agentDomainstring
HTTPS origin hosting /.well-known/agent.json and /mcp
agentNamestring
Agent identifier name
agentWalletstring
Agent 0x settlement wallet
chainIdstring
EVM chain ID (default '8453')
dailyCapUsdcnumber
Bounded daily spend cap in USDC (default 50)
verify_counterparty_agent_trust_and_escrowAudits an external AI agent's live A2A/MCP/x402 manifests and on-chain wallet history before generating bounded USDC settlement calldata.4 params

Audits an external AI agent's live A2A/MCP/x402 manifests and on-chain wallet history before generating bounded USDC settlement calldata.

Parameters* required
chainIdstring
EVM chain ID (default '8453')
counterpartyWalletstring
Counterparty 0x wallet address
paymentUsdcnumber
Proposed USDC payment amount (default 10)
targetUrlstring
Counterparty agent HTTPS URL
build_eip7702_smart_wallet_and_passkey_delegationUpgrades any standard EOA wallet in-place via EIP-7702 (Coinbase Smart Wallet, MetaMask Delegator, ERC-7579 Kernel) with RIP-7212 P-256 Passkey & bounded spend caps.4 params

Upgrades any standard EOA wallet in-place via EIP-7702 (Coinbase Smart Wallet, MetaMask Delegator, ERC-7579 Kernel) with RIP-7212 P-256 Passkey & bounded spend caps.

Parameters* required
chainIdstring
EVM chain ID (default '8453')
dailySpendCapUsdcnumber
Max daily USDC allowance (default 100)
delegatePresetstring
'coinbase_smart_wallet', 'metamask_delegator_7702', or 'kernel_erc7579'
eoaAddressstring
User or agent 0x EOA wallet address
optimize_multichain_evm_gas_routingQueries live eth_gasPrice across Base, Optimism, Arbitrum, Polygon, and Ethereum to rank exact USD gas cost per swap and recommend the lowest-fee execution chain.1 params

Queries live eth_gasPrice across Base, Optimism, Arbitrum, Polygon, and Ethereum to rank exact USD gas cost per swap and recommend the lowest-fee execution chain.

Parameters* required
txGasUnitsnumber
Estimated gas units for the transaction (default 180000)

Readme

Details

Repository
github.com/beakdo/defi-customs-mcp-hub
Website
agent-spend-guard.b2bintel-edge.workers.dev
Categories
Web3 & Crypto, Security, Finance & Trading
Transport
HTTP
Registry
MCP registry, active
Tools verified
Nov 22, 2026

More from beakdo

All 5

Similar to EIP-7702 Smart-Wallet, Passkey Session Key & Gas-Optimizer MCP

More Web3 & Crypto