MCP directory
Z

Zerodust

by github.com/andresdefi · v0.5.1 · updated Oct 1, 2026

Recover stranded native gas: empty a chain's balance to exactly zero on 25 EVM chains.

Remotenpm

Connect to the hosted server

Add this URL as a custom connector in your AI client.

Server URL

https://api.zerodust.xyz/mcp

Claude Code

claude mcp add --transport http zerodust https://api.zerodust.xyz/mcp

Run it locally

Install the package and point your AI client at it.

npm

npx -y @zerodust/[email protected]

Environment variables

  • ZERODUST_API_URL

    Custom API URL (defaults to https://api.zerodust.xyz)

  • ZERODUST_API_KEYsecret

    API key for higher rate limits. An agent can issue itself one with the zerodust_register_api_key tool, with no human signup step.

  • ZERODUST_ALLOW_EXECUTE

    Set to "true" to enable the sweep tools. Sweeping moves real funds, so it is off by default and also requires one of the four signing-key variables below.

  • ZERODUST_SIGNER_MODULE

    Path or specifier of a module whose default export returns a viem LocalAccount. This is how Turnkey, Privy, AWS KMS or any other custody service is used, without a raw key ever reaching this server. Preferred over ZERODUST_PRIVATE_KEY.

  • ZERODUST_KEYSTORE_FILE

    Path to an encrypted V3 keystore (as produced by `cast wallet import` or geth). Requires ZERODUST_KEYSTORE_PASSWORD_FILE or ZERODUST_KEYSTORE_PASSWORD.

  • ZERODUST_KEYSTORE_PASSWORD_FILE

    Path to a file containing the keystore password, so the password never enters the MCP config.

  • ZERODUST_KEYSTORE_PASSWORDsecret

    Keystore password inline. Prefer ZERODUST_KEYSTORE_PASSWORD_FILE.

  • ZERODUST_PRIVATE_KEY_FILE

    Path to a file containing a hex private key, so the key stays out of the MCP config.

  • ZERODUST_PRIVATE_KEYsecret

    Private key for the agent's own wallet, inline. Used locally to sign the EIP-7702 authorization and EIP-712 sweep intent; never transmitted, only the resulting signatures are sent. The signer-module, keystore and key-file options above keep it out of your config entirely.

  • ZERODUST_ALLOWED_DESTINATIONS

    Comma-separated allowlist of sweep destinations. When unset, funds can only be swept to the agent's own address.

More MCP servers