Sweeps native gas balances to zero across supported EVM mainnets using sponsored EIP-7702 execution.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
This server is confirmed live β we successfully called its tools/list endpoint directly (see the verified badge above). We haven't yet sandbox-tested the stdio install command below specifically, which is a separate, ongoing check.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Zerodust.
zerodust_get_chainsList the EVM chains a native gas balance can be emptied to exactly zero on. Returns chain IDs, names, and native tokens. Call this to check whether a specific chain is supported before quoting or sweeping.
zerodust_get_balancesFind leftover native gas token (ETH, BNB, POL, ...) stranded across every supported EVM chain for one address, and report which of it can be recovered. Normally these balances are unrecoverable: you cannot transfer 100% of a gas token, because paying for the transfer consumes the thing you are transferring, so a remainder is always left behind. This reports what is stuck and what could be moved out. Useful when a wallet has small amounts scattered over many chains, when someone cannot send their full balance, or before closing out, winding down or decommissioning a wallet.
zerodust_get_quotePrice out emptying a chain's native gas balance to exactly zero: how much actually arrives, the full fee breakdown, and whether the balance is even large enough to be worth recovering. Call this before sweeping so the user sees the numbers first. Returns a quote ID; quotes expire after about 60 seconds.
zerodust_get_sweep_statusCheck how a previously submitted sweep is progressing. Returns the current status (pending, simulating, executing, bridging, completed, failed), the transaction hash once there is one, and the error message if it failed.
zerodust_list_sweepsList past sweeps for a wallet address, with status and amounts. Useful for confirming a chain was already emptied before trying again.
zerodust_register_api_keyIssue this agent its own ZeroDust API key for higher rate limits, with no human signup step. The read-only tools work without a key, so only call this when rate limits are actually being hit, or when setting up an unattended agent that will run repeatedly. The key is returned once and is not stored by this server - report it to the operator so they can set ZERODUST_API_KEY.
The andresdefi/zerodust MCP server helps an agent identify and recover native gas token balances that are normally too small to transfer completely. It supports 25 live EVM mainnets through the API, including Ethereum, Base, Arbitrum, Optimism, BNB Chain, Polygon, and others. The authoritative supported-chain list comes from the service API, so agents should query it before presenting a quote or attempting a sweep.
A sweep can empty one source chain or consolidate balances from multiple chains onto one destination. Supported flows include same-chain transfers to another address, cross-chain transfers to the same address, and cross-chain transfers to a different address. The source balance is intended to end at exactly zero wei.
Ordinary native-token transfers cannot send the entire balance because the transaction itself requires native gas. ZeroDust uses EIP-7702 sponsored execution: the wallet authorizes the operation, a relayer submits and pays for execution, and the cost is accounted for in the amount delivered. Cross-chain operations can also invoke a bridge target as part of the execution.
The normal agent flow is to inspect balances, request a quote, confirm the signing address and permitted destinations, and then submit a sweep. Quotes include the expected received amount and fee breakdown, and expire after about 60 seconds. Status can be checked later using the returned sweep information.
The hosted MCP endpoint is available at https://api.zerodust.xyz/mcp. It provides read-only discovery and quoting without installing the package or supplying a key. For local execution, configure the @zerodust/mcp-server package through an MCP client and set ZERODUST_ALLOW_EXECUTE=true together with one signing-key source.
Supported key sources include a signer module, an encrypted V3 keystore plus a separate password file, a private-key file, or a directly configured private key. A signer module can return a viem LocalAccount, which allows custody-provider adapters to supply the account. ZERODUST_ALLOWED_DESTINATIONS can further restrict where funds may be sent; otherwise funds can go only to the agent's own address.
The server can issue an API key for higher rate limits through zerodust_register_api_key. The key is returned once and must be reported to the operator for configuration as ZERODUST_API_KEY.
The andresdefi/zerodust MCP server exposes tools for:
Execution tools support dryRun. A dry run obtains a real quote and creates the signatures needed for the flow but stops before broadcasting, so funds are not moved.
The andresdefi/zerodust MCP server serves mainnet chains only; there is no testnet API environment. Use dryRun instead of a testnet flag for rehearsal. Actual sweeps require both the explicit execution opt-in and a signing key; without them, the execution tools return an error and move no funds.
The browser interface depends on a non-standard wallet_signAuthorization RPC that shipping wallets do not yet expose, but agents signing locally are described as unaffected. Destination restrictions should be reviewed before enabling unattended execution, and agents should call the address and balance inspection tools before moving funds.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/andresdefi-zerodust)<a href="https://allmcps.com/mcp/andresdefi-zerodust"><img src="https://allmcps.com/api/badge/andresdefi-zerodust?style=directory" alt="Zerodust on AllMCPs" /></a>