ZeroDust MCP
A local MCP server for the ZeroDust protocol that allows AI agents to sweep a blockchain wallet's native gas balance to exactly zero across multiple EVM chains. It utilizes EIP-7702 authorizations or legacy transactions to transfer funds, with gas paid by sponsors or paymasters, and delivers the native gas to a destination chain via bridges like Relay or Across.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Sweep native gas balance to zero on EVM chains
- Transfer 100% of native gas balance via EIP-7702
- Execute cross-chain gas transfers using public API
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@zerodust/mcp-server 0.5.1
{
"version": "0.5.1",
"transport": "stdio",
"identifier": "@zerodust/mcp-server",
"registryType": "npm",
"environmentVariables": [
{
"name": "ZERODUST_API_URL",
"format": "string",
"description": "Custom API URL (defaults to https://api.zerodust.xyz)"
},
{
"name": "ZERODUST_API_KEY",
"format": "string",
"description": "API key for higher rate limits. An agent can issue itself one with the zerodust_register_api_key tool, with no human signup step."
},
{
"name": "ZERODUST_ALLOW_EXECUTE",
"format": "string",
"description": "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."
},
{
"name": "ZERODUST_SIGNER_MODULE",
"format": "string",
"description": "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."
},
{
"name": "ZERODUST_KEYSTORE_FILE",
"format": "string",
"description": "Path to an encrypted V3 keystore (as produced by `cast wallet import` or geth). Requires ZERODUST_KEYSTORE_PASSWORD_FILE or ZERODUST_KEYSTORE_PASSWORD."
},
{
"name": "ZERODUST_KEYSTORE_PASSWORD_FILE",
"format": "string",
"description": "Path to a file containing the keystore password, so the password never enters the MCP config."
},
{
"name": "ZERODUST_KEYSTORE_PASSWORD",
"format": "string",
"description": "Keystore password inline. Prefer ZERODUST_KEYSTORE_PASSWORD_FILE."
},
{
"name": "ZERODUST_PRIVATE_KEY_FILE",
"format": "string",
"description": "Path to a file containing a hex private key, so the key stays out of the MCP config."
},
{
"name": "ZERODUST_PRIVATE_KEY",
"format": "string",
"description": "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."
},
{
"name": "ZERODUST_ALLOWED_DESTINATIONS",
"format": "string",
"description": "Comma-separated allowlist of sweep destinations. When unset, funds can only be swept to the agent's own address."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"zerodust-mcp-zerodust-mcp-server": {
"command": "npx",
"args": [
"-y",
"@zerodust/mcp-server@0.5.1"
],
"env": {
"ZERODUST_API_URL": "<YOUR_ZERODUST_API_URL>",
"ZERODUST_API_KEY": "<YOUR_ZERODUST_API_KEY>",
"ZERODUST_ALLOW_EXECUTE": "<YOUR_ZERODUST_ALLOW_EXECUTE>",
"ZERODUST_SIGNER_MODULE": "<YOUR_ZERODUST_SIGNER_MODULE>",
"ZERODUST_KEYSTORE_FILE": "<YOUR_ZERODUST_KEYSTORE_FILE>",
"ZERODUST_KEYSTORE_PASSWORD_FILE": "<YOUR_ZERODUST_KEYSTORE_PASSWORD_FILE>",
"ZERODUST_KEYSTORE_PASSWORD": "<YOUR_ZERODUST_KEYSTORE_PASSWORD>",
"ZERODUST_PRIVATE_KEY_FILE": "<YOUR_ZERODUST_PRIVATE_KEY_FILE>",
"ZERODUST_PRIVATE_KEY": "<YOUR_ZERODUST_PRIVATE_KEY>",
"ZERODUST_ALLOWED_DESTINATIONS": "<YOUR_ZERODUST_ALLOWED_DESTINATIONS>"
}
}
}
}Cline
{
"mcpServers": {
"zerodust-mcp-zerodust-mcp-server": {
"command": "npx",
"args": [
"-y",
"@zerodust/mcp-server@0.5.1"
],
"env": {
"ZERODUST_API_URL": "<YOUR_ZERODUST_API_URL>",
"ZERODUST_API_KEY": "<YOUR_ZERODUST_API_KEY>",
"ZERODUST_ALLOW_EXECUTE": "<YOUR_ZERODUST_ALLOW_EXECUTE>",
"ZERODUST_SIGNER_MODULE": "<YOUR_ZERODUST_SIGNER_MODULE>",
"ZERODUST_KEYSTORE_FILE": "<YOUR_ZERODUST_KEYSTORE_FILE>",
"ZERODUST_KEYSTORE_PASSWORD_FILE": "<YOUR_ZERODUST_KEYSTORE_PASSWORD_FILE>",
"ZERODUST_KEYSTORE_PASSWORD": "<YOUR_ZERODUST_KEYSTORE_PASSWORD>",
"ZERODUST_PRIVATE_KEY_FILE": "<YOUR_ZERODUST_PRIVATE_KEY_FILE>",
"ZERODUST_PRIVATE_KEY": "<YOUR_ZERODUST_PRIVATE_KEY>",
"ZERODUST_ALLOWED_DESTINATIONS": "<YOUR_ZERODUST_ALLOWED_DESTINATIONS>"
}
}
}
}VS Code
{
"servers": {
"zerodust-mcp-zerodust-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@zerodust/mcp-server@0.5.1"
],
"env": {
"ZERODUST_API_URL": "<YOUR_ZERODUST_API_URL>",
"ZERODUST_API_KEY": "<YOUR_ZERODUST_API_KEY>",
"ZERODUST_ALLOW_EXECUTE": "<YOUR_ZERODUST_ALLOW_EXECUTE>",
"ZERODUST_SIGNER_MODULE": "<YOUR_ZERODUST_SIGNER_MODULE>",
"ZERODUST_KEYSTORE_FILE": "<YOUR_ZERODUST_KEYSTORE_FILE>",
"ZERODUST_KEYSTORE_PASSWORD_FILE": "<YOUR_ZERODUST_KEYSTORE_PASSWORD_FILE>",
"ZERODUST_KEYSTORE_PASSWORD": "<YOUR_ZERODUST_KEYSTORE_PASSWORD>",
"ZERODUST_PRIVATE_KEY_FILE": "<YOUR_ZERODUST_PRIVATE_KEY_FILE>",
"ZERODUST_PRIVATE_KEY": "<YOUR_ZERODUST_PRIVATE_KEY>",
"ZERODUST_ALLOWED_DESTINATIONS": "<YOUR_ZERODUST_ALLOWED_DESTINATIONS>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"zerodust-mcp-zerodust-mcp-server": {
"command": "npx",
"args": [
"-y",
"@zerodust/mcp-server@0.5.1"
],
"env": {
"ZERODUST_API_URL": "<YOUR_ZERODUST_API_URL>",
"ZERODUST_API_KEY": "<YOUR_ZERODUST_API_KEY>",
"ZERODUST_ALLOW_EXECUTE": "<YOUR_ZERODUST_ALLOW_EXECUTE>",
"ZERODUST_SIGNER_MODULE": "<YOUR_ZERODUST_SIGNER_MODULE>",
"ZERODUST_KEYSTORE_FILE": "<YOUR_ZERODUST_KEYSTORE_FILE>",
"ZERODUST_KEYSTORE_PASSWORD_FILE": "<YOUR_ZERODUST_KEYSTORE_PASSWORD_FILE>",
"ZERODUST_KEYSTORE_PASSWORD": "<YOUR_ZERODUST_KEYSTORE_PASSWORD>",
"ZERODUST_PRIVATE_KEY_FILE": "<YOUR_ZERODUST_PRIVATE_KEY_FILE>",
"ZERODUST_PRIVATE_KEY": "<YOUR_ZERODUST_PRIVATE_KEY>",
"ZERODUST_ALLOWED_DESTINATIONS": "<YOUR_ZERODUST_ALLOWED_DESTINATIONS>"
}
}
}
}Let your agent find its tools
Find servers like ZeroDust MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.