B20Deployer
← Blog

How to Deploy Crypto Tokens Using AI (Claude + B20 MCP)

·5 min read

MCP (Model Context Protocol) lets AI assistants like Claude call external tools and APIs. The B20 MCP server exposes B20 token operations as tools — so you can deploy a token, mint supply, or send a payment by describing what you want in plain English.

What is MCP?

Model Context Protocol is an open standard that lets AI models connect to external servers and use their tools. Instead of copy-pasting calldata or writing scripts, you describe your intent to the AI and it calls the right tool automatically.

Claude Code, Claude Desktop, and other MCP-compatible assistants support this natively.

What the B20 MCP server does

The B20 MCP server at https://www.deployb20.xyz/api/mcp is a calldata builder. It encodes your intent into a blockchain transaction — but never holds a private key. Your wallet signs and sends.

Paired with Base MCP (which gives Claude a wallet), you get a full end-to-end flow: AI encodes → Base MCP signs → Base confirms.

YouClaudeB20 MCP (encode) → Base MCP (sign & send) → Base

Setup: Claude Code or Claude Desktop

Run these two commands once in your terminal:

claude mcp add b20 --transport http https://www.deployb20.xyz/api/mcp
claude mcp add base-mcp --transport http https://mcp.base.org

That's it. Claude now has B20 tools and a wallet.

Example: deploy a token

Deploy a B20 ASSET token called GameCoin with symbol GC,
18 decimals, on Base Sepolia. My wallet is 0xYourAddress.

Claude will check B20 activation on the chain, encode the deployment, and use Base MCP to send the transaction from your wallet.

Example: mint tokens

Mint 10000 GC tokens to 0xRecipientAddress on Base Sepolia.
Token address is 0xYourTokenAddress, decimals 18.

Example: send a payment with memo

Send 50 GC to 0xShopAddress with memo "order-42".
Token: 0xYourTokenAddress, decimals 18, on Base Sepolia.

Available tools

  • b20_encode_deploy — encode a token deployment (ASSET or STABLECOIN)
  • b20_encode_mint — encode a mint call (checks activation first)
  • b20_encode_payment — encode transferWithMemo
  • b20_encode_grant_mint_role — encode a MINT_ROLE grant
  • b20_read_token — read token name, supply, cap, roles (no wallet needed)
  • b20_check_activation — check if B20 is live on a chain

Does it work without a wallet?

Read-only tools (b20_read_token, b20_check_activation) work without any wallet. For deploying, minting, or sending, you need Base MCP or another wallet connector that can sign and send transactions.

For a full setup guide and Claude Web instructions, see the B20 MCP guide.

Set up B20 MCP and start deploying with AI.

B20 MCP Setup Guide →