
Mintclub
io.github.h1-hunt由 GitHub 账号 h1-hunt 发布v0.1.1更新于 Oct 24, 2026
Trade bonding curve tokens on Base via Mint Club V2 — buy, sell, swap, create
概览
用于在支持的链上交易和创建 Mint Club V2 联合曲线代币的 MCP 服务器,提供买入、卖出、兑换、转账和创建代币工具。
- 可以做什么
- 读取代币信息、价格和钱包余额,未指定链时默认使用 Base。通过 Mint Club Bond 合约直接买入和卖出联合曲线代币。借助本地 Uniswap 路由和 ZapV2 合约,用原生资产或 ERC-20 资产进行 zap 买入和卖出。发送代币并创建新的 ERC-20 联合曲线代币。写入类工具要求明确指定链和确认标志。
- 适用场景
- 适合需要让助手在支持的链上查看或操作 Mint Club V2 联合曲线代币的场景,例如查询价格和余额,或从钱包执行经确认的买入、卖出、兑换、转账和代币创建。
- 运行要求
- 以 npm 包 mintclub-mcp 通过 stdio 在本地运行,需要 Node.js 18 或更高版本。需要通过 PRIVATE_KEY 环境变量提供有资金的钱包私钥,并需要访问链上 RPC 端点及 DefiLlama 定价 API 的网络连接。
安装
在 SourceWeft 中
- 打开 控制台中的 Mintclub,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Mint Club V2 — AI Tools
Trade, create, and manage bonding curve tokens across supported Uniswap chains — from the terminal, AI assistants, or autonomous agents.
[CLI npm]
[CLI downloads]
[CLI install size]
[MCP npm]
[MCP downloads]
[MCP install size]
[Eliza plugin npm]
[Eliza plugin downloads]
[GitHub stars]
[MIT]
Protocol-native Mint Club V2 tooling for humans and agents. Reads and direct Bond operations use the configured Mint Club contracts; routed trades use local RPC quotes and MCV2_ZapV2.
Tooling
All three adapters consume the published chain-registry.json from @mint.club/v2-cli. The registry is the shared source for chain keys, aliases, IDs, and capability flags; the CLI validates it against its full contract/token/RPC configuration at startup.
For application development, use the separate @mint.club/v2-sdk package and SDK documentation.
Package migration
Version 2.0 consolidates the public packages under the @mint.club npm organization:
The scoped names supersede the legacy SDK, CLI, and MCP package names. Existing users should migrate their install and configuration commands; package binaries remain mc and mintclub-mcp. @mint.club/v2-eliza-plugin is new—the earlier @elizaos/plugin-mintclub name was never published.
Quick start
The CLI and MCP server require Node.js 18 or later. The ElizaOS plugin and repository development require Node.js 22.13 or later. Generate a dedicated wallet with limited funds, or provide PRIVATE_KEY through a trusted secret manager; never paste a key into an agent conversation.
Financial writes are fail-closed: CLI writes require --yes (while create keeps its interactive prompt), MCP write tools require explicit chain/assets plus confirm: true and must remain behind the host's destructive-tool approval, and Eliza writes require one affirmative original-user Confirm: statement with exactly one explicit chain and all effective limits, slippage, assets, and royalties.
Protocol operations
Example ZapV2 syntax:
Both ERC-20 and ERC-1155 Mint Club tokens can be direct Bond or Zap targets. Routed input and output assets must be native currency or ERC-20 tokens. ZapV2 is deployed on every supported chain listed below. Blast is intentionally unsupported because it is outside the official Uniswap deployment set used by this integration.
Local routing model
Routing does not call the Uniswap Trading API, Smart Order Router, Mint Club route services, or any API-key quote service. It uses chain RPC calls only:
- Enumerate direct paths and paths with one configured wrapped-native or stablecoin intermediary.
- Quote homogeneous Uniswap V2, V3, and V4 candidates where configured for the selected chain.
- Isolate expected missing-pool reverts while surfacing transport failures.
- Choose the highest exact-input output with deterministic tie-breaking.
- Encode only the selected path with
@uniswap/universal-router-sdk.
The encoder uses Universal Router V2.0 commands with router-balance payment (payerIsUser = false) and the ZapV2 contract as recipient. It rejects Permit2 ingress commands and settles any unused routed input directly back to the caller.
Deliberate limits: no split routes, mixed-protocol paths, arbitrary-length graph search, dynamic-fee V4 pools, or hooked V4 pools. V4 discovery checks only canonical hookless fee/tick-spacing pairs. This repository does not expose a general-purpose swap command.
MCP tools
The MCP server exposes nine tools:
token_info · token_price · wallet_balance · buy_token · sell_token · zap_buy · zap_sell · send_token · create_token
Read tools accept an optional canonical chain key and default to Base. Write tools require an explicit chain. See the MCP reference for schemas and safe client configuration.
Architecture
MCP and Eliza invoke the CLI with argument arrays rather than shell-interpolated commands.
Supported chains
See the CLI reference for command options, routing details, and contract configuration.
Development
The three publishable packages share one npm workspace lockfile:
Repository development requires Node.js 22.13 or later. CI separately verifies the published CLI and MCP runtime paths on Node.js 18. The default tests are deterministic and offline. test:integration performs read-only deployment and immutable checks across all supported networks plus live route quotes where a stable intermediary is configured. test:fork runs write flows against a pinned local Base fork and requires Anvil.
For releases, update all three package versions, the CLI dependency ranges, and mcp/server.json, then commit and push the changes to main. After the main CI run passes, use the repository release command:
The command requires authenticated npm and git sessions. It runs the release gates, publishes the CLI first, waits for npm availability, publishes MCP and ElizaOS, verifies that every package records the current commit as its gitHead, and pushes the matching vX.Y.Z tag. The tag-triggered GitHub workflow then creates the GitHub Release automatically. Already-published packages from the same commit are skipped safely, so a partially completed npm release can be resumed. If npm publishing and the tag push succeed but the GitHub workflow fails, rerun that workflow from GitHub Actions.
License
MIT. Published packages include the project LICENSE; bundled CLI and MCP dependencies are covered by generated THIRD_PARTY_NOTICES.md files. The CLI build keeps only the ABIs from imported Uniswap contract artifacts and excludes their bytecode. See SECURITY.md for the dependency audit policy.
来源:README.md,提交 ee874e2
工具
0版本历史
1- v0.1.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分