base-gasless-deploy-mcp
MCP server for deploying ERC-20 tokens on Base with zero gas using CDP Paymaster. Falls back to normal gas if no paymaster is configured.
Install
npx -y base-gasless-deploy-mcpConfiguration
Add to your MCP client config (e.g. Claude Desktop):
{
"mcpServers": {
"base-gasless-deploy": {
"command": "npx",
"args": ["-y", "base-gasless-deploy-mcp"],
"env": {
"DEPLOYER_PRIVATE_KEY": "0x...",
"PAYMASTER_URL": "https://api.developer.coinbase.com/rpc/v1/base/..."
}
}
}
}Environment Variables
Variable | Required | Description |
| Yes (write ops) | Private key for deploying/transferring |
| No | CDP Paymaster RPC endpoint for gasless transactions |
| No | Alias for PAYMASTER_URL |
| No | Base RPC (default: https://mainnet.base.org) |
Tools
deploy_gasless_token
Deploy an ERC-20 token on Base. Uses paymaster for zero gas when configured.
Params:
name(string) - Token namesymbol(string) - Token symbolsupply(string, default "1000000") - Total supply in human unitsowner_address(string) - Address that receives all tokens
get_token_info
Get info about a deployed token (name, symbol, supply, owner balance).
Params:
token_address(string) - Token contract address
estimate_gas_savings
Show how much gas was saved by using the paymaster.
Params:
token_address(string) - Token contract address
list_deployed_tokens
List all tokens deployed by an address in the current session.
Params:
deployer_address(string) - Deployer wallet address
transfer_tokens
Transfer ERC-20 tokens gaslessly via paymaster.
Params:
token_address(string) - Token contract addressto(string) - Recipient addressamount(string) - Amount in human units
How It Works
Pre-compiled ERC-20 bytecode is embedded in the server (no Solidity compiler needed at runtime)
When
PAYMASTER_URLis set, transactions are routed through the CDP Paymaster for gas sponsorshipIf the paymaster fails or isn't configured, transactions fall back to normal gas from the deployer wallet
All deployments are tracked in-memory for gas savings reporting
Related MCP Servers
Package | Tools | What it does |
| 14 | Deploy tokens, trade, earn OBSD |
| 8 | Scan contracts for vulnerabilities |
| 7 | On-chain price feeds from DEX pools |
| 8 | Coordinated multi-wallet trading |
| 5 | Gasless ERC-20 token deployment |
| 7 | Detect arbitrage opportunities |
| 5 | Discover & trade new launches |
| 7 | Wallet balances, gas, tokens |
| 6 | Read any smart contract (free) |
| - | Scaffold a new MCP server |
License
MIT