BitBadges Builder MCP Server
OfficialClick on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@BitBadges Builder MCP Serveraudit collection abc123 for security risks"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
BitBadges Builder MCP Server
DEPRECATED — Moved to
bitbadgesjs-sdkThis standalone MCP server is deprecated and no longer maintained. The MCP builder tools have been folded into the main
bitbadgesjs-sdkpackage.What to use instead:
npm install -g bitbadgesjs-sdkThe SDK exposes the same MCP server plus a
builderCLI. See the docs:The standalone
bitbadges-builder-mcpnpm package and this repo are retained only for historical references and redirect purposes. Do not build against them — theaudit_collectionand related tools have been replaced byreview_collectionin the SDK, and no further updates will ship here.
MCP (Model Context Protocol) server for building, auditing, and querying BitBadges collections via AI. Works with Claude Desktop, Claude Code, Cursor, and any MCP-compatible client.
This MCP server does not sign or broadcast transactions. It builds transaction JSON that your application signs and broadcasts using your own wallet/signer.
Related MCP server: x402-mcp
Quick Start (DEPRECATED — use bitbadgesjs-sdk instead)
1. Install
# DEPRECATED: do not use
# npm install -g bitbadges-builder-mcp
# Use this instead:
npm install -g bitbadgesjs-sdk2. Configure Your MCP Client
Claude Desktop (~/.config/claude/config.json):
{
"mcpServers": {
"bitbadges-builder": {
"command": "npx",
"args": ["bitbadges-builder-mcp"],
"env": {
"BITBADGES_API_KEY": "your-api-key-here"
}
}
}
}Claude Code (.mcp.json in project root):
{
"mcpServers": {
"bitbadges-builder": {
"command": "npx",
"args": ["bitbadges-builder-mcp"],
"env": {
"BITBADGES_API_KEY": "your-api-key-here"
}
}
}
}Cursor (Settings > MCP Servers > Add):
{
"command": "npx",
"args": ["bitbadges-builder-mcp"],
"env": {
"BITBADGES_API_KEY": "your-api-key-here"
}
}3. Get an API Key
Get your free API key at: https://bitbadges.io/developer
The API key enables query tools (see below). Builder, validation, and knowledge tools work without an API key.
4. Start Building
"Create a 1000-supply NFT collection with 5 BADGE mint price"
"Build a USDC stablecoin vault with 100/day withdraw limit"
"Explain collection 123 to me"
"Audit this collection for security risks"
Environment Variables
Variable | Required | Description |
| For query tools | API key from https://bitbadges.io/developer |
No wallet, mnemonic, or private key is needed. This server builds transaction JSON only — your app handles signing and broadcasting.
How It Works
You describe what you want
↓
MCP builds transaction JSON (MsgUniversalUpdateCollection, MsgTransferTokens, etc.)
↓
review_collection catches security issues
↓
validate_transaction checks JSON format
↓
You sign with your wallet (MetaMask, Keplr, SDK, etc.) and broadcastAvailable Tools
Validation & Analysis (no API key needed)
Tool | Description |
| Validate transaction JSON against critical rules |
| Audit for security risks, design flaws, supply inflation vectors |
| Generate human-readable markdown explanation of a collection |
Builders (no API key needed)
Tool | Description |
| Universal token builder — any collection type from design axes |
| IBC-backed smart token (stablecoin, wrapped asset) |
| ERC-20 style fungible token |
| NFT collection with minting config |
| On-chain address list (manager add/remove) |
| Build claim JSON for the API (code-gated, password-gated, whitelist-gated, open) |
Components (no API key needed)
Tool | Description |
| Compute deterministic IBC backing address from denom |
| Build approval structures by type |
| Build permission presets |
| Build alias path for liquidity pools |
Utilities (no API key needed)
Tool | Description |
| Convert between ETH (0x) and BitBadges (bb1) formats |
| Check if address is valid and detect chain type |
| Get token symbol, denom, decimals, backing address |
| Get current time with optional offsets |
Knowledge (no API key needed)
Tool | Description |
| Get detailed instructions for a specific skill |
| Search docs, learnings, recipes, error patterns |
| Diagnose transaction errors and suggest fixes |
| Fetch live documentation from docs.bitbadges.io |
Query Tools (require API key)
Tool | Description |
| Fetch collection details with field filtering |
| Check token balance for an address |
| Dry-run transaction for validity and gas estimation |
| Verify if address meets AND/OR/NOT ownership requirements |
| Search collections, accounts, and tokens |
| Search claim plugins or fetch by ID |
| Query and produce structured collection analysis |
| Auto-query collection and build MsgTransferTokens |
| Build dynamic store operations (create, update, set values) |
| Query dynamic store values and metadata |
Resources
The MCP server exposes these resources that clients can read for context:
Resource URI | Description |
| Critical rules for building transactions |
| Token registry (symbol, denom, decimals) |
| All skill instructions |
| Conceptual documentation |
| Example transactions and patterns |
| Code recipes and decision matrices |
| Known gotchas, tips, and discoveries |
| Error patterns and diagnostics |
| Step-by-step workflow chains |
| Token builder schema reference |
| Reference frontend patterns |
Skills
Skills are detailed instruction sets loaded on-demand via get_skill_instructions(skillId):
Skill ID | Description |
| IBC-backed smart token with 1:1 backing |
| ERC-20 style fungible token |
| NFT collection design and minting |
| Time-dependent subscription token |
| Token-gated API access (HTTP 402 pattern) |
| AI agent as criteria verifier |
| Minting strategies (public, manager, pricing) |
| Custom 2FA requirements |
| Lock permissions and immutability patterns |
| Swappable tokens and trading |
| Payment and pricing mechanisms |
| Verified credential gates |
| Marketplace trading configuration |
| On-chain address list collections |
Supported Tokens
Symbol | IBC Denom | Decimals |
BADGE | ubadge (Cosmos) / abadge (EVM) | 9 / 18 |
USDC | ibc/F082B65... | 6 |
ATOM | ibc/A4DB47... | 6 |
OSMO | ibc/ED07A3... | 6 |
Signing & Broadcasting (Your Responsibility)
This MCP server returns unsigned transaction JSON. To submit on-chain:
Browser (EVM wallet like MetaMask):
Call EVM precompiles using ethers.js / viem with the transaction data
Browser (Cosmos wallet like Keplr):
Use Keplr's
signDirectwith the transaction's SignDoc
Server-side (SDK):
import { GenericEvmAdapter, GenericCosmosAdapter } from 'bitbadgesjs-sdk';
// EVM path (recommended for server-side)
const adapter = GenericEvmAdapter.fromPrivateKey(key, 'https://evm-rpc.bitbadges.io');
// Cosmos path
const adapter = GenericCosmosAdapter.fromPrivateKey(key, 'bitbadges_50024-1');
// Sign and broadcast
const result = await adapter.signAndBroadcast(messages, fee, memo);See BitBadges SDK docs for full signing documentation.
Related Tools
Tool | Install | Description |
BitBadges MCP (this) |
| AI-powered collection builder, auditor, and explainer |
BitBadges SDK |
| TypeScript SDK for API, signing, address conversion |
BitBadges API | REST API for querying collections, balances, ownership | |
BitBadges Docs | Full documentation | |
BitBadges Explorer | On-chain explorer |
Local Development
git clone https://github.com/bitbadges/bitbadges-builder-mcp.git
cd bitbadges-builder-mcp
npm install
npm run build
npm run dev # Run with tsx (hot reload)
npm test # Run testsLicense
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/BitBadges/bitbadges-builder-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server