BCH MCP Server
Enables comprehensive Bitcoin Cash (BCH) wallet and asset management, including balance checks, sending transactions, managing CashTokens (genesis, minting, and burning), and creating escrow smart contracts.
Click 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., "@BCH MCP Servercheck my wallet balance and show my recent transaction history"
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.
BCH MCP Server
A comprehensive Bitcoin Cash (BCH) MCP server powered by mainnet-js. Provides wallet management, balance checking, sending BCH, CashTokens (genesis, minting, burning, sending), escrow contracts, QR codes, and transaction utilities.
๐ Live Server
Production URL: https://mcp.cashlabs.dev/mcp
Endpoint | URL |
MCP Endpoint |
|
Health Check |
|
Server Info |
|
MCP Card |
|
MCP Client Configuration
{
"mcpServers": {
"bch-mcp": {
"url": "https://mcp.cashlabs.dev/mcp"
}
}
}Related MCP server: BNB Chain MCP
๐ Available Tools (40+)
๐ Wallet Management
Tool | Description | Example Input |
| Create a new random wallet |
|
| Get wallet info from walletId |
|
| Restore wallet from mnemonic |
|
| Restore wallet from WIF private key |
|
| Create watch-only wallet |
|
| Get deposit addresses |
|
| Get public key and hash |
|
๐ฐ Balance & UTXOs
Tool | Description | Example Input |
| Get wallet balance |
|
| Get unspent transaction outputs |
|
| Get max sendable amount |
|
๐ค Sending Transactions
Tool | Description | Example Input |
| Send BCH to addresses |
|
| Send all funds to address |
|
| Send with OP_RETURN data |
|
| Build tx without broadcasting |
|
| Broadcast signed tx hex |
|
๐ History & Blockchain
Tool | Description | Example Input |
| Get transaction history |
|
| Get raw tx history |
|
| Get current block height |
|
| Decode tx by hash/hex |
|
๐ช CashTokens (Fungible & NFT)
Tool | Description | Example Input |
| Create new token category |
|
| Send tokens |
|
| Mint new NFT tokens |
|
| Burn tokens |
|
| Get token balance |
|
| Get all FT balances |
|
| Get NFT count |
|
| Get all NFT balances |
|
| Get token UTXOs |
|
| Get token deposit address |
|
๐ Escrow Contracts
Tool | Description | Example Input |
| Create escrow contract |
|
| Get escrow balance |
|
| Release to seller |
|
| Refund to buyer |
|
โ๏ธ Signing & Verification
Tool | Description | Example Input |
| Sign message with wallet |
|
| Verify message signature |
|
๐ฑ Price & Conversion
Tool | Description | Example Input |
| Get current BCH/USD price |
|
| Convert BCH/SAT/USD |
|
๐ ๏ธ Utilities
Tool | Description | Example Input |
| Generate QR code for address |
|
| Validate BCH address |
|
| Wait for incoming tx |
|
| Wait for target balance |
|
๐งช Testnet
Tool | Description | Example Input |
| Get free testnet coins |
|
| Return coins to faucet |
|
๐ MCP Resources (21 Documentation Guides)
Agents can fetch documentation resources for context:
Core Guides
Resource URI | Description |
| BCH MCP Server overview and quick start |
| Wallet management - create, restore, watch-only |
| Sending BCH - standard, max, OP_RETURN |
| CashTokens - genesis, mint, send, burn |
| Escrow contracts for secure transactions |
| QR codes, price conversion, signing |
Reference Guides
Resource URI | Description |
| Bitcoin Cash fundamentals - units, confirmations |
| Address formats - CashAddr, token addresses |
| CashScript - escrow, multisig, covenants |
| BCMR - token metadata registries |
| Network info - mainnet, testnet, nodes |
Developer Resources
Resource URI | Description |
| Complete API reference for all tools |
| Code examples for common operations |
| Frequently asked questions |
| Tools, APIs, explorers, community |
| Security best practices |
CashScript Documentation
Resource URI | Description |
| What is CashScript - smart contract language |
| Language reference - types, operators, statements |
| Global variables - tx introspection, time locks |
| Covenants guide - restrict spending, state |
| TypeScript SDK - Contract, TransactionBuilder |
๐ Quick Start
Using the Live Server
Connect your MCP client to https://mcp.cashlabs.dev/mcp
Local Development
# Install dependencies
npm install
# Build the server
npm run build
# Start the server
npm startThe server will be available at http://localhost:8081.
Docker
# Build the image
docker build -t bch-mcp-server .
# Run the container
docker run -d -p 8081:8081 --name bch-mcp bch-mcp-server๐ Deployment to Digital Ocean
Prerequisites
A Digital Ocean Droplet (Ubuntu 22.04 recommended)
A domain name (optional, for SSL)
SSH access to your droplet
Quick Deploy
# SSH into your droplet
ssh root@your-droplet-ip
# Clone the repository
git clone https://github.com/nickthelegend/bch-mcp.git
cd bch-mcp
# Make deployment script executable and run
chmod +x run.sh
./run.shDNS Configuration
Add an A Record in your DNS provider:
Host:
mcp(or@for root)Value: Your Droplet's IP address
TTL: 300
๐ก API Endpoints
Method | Endpoint | Description |
|
| Main MCP endpoint for tool calls |
|
| Health check endpoint |
|
| Server info and endpoints |
|
| MCP server card (metadata) |
|
| MCP configuration schema |
๐ง Environment Variables
Variable | Default | Description |
|
| Server port |
|
| Enable debug logging |
|
| Node environment |
๐ Usage Examples
Create a Testnet Wallet
{
"tool": "wallet_create",
"input": { "network": "testnet", "type": "seed" }
}Get Free Testnet Coins
{
"tool": "get_testnet_satoshis",
"input": { "walletId": "wif:testnet:cNfsP..." }
}Send BCH
{
"tool": "send",
"input": {
"walletId": "wif:testnet:...",
"to": [
{ "cashaddr": "bchtest:qq...", "value": 1000, "unit": "sat" }
]
}
}Create CashToken
{
"tool": "token_genesis",
"input": {
"walletId": "wif:testnet:...",
"amount": "1000000",
"capability": "minting"
}
}Create Escrow Contract
{
"tool": "escrow_create",
"input": {
"arbiterAddr": "bchtest:qq...",
"buyerAddr": "bchtest:qq...",
"sellerAddr": "bchtest:qq...",
"amount": "50000",
"network": "testnet"
}
}๐ฆ Monitoring
# Check server health
curl https://mcp.cashlabs.dev/health
# View container logs
docker logs -f bch-mcp-server๐ Updating
# Pull latest changes
git pull
# Rebuild and restart
docker stop bch-mcp-server
docker rm bch-mcp-server
docker build -t bch-mcp-server .
docker run -d --name bch-mcp-server --network mcp-net --restart unless-stopped -e PORT=8081 bch-mcp-server๐ License
MIT
๐ค Author
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.
Related MCP Servers
- AlicenseBqualityFmaintenanceA comprehensive Model Context Protocol (MCP) server for BTCPayServer integration, providing tools for payment processing, store management, user administration, webhook handling and more with full API coverage.Last updated3193MIT
- Alicense-qualityCmaintenanceA comprehensive MCP server for interacting with the BNB Chain ecosystem, including BSC EVM operations, BNB Greenfield decentralized storage, and the Sperax Protocol. It enables users to manage wallets, execute token transactions, and handle storage buckets using natural language.Last updated2732Apache 2.0
- AlicenseAqualityDmaintenanceMCP server with 43 tools for blockchain data โ token lookups, wallet balances, live chain queries across 10+ networks, and full API documentation search.Last updated27215Apache 2.0

aibtc-mcp-serverofficial
Alicense-qualityBmaintenanceA Bitcoin-native MCP server for AI agents that provides 150+ tools for BTC and Stacks operations. Supports wallets, DeFi yield, sBTC peg, NFTs, and x402 payments.Last updated63710MIT
Related MCP Connectors
MCP server for Klever blockchain smart contract development.
Hosted AgentLux MCP server for marketplace, identity, creator, services, and social flows.
A MCP server built for developers enabling Git based project management with project and personalโฆ
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/CashLabs-Dev/bch-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server