token-minter-mcp

by kukapay
Verified

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.

Integrations

  • Allows deployment of ERC-20 tokens, querying token metadata, and transferring tokens on the Ethereum network.

  • Utilizes Node.js as the runtime environment for the MCP server, requiring v18.x or higher for operation.

  • Uses npm for dependency management and package installation for the token minting MCP server.

代币铸造者 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 密钥
  • 用于签署交易的以太坊私钥

安装

  1. 克隆存储库
    git clone https://github.com/kukapay/token-minter-mcp.git cd token-minter-mcp/server
  2. 安装依赖项
    npm install

配置

{ "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" } } } }

用法

  1. 例子

    我想在 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)
  2. 本地测试安装依赖项:
    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塞洛塞洛
324zkSync以太坊
5000地幔MNT
204opBNB币安币
534352滚动以太坊
1923Swellchain以太坊
130优链以太坊
23448594291968334星网以太坊
80094贝拉尚贝拉
999超液体炒作
146索尼克
1337本地主机以太坊

执照

本项目遵循MIT 许可证。详情请参阅LICENSE文件。

-
security - not tested
F
license - not found
-
quality - not tested

MCP 服务器为 AI 代理提供工具,用于在多个区块链上铸造 ERC-20 代币。

  1. Features
    1. Tools
    2. Resources
    3. Prompts
  2. Prerequisites
    1. Installation
      1. Configuration
        1. Usage
          1. Supported Networks
            1. License
              ID: er21o46hi6