Token Minter MCP is an MCP server that provides tools for AI agents to mint ERC-20 tokens on multiple blockchains, supporting 21 blockchains.
Main capabilities
- Deploy new ERC-20 tokens with customizable parameters.
- Query token metadata (name, symbol, decimals, total supply).
- Initiate token transfers (returns transaction hash, unconfirmed).
- Query transaction details by hash.
- Check the current account's native token balance.
- Access token metadata via URI.
- Interactive prompts providing deployment guidance.
Tool list
- deployToken: Deploy a new ERC-20 token (name, symbol, initialSupply, decimals, chainId).
- transferToken: Transfer ERC-20 tokens (tokenAddress, toAddress, amount, chainId).
- getTransactionInfo: Get transaction details (txHash, chainId).
- getTokenBalance: Query the current account's balance of a specific ERC-20 token.
- getTokenInfo: Query ERC-20 token metadata (tokenAddress, chainId).
- getBalance: Check native token balance (chainId).
- tokenMetadata: Expose token metadata via token://{chainId}/{address}.
- deployTokenGuide: Guide token deployment, requires parameters (chainId).
Environment requirements
- Node.js v18.x or higher
- npm (usually bundled with Node.js)
- A valid Infura API key for EVM network access
- An Ethereum private key for signing transactions
Installation and usage
- Clone the repository: git clone https://github.com/kukapay/token-minter-mcp.git cd token-minter-mcp/server
- Install dependencies: npm install
Usage examples
- Create a new token named 'RewardToken', symbol 'RWD', initial supply 5 million, decimals 6 on Arbitrum.
- Query how much POL is in the wallet on the Polygon network.
- Query the balance of a newly created token on Polygon.
- Transfer 150.75 USDC from a Polygon account to 0xRecipientAddressHere.
- Query the token deployment status of transaction hash 0xabc123... on Arbitrum.
- Get token details for address 0xNewTokenAddressHere on Arbitrum.
- Ask how to deploy a token on Polygon and what details need to be provided.
Local testing
- Install dependencies: cd token-minter-mcp && npm install
- Start a local Hardhat node: npx hardhat node
- Use chainId: 1337 in the prompt for local testing.
Supported networks
This project supports 21 blockchains.
License
This project is licensed under the MIT License. See the LICENSE file for details.