mcpField
M
Mint Club V2

Mint Club V2

Local
github.com/SteemhuntFinance6Updated 3w ago

About Mint Club V2

Mint Club V2 is an MCP server for querying and transacting with Mint Club V2 bonding-curve tokens and ZapV2 routes. It serves DeFi users through the Mint Club CLI and supports read-only queries without a wallet, while writes require a configured key and explicit confirmation.

Key features

  1. 01Query token supply, price, and curve
  2. 02Buy and sell bonding-curve tokens
  3. 03Route token swaps with ZapV2
  4. 04Check wallet balances and send assets
  5. 05Create bonding-curve tokens

Use cases

  1. 01Check a token’s price and reserve
  2. 02Buy or sell tokens on a supported chain
  3. 03Swap routed assets into or out of a token
  4. 04Create a token with a configured curve

MCP support

Exposes nine Mint Club V2 operations as MCP tools, backed by `@mint.club/v2-cli`. Write operations require an explicit chain, a configured wallet key, and `confirm: true`.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"steemhunt": {
"command": "npx",
"args": [
"-y",
"mintclub-mcp"
],
"env": {
"PRIVATE_KEY": "<PRIVATE_KEY>"
}
}
}
}
Run commandnpx -y mintclub-mcp
Environment variables to set
PRIVATE_KEYSecretPrivate key for the wallet used to sign transactions

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmmintclub-mcp0.1.1

Tools

10

Saved tool list · updated 3w ago

ParameterTypeRequiredDescription
tokenstringYesToken address or symbol

Details

From the project README

Mint Club V2 MCP Server

An MCP server exposing Mint Club V2 Bond operations and bounded local Uniswap ZapV2 routing across ten mainnets and two testnets.

npm package · repository · CLI reference · ElizaOS plugin

The server delegates to @mint.club/v2-cli, so the CLI remains the single source of truth for contracts, token resolution, route discovery, pricing, and transactions. Chain keys are loaded from the CLI's published chain-registry.json rather than duplicated in the MCP package.

Configure

Requires Node.js 18 or later. Most MCP clients can launch the package directly with npx:

{
  "mcpServers": {
    "mintclub": {
      "command": "npx",
      "args": ["-y", "@mint.club/v2-mcp@2"]
    }
  }
}

For a global installation, run npm install -g @mint.club/v2-mcp and use "command": "mintclub-mcp" instead. The MCP package installs a compatible @mint.club/v2-cli 2.x runtime dependency automatically.

Read-only tools work without a wallet. Write tools and wallet_balance require PRIVATE_KEY in the server process, or a key in ~/.mintclub/.env. Supply it through the MCP client's secret/environment facility. To generate a dedicated local wallet, install the CLI and run mc wallet --generate in a trusted terminal.

Never store a key in a committed MCP configuration or paste it into a model conversation. Use a dedicated wallet with limited funds.

Every write tool requires an explicit chain and the literal structured argument "confirm": true. This field prevents accidental omission but is not proof of user authorization: configure the MCP host to require interactive approval for tools marked destructive. The client must show the complete chain, assets, amounts, and limits before setting it; the server never infers confirmation.

Tools

The server exposes nine protocol-specific tools:

ToolDescription
token_infoToken supply, reserve, curve, price, and USD values
token_pricePrice in reserve token and USD
wallet_balanceChain-local configured-wallet balances
buy_tokenMCV2_Bond.mint with reserve ERC-20
sell_tokenMCV2_Bond.burn for reserve ERC-20
zap_buyExact routed input asset → MCV2_ZapV2.zapMint
zap_sellMCV2_ZapV2.zapBurn → routed output asset
send_tokenSend native currency or an ERC-20 token
create_tokenCreate an ERC-20 bonding curve token

create_token requires curve, initialPrice, and finalPrice in addition to its name, symbol, reserve, and maximum supply. It uses the CLI defaults of 100 basis points (1%) for both mint and burn royalties; use the CLI directly when different royalties are required.

This tool performs onchain creation through the CLI. Configure logos and website links afterward using the creator wallet on Mint Club; see the CLI metadata guidance. No anonymous metadata API call is required.

Read tools accept an optional canonical chain property and default to Base. Every write tool requires chain explicitly. Supported values are:

ethereum · optimism · arbitrum · avalanche · base · polygon · bsc · zora · unichain · robinhood · sepolia · base-sepolia

Blast is unsupported by this integration.

send_token also requires an explicit token asset. Use the literal "NATIVE" for the selected chain's native currency; otherwise provide an ERC-20 symbol or address.

ZapV2 inputs

zap_buy requires:

{
  "chain": "arbitrum",
  "token": "0xMINT_CLUB_TOKEN",
  "inputToken": "USDT",
  "inputAmount": "10",
  "slippage": "1",
  "confirm": true
}

Optional minTokens is denominated in the Mint Club token. inputAmount is exact.

zap_sell requires:

{
  "chain": "unichain",
  "token": "0xMINT_CLUB_TOKEN",
  "amount": "100",
  "outputToken": "USDC",
  "slippage": "1",
  "confirm": true
}

Optional minOutput is denominated in the output asset. amount is the exact Mint Club token burn amount.

The Mint Club token passed to zap_buy or zap_sell may be ERC-20 or ERC-1155; ERC-1155 amounts must be whole numbers. Routed input and output assets must be native currency or ERC-20 tokens.

The CLI enumerates direct and one-intermediary homogeneous V2/V3/V4 candidates where configured, selects the greatest exact-input output among those candidates, and encodes it with the Universal Router SDK. It does not call an external routing API and does not claim global route optimality.

ZapV2 is deployed on every supported chain listed above. Deployment addresses are maintained by @mint.club/v2-cli; see the CLI contract table.

Example requests

  • “Get token info for SIGNET on Base.” → token_info
  • Confirmed buy_token call for 100 TOKEN on Robinhood with "confirm": true.
  • Confirmed zap_buy call using exactly 10 USDT on Arbitrum with "confirm": true.
  • Confirmed zap_sell call for 50 TOKEN to USDC on Unichain with "confirm": true.
  • Confirmed create_token call for My Token (MYT), backed by USDG on Robinhood, with maximum supply 1,000,000, a linear curve from 0.01 to 1 USDG, and "confirm": true.

Safe CLI execution

Tool arguments are passed to mc with execFileSync argv arrays. User values are not interpolated into a shell command. The server appends CLI --yes only after validating confirm === true for a write tool.

Set MINTCLUB_CLI to override the CLI executable path.

Development

From the repository root:

npm ci
npm --prefix mcp run check
npm --prefix mcp test
npm --prefix mcp run build

License

MIT. Published tarballs include the project LICENSE and generated THIRD_PARTY_NOTICES.md covering every package bundled into the MCP server.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.