Zerodust MCP Server
by andresdefiio.github.andresdefi/zerodustv0.5.1
Sweep native gas balances to exactly zero on EVM chains via EIP-7702 sponsored execution, same-chain or cross-chain, to allowlisted destinations.
context tax
queued
security
queued
cold start
queued
freshness
Active1d ago
Install Zerodust MCP server
Install in Claude Code
claude mcp add zerodust -e ZERODUST_API_KEY='<zerodust-api-key>' -e ZERODUST_KEYSTORE_PASSWORD='<zerodust-keystore-password>' -e ZERODUST_PRIVATE_KEY='<zerodust-private-key>' -- npx -y @zerodust/mcp-serverInstall in Cursor
{
"mcpServers": {
"zerodust": {
"command": "npx",
"args": [
"-y",
"@zerodust/mcp-server"
],
"env": {
"ZERODUST_API_KEY": "<zerodust-api-key>",
"ZERODUST_KEYSTORE_PASSWORD": "<zerodust-keystore-password>",
"ZERODUST_PRIVATE_KEY": "<zerodust-private-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"zerodust": {
"command": "npx",
"args": [
"-y",
"@zerodust/mcp-server"
],
"env": {
"ZERODUST_API_KEY": "<zerodust-api-key>",
"ZERODUST_KEYSTORE_PASSWORD": "<zerodust-keystore-password>",
"ZERODUST_PRIVATE_KEY": "<zerodust-private-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"zerodust": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@zerodust/mcp-server"
],
"env": {
"ZERODUST_API_KEY": "<zerodust-api-key>",
"ZERODUST_KEYSTORE_PASSWORD": "<zerodust-keystore-password>",
"ZERODUST_PRIVATE_KEY": "<zerodust-private-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"zerodust": {
"command": "npx",
"args": [
"-y",
"@zerodust/mcp-server"
],
"env": {
"ZERODUST_API_KEY": "<zerodust-api-key>",
"ZERODUST_KEYSTORE_PASSWORD": "<zerodust-keystore-password>",
"ZERODUST_PRIVATE_KEY": "<zerodust-private-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| ZERODUST_API_URL | — | — | Custom API URL (defaults to https://api.zerodust.xyz) |
| ZERODUST_API_KEY | — | yes | 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_PASSWORD | — | yes | 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_KEY | — | yes | 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. |
Remote endpoints
- streamable-http
https://api.zerodust.xyz/mcp
Freshness
Active — last maintenance signal 1d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-08 · 1d ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-10-01 · 8d ago · official registry · v0.5.1
FAQ
›How do I install the Zerodust MCP server in Claude Code?
Run: claude mcp add zerodust -e ZERODUST_API_KEY='<zerodust-api-key>' -e ZERODUST_KEYSTORE_PASSWORD='<zerodust-keystore-password>' -e ZERODUST_PRIVATE_KEY='<zerodust-private-key>' -- npx -y @zerodust/mcp-server. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Zerodust require an API key?
Yes. It expects ZERODUST_API_KEY, ZERODUST_KEYSTORE_PASSWORD, ZERODUST_PRIVATE_KEY, of which 3 are secrets.
›Can I use Zerodust as a remote (hosted) MCP server?
Yes — it offers both a hosted endpoint and a local stdio package.
›Is Zerodust in the official MCP registry?
Yes, as io.github.andresdefi/zerodust.
Alternatives to Zerodust
Other finance & fintech MCP servers.