
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 分