mcpField
T
token-tool

token-tool

Local
github.com/bitbondFinance6Updated 3w ago

About token-tool

token-tool is an MCP server and CLI for deploying and managing ERC-20 and other supported tokens through Bitbond TokenTool. It serves teams and developers who need token lifecycle operations across supported networks, with issuer controls and locally signed transactions.

Key features

  1. 01Deploy and manage tokens across supported networks
  2. 02Estimate deployment gas and fees
  3. 03Mint, burn, transfer, pause, and resume tokens
  4. 04Configure allowlists, blocklists, and issuer controls
  5. 05Use as an MCP server or standalone CLI

Use cases

  1. 01Deploy a token with a chosen supply and controls
  2. 02Compare deployment costs across networks
  3. 03Manage token transfers and supply after deployment
  4. 04Inspect deployed tokens and compliance settings

MCP support

The local stdio MCP server exposes 17 tools for token deployment, cost estimates, network information, token operations, and compliance controls. Transactions are submitted through the Bitbond TokenTool API, with the private key used to sign locally.

Configuration

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

mcp.json · Universal config
{
"mcpServers": {
"bitbond-token-tool": {
"command": "npx",
"args": [
"-y",
"token-tool-mcp"
],
"env": {
"BITBOND_PRIVATE_KEY": "<BITBOND_PRIVATE_KEY>"
}
}
}
}
Run commandnpx -y token-tool-mcp
Environment variables to set
BITBOND_PRIVATE_KEYSecretPrivate key for the wallet used to deploy tokens (hex, with 0x prefix)

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
npmtoken-tool-mcp1.1.1

Tools

11

Saved tool list · updated 2w ago

This tool takes no parameters.

Details

From the project README

TokenTool MCP

npm version License: MIT Node.js ≥18 10 Networks CertiK Audited

Deploy and manage tokens from Claude, Cursor, or any AI agent, by typing a sentence.

Built on Bitbond TokenTool: 7,000+ tokens deployed, CertiK-audited contracts, issuer controls (allowlist, blocklist, pause, force transfer) built in.

TokenTool MCP Demo


See It in Action

"Deploy a token called Green Bond A, 1M supply on Base, with whitelist and pausable."

→ CertiK-audited ERC-20 deployed on-chain in ~30 seconds. Contract address returned. No Solidity required.


Install

Claude Desktop

Add to ~/.claude/claude_desktop_config.json:

{
  "mcpServers": {
    "token-tool": {
      "command": "npx",
      "args": ["-y", "token-tool-mcp"],
      "env": {
        "BITBOND_PRIVATE_KEY": "0x..."
      }
    }
  }
}
Cursor

→ One-click install for Cursor

Or add manually to .cursor/mcp.json:

{
  "mcpServers": {
    "token-tool": {
      "command": "npx",
      "args": ["-y", "token-tool-mcp"],
      "env": {
        "BITBOND_PRIVATE_KEY": "0x..."
      }
    }
  }
}
VS Code

→ One-click install for VS Code

Or add to .vscode/mcp.json in your workspace:

{
  "servers": {
    "token-tool": {
      "command": "npx",
      "args": ["-y", "token-tool-mcp"],
      "env": {
        "BITBOND_PRIVATE_KEY": "0x..."
      }
    }
  }
}
Claude Code
claude mcp add token-tool -- npx -y token-tool-mcp

Then set your key in the environment: export BITBOND_PRIVATE_KEY=0x...


Example Prompts

Once connected, try these:

PromptWhat happens
"Deploy a governance token called DAO Vote, 10M supply on Polygon, mintable and burnable"Deploys an audited ERC-20 with mint + burn enabled
"Estimate the cost to deploy on Arbitrum vs Base"Returns gas + fee estimates for both chains
"Mint 500K more tokens to 0x1234..."Mints to target address, confirms tx
"Pause all transfers on contract 0xabcd..."Activates the emergency stop
"Show me everything I've deployed"Lists all tokens from local registry
"Deploy an RWA security token on Ethereum with whitelist, force transfer, and document URI linking to the prospectus"Security-style token with investor transfer restrictions and an on-chain legal document reference

Tools

17 tools across the full token lifecycle:

ToolDescription
deploy_tokenDeploy a CertiK-audited ERC-20 with optional issuer controls
estimate_costQuote deployment cost (gas + fee) before committing funds
list_chainsList supported networks (10 production, 5 testnets) with chain IDs and aliases
get_token_infoLive on-chain token state — name, symbol, supply, paused status, owner
list_deployed_tokensFull local deployment registry
mint_tokensMint additional supply to any address
burn_tokensPermanently destroy tokens
pause_tokenEmergency stop — halt all transfers immediately
unpause_tokenResume transfers after a pause
transfer_tokensSend tokens to any address
get_wallet_infoDeployer wallet address and native balance
add_to_whitelistAdd addresses to token whitelist (batch supported)
remove_from_whitelistRemove addresses from token whitelist
get_whitelistView whitelist status and all whitelisted addresses
add_to_blacklistBlock an address from token interactions
remove_from_blacklistUnblock a previously blacklisted address
get_compliance_statusCheck whitelist and blacklist configuration for a token

Supported Networks

EVM (8): Ethereum · Polygon · BNB Chain · Arbitrum · Base · Optimism · Avalanche · Peaq

Non-EVM (2): Solana (SPL tokens) · Stellar (Stellar assets)

Testnets (5): Sepolia · Base Sepolia · BNB Testnet · Solana Devnet · Stellar Testnet

Human-friendly aliases work everywhere: eth, polygon, bnb, arb, base, op, avax, peaq, sol, stellar


Issuer Controls

Optional flags on every deployment, the controls institutional issuers and RWA platforms ask for. They are tools for an issuer's own compliance process; the token itself does not make an offering compliant.

FeatureFlagWhat it does
Whitelist--whitelistOnly approved addresses can hold or receive tokens
Blacklist--blacklistBlock specific addresses from any interaction
Pausable--pausableOwner can freeze all transfers instantly
Force Transfer--force-transferOwner can move tokens between addresses (regulatory recovery)
Document URI--document-uriAttach a prospectus, term sheet, or legal document on-chain
Max Supply Cap--max-supplyHard ceiling on total supply, enforced at the contract level

How It Works

You (natural language) → MCP Client (Claude/Cursor/VS Code) → TokenTool MCP Server (local)
    → Bitbond TokenTool API → Smart contract factory → On-chain deployment
  1. You type a prompt in your MCP client
  2. The client calls the appropriate tool on the local MCP server (stdio transport — nothing leaves your machine until step 3)
  3. The MCP server constructs a deployment transaction and submits it to Bitbond's TokenTool smart contract factory on the target chain
  4. The factory deploys a CertiK-audited ERC-20 contract with your parameters
  5. The contract address and transaction hash are returned to your MCP client

Your private key signs transactions locally. It is read from an environment variable, never passed as an argument, and never transmitted to Bitbond or any third party. The MCP server itself is stateless — the only local state is an optional deployment registry at data/registry.json.


CLI

TokenTool MCP also works as a standalone CLI for scripts, CI/CD, and non-MCP agents:

# List all supported chains
token-tool chains

# Estimate cost before deploying
token-tool cost --chain base

# Deploy a token
token-tool deploy \
  --chain base \
  --name "My Token" \
  --symbol MTK \
  --supply 1000000 \
  --mintable \
  --pausable

# Post-deployment management
token-tool mint --chain base --address 0x... --to 0x... --amount 500000
token-tool burn --chain base --address 0x... --amount 10000
token-tool pause --chain base --address 0x...
token-tool info --chain base --address 0x...

# View your deployment history
token-tool registry

All commands output structured JSON. Install globally with npm install -g token-tool-mcp to use token-tool directly.

Deploy Flags
FlagDescription
--chainTarget network (see aliases above)
--nameToken name
--symbolToken symbol
--supplyInitial supply (human-readable, e.g. 1000000)
--decimalsDecimal places (default: 18)
--mintableEnable minting after deployment
--burnableEnable burning
--pausableEnable pause/unpause
--whitelistEnable whitelist-only transfers
--blacklistEnable address blacklisting
--force-transferEnable owner-initiated forced transfers
--document-uriAttach a document URL on-chain
--max-supplyHard cap on total token supply
--ownerToken owner address (defaults to deployer)

Security

  • Private key stays local. Read from BITBOND_PRIVATE_KEY env var only — never passed as a CLI argument, never logged, never transmitted
  • stdio transport. The MCP server communicates with your client locally. No network listener, no open ports
  • CertiK-audited contracts. You're deploying battle-tested smart contracts, not generated Solidity
  • Testnet by default. We recommend starting on Sepolia or Base Sepolia — it's free and functionally identical to mainnet
  • Human-in-the-loop. For mainnet deployments ($499 each, see Pricing), enable confirmation prompts in your MCP client before executing transactions

Pricing

EnvironmentCost
Testnet (Sepolia, Base Sepolia, BNB Testnet)Gas only (~free)
Mainnet (all production chains)$499 flat fee per deployment + gas

The MCP deploys TokenTool's asset token contract (the one with allowlist, blocklist, force transfer and document URI), so the fee matches Create Asset Token on the TokenTool pricing page, the same whether you deploy via the web UI, the API, or this MCP server. estimate_cost returns the live quote before you commit. It's paid in the chain's native token (ETH, MATIC, BNB, etc.) at the time of deployment. No subscription, no API key, no per-call charges.


Architecture

token-tool-mcp/
├── src/
│   ├── index.js          ← MCP server (stdio transport)
│   ├── cli.js            ← CLI interface
│   ├── tokenTool.js      ← Core engine (shared by CLI + MCP)
│   ├── chains.js         ← Network registry + aliases
│   ├── solana.js         ← SPL token adapter
│   └── stellar.js        ← Stellar asset adapter
├── data/
│   └── registry.json     ← Local deployment history
├── SKILL.md              ← OpenClaw agent skill descriptor
├── CHANGELOG.md
└── README.md

Built on TokenTool

Bitbond TokenTool is one of the most widely used token deployment platforms in Web3:

  • 8,300+ tokens deployed across production networks
  • CertiK-audited smart contracts — audit report
  • Used by enterprises, DAOs, and developers in 50+ countries
  • Live since 2020, maintained by Bitbond GmbH (Berlin)

TokenTool MCP wraps this same production infrastructure for AI agents.


Contributing

git clone https://github.com/thendrix-eng/token-tool-mcp
cd token-tool-mcp
npm install
node src/index.js   # start MCP server
node src/cli.js     # run CLI

Issues and PRs welcome.


License

MIT — Bitbond GmbH

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.