Token Minter MCP server

Enables AI assistants to deploy and manage ERC-20 tokens across multiple blockchain networks, providing tools for token creation, balance checking, and transfers using ethers.js and smart contracts.
Back to servers
Setup instructions
Provider
kukapay
Release date
Mar 20, 2025
Language
TypeScript
Stats
15 stars

This MCP server provides tools for AI agents to mint and interact with ERC-20 tokens across 21 different blockchains. It enables token deployment, transfers, and queries through a standardized interface.

Features

  • Deploy custom ERC-20 tokens with configurable parameters
  • Query token metadata (name, symbol, decimals, total supply)
  • Transfer tokens between addresses
  • Retrieve transaction details
  • Check native token and ERC-20 token balances
  • Interactive deployment guidance

Prerequisites

  • Node.js v18.x or higher
  • npm (typically bundled with Node.js)
  • A valid Infura API key for EVM network access
  • An Ethereum private key for signing transactions

Installation

Clone and Set Up

git clone https://github.com/kukapay/token-minter-mcp.git
cd token-minter-mcp/server
npm install

Configuration

Set up your configuration file with the following format:

{
  "mcpServers": {
    "Token-Minter-MCP": {
      "command": "node",
      "args": ["path/to/token-minter-mcp/server/index.js"],
      "env": {
        "INFURA_KEY": "your infura key",
        "PRIVATE_KEY": "your private key"
      }
    }
  }
}

Usage Examples

Creating a New Token

Input:

I want to create a new token called 'RewardToken' with the symbol 'RWD' on Arbitrum. It should have 5 million tokens in initial supply and use 6 decimal places.

Response:

Token deployment initiated on Arbitrum (chainId: 42161)!
Name: RewardToken
Symbol: RWD
Decimals: 6
Initial Supply: 5000000 tokens
Transaction Hash: 0xabc123...
Note: Use 'getTransactionInfo' to check deployment status.

Checking Native Token Balance

Input:

Can you tell me how much POL I have in my wallet on the Polygon network?

Response:

Account Balance on Polygon (chainId: 137):
Address: 0xYourAddressHere
Balance: 25.3478 POL

Checking Token Balance

Input:

What's the balance of my newly created token on Polygon?

Response:

Token Balance on Polygon (chainId: 137):
Address: 0xYourAddressHere
Token: 0xYourTokenAddressHere
Symbol: ABCD
Balance: 10000000.00 ABCD

Transferring Tokens

Input:

Please transfer 150.75 USDC from my account to 0xRecipientAddressHere on Polygon.

Response:

Transfer initiated on Polygon (chainId: 137)!
Token: 0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174
To: 0xRecipientAddressHere
Amount: 150.75 (150.75 tokens)
Transaction Hash: 0xdef456...
Note: Use 'getTransactionInfo' to check transfer status.

Checking Transaction Status

Input:

What's the status of my token deployment transaction with hash 0xabc123... on Arbitrum?

Response:

Transaction Info on Arbitrum (chainId: 42161):
Hash: 0xabc123...
From: 0xYourAddressHere
To: Contract Creation
Value: 0 ETH
Status: Success
Deployed Contract Address: 0xNewTokenAddressHere

Getting Token Details

Input:

Give me the details of the token at address 0xNewTokenAddressHere on Arbitrum.

Response:

Token Info on Arbitrum (chainId: 42161):
Address: 0xNewTokenAddressHere
Name: RewardToken
Symbol: RWD
Decimals: 6
Total Supply: 5000000

Using the Deployment Guide

Input:

How do I deploy a token on Polygon? What details do I need to provide?

Response:

To deploy a token on Polygon (chainId: 137), use the "deployToken" tool with these parameters:
- name: The token's full name (e.g., "MyToken")
- symbol: The token's ticker (e.g., "MTK")
- initialSupply: Amount in token units (e.g., 1000000 for 1M tokens, default 1,000,000)
- decimals: Optional number of decimals (default is 18)
- chainId: Optional chain ID (default is 1 for Ethereum)

Local Testing

cd token-minter-mcp
npm install
npx hardhat node

Use chainId: 1337 in your prompts to test locally.

Supported Networks

Chain ID Network Name Native Token
1 Ethereum ETH
137 Polygon POL
56 BSC BNB
42161 Arbitrum ETH
10 Optimism ETH
59144 Linea ETH
8453 Base ETH
81457 Blast ETH
11297108109 Palm PALM
43114 Avalanche AVAX
42220 Celo CELO
324 zkSync ETH
5000 Mantle MNT
204 opBNB BNB
534352 Scroll ETH
1923 Swellchain ETH
130 Unichain ETH
23448594291968334 Starknet ETH
80094 Berachain BERA
999 Hyperliquid HYPE
146 Sonic S
1337 Localhost ETH

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "token-minter" '{"command":"node","args":["path/to/token-minter-mcp/server/index.js"],"env":{"INFURA_KEY":"your infura key","PRIVATE_KEY":"your private key"}}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "token-minter": {
            "command": "node",
            "args": [
                "path/to/token-minter-mcp/server/index.js"
            ],
            "env": {
                "INFURA_KEY": "your infura key",
                "PRIVATE_KEY": "your private key"
            }
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Add this to your configuration file:

{
    "mcpServers": {
        "token-minter": {
            "command": "node",
            "args": [
                "path/to/token-minter-mcp/server/index.js"
            ],
            "env": {
                "INFURA_KEY": "your infura key",
                "PRIVATE_KEY": "your private key"
            }
        }
    }
}

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later