代币铸造者 MCP
MCP 服务器为 AI 代理提供铸造 ERC-20 代币的工具,支持 21 个区块链。
特征
使用可定制的参数部署新的 ERC-20 代币。
查询令牌元数据(名称、符号、小数、总供应量)。
启动代币传输(返回无需确认的交易哈希)。
通过哈希检索交易详情。
查询当前账户原生代币余额。
通过 URI 访问令牌元数据。
部署指导的交互式提示。
工具
deployToken :部署新的 ERC-20 代币(名称、符号、initialSupply、decimals、chainId)。
transferToken :转移 ERC-20 代币(tokenAddress、toAddress、amount、chainId)。
getTransactionInfo :检索交易详情(txHash、chainId)。
getTokenBalance :查询当前账户的特定 ERC-20 代币的余额。
getTokenInfo :查询 ERC-20 代币元数据(tokenAddress、chainId)。
getBalance :检查原生代币余额(chainId)。
资源
tokenMetadata :通过
token://{chainId}/{address}
公开代币元数据。
提示
deployTokenGuide :使用所需参数(chainId)指导代币部署。
先决条件
Node.js v18.x 或更高版本
npm (通常与 Node.js 捆绑在一起)
用于 EVM 网络访问的有效Infura API 密钥
用于签署交易的以太坊私钥
安装
克隆存储库:
git clone https://github.com/kukapay/token-minter-mcp.git cd token-minter-mcp/server安装依赖项:
npm install
配置
用法
例子:
我想在 Arbitrum 上创建一个名为“RewardToken”的新代币,代码为“RWD”。它的初始发行量为 500 万个,小数点后 6 位。
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.你能告诉我 Polygon 网络上我的钱包里有多少 POL 吗?
Account Balance on Polygon (chainId: 137): Address: 0xYourAddressHere Balance: 25.3478 POL我在 Polygon 上新创建的代币余额是多少?
Token Balance on Polygon (chainId: 137): Address: 0xYourAddressHere Token: 0xYourTokenAddressHere Symbol: ABCD Balance: 10000000.00 ABCD请从我的账户中将 150.75 USDC 转账到 Polygon 上的 0xRecipientAddressHere。”
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.我在 Arbitrum 上哈希值为 0xabc123... 的代币部署交易的状态如何?
Transaction Info on Arbitrum (chainId: 42161): Hash: 0xabc123... From: 0xYourAddressHere To: Contract Creation Value: 0 ETH Status: Success Deployed Contract Address: 0xNewTokenAddressHere请向我提供 Arbitrum 上地址 0xNewTokenAddressHere 处的代币的详细信息。
Token Info on Arbitrum (chainId: 42161): Address: 0xNewTokenAddressHere Name: RewardToken Symbol: RWD Decimals: 6 Total Supply: 5000000如何在 Polygon 上部署代币?我需要提供哪些详细信息?
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)本地测试:
安装依赖项:
cd token-minter-mcp npm install启动本地 Hardhat 节点:
npx hardhat node在提示中使用 chainId: 1337 进行本地测试。
支持的网络
链ID | 网络名称 | 原生代币 |
1 | 以太坊 | 以太坊 |
137 | 多边形 | 波兰 |
56 | 平衡记分卡 | 币安币 |
42161 | 仲裁 | 以太坊 |
10 | 乐观 | 以太坊 |
59144 | 莱尼亚 | 以太坊 |
8453 | 根据 | 以太坊 |
81457 | 爆炸 | 以太坊 |
11297108109 | 棕榈 | 棕榈 |
43114 | 雪崩 | AVAX |
42220 | 塞洛 | 塞洛 |
324 | zkSync | 以太坊 |
5000 | 地幔 | MNT |
204 | opBNB | 币安币 |
534352 | 滚动 | 以太坊 |
1923 | Swellchain | 以太坊 |
130 | 尤尼链 | 以太坊 |
23448594291968334 | 星网 | 以太坊 |
80094 | 贝拉尚 | 贝拉 |
999 | 超液体 | 炒作 |
146 | 索尼克 | 秒 |
1337 | 本地主机 | 以太坊 |
执照
本项目遵循MIT 许可证。详情请参阅LICENSE
文件。
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
MCP 服务器为 AI 代理提供工具,用于在多个区块链上铸造 ERC-20 代币。
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityA MCP server offering tools for cryptocurrency research and Ethereum-based automation.Last updated -3539AGPL 3.0
- -securityAlicense-qualityAn MCP server for AI agents to automate token swaps on Uniswap DEX across multiple blockchains.Last updated -231MIT License
Armor Crypto MCPofficial
AsecurityAlicenseAqualityAn MCP server providing unified access to blockchain operations, bridging, swapping, and crypto trading strategies for AI agents.Last updated -37181GPL 3.0- -securityAlicense-qualityAn MCP server for checking and revoking ERC-20 token allowances across multiple blockchains.Last updated -22MIT License