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
๐ 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
The server will be available at http://localhost:8081.
Docker
๐ 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
DNS 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
Get Free Testnet Coins
Send BCH
Create CashToken
Create Escrow Contract
๐ฆ Monitoring
๐ Updating
๐ License
MIT