
A Model Context Protocol (MCP) server that provides Bitcoin tools for AI applications like Claude Desktop and Cursor, allowing them to interact with the Bitcoin Network and manage wallet operations.
The Bitcoin MCP server extends any MCP client's capabilities by providing tools to do anything with Bitcoin:
- Create and restore Bitcoin and Ark wallets
- Send Bitcoin and Ark transactions
- Retrieve Bitcoin and Ark wallet balances
- Real-time Bitcoin price conversion
- Cache-optimized price fetching via blockchain.info
- Strongly typed wallet operations
- Comprehensive error handling and fallbacks
- Schema validation with Zod
- Integration with
@arklabs/wallet-sdk
Create or restore a Bitcoin wallet:
{
action: "create" | "restore",
privateKey?: string,
network?: "bitcoin" | "testnet" | "signet" | "mutinynet",
arkServerUrl?: string,
esploraUrl?: string
}Get the current wallet status and initialization state.
Get all wallet addresses.
Get wallet balance with optional fiat conversion.
Send Bitcoin to an address:
{
address: string,
amount: number, // in satoshis
feeRate?: number // optional fee rate
}This project uses:
- pnpm - Package manager
- Vite - Build system
- Vitest - Testing framework
- TypeScript - Language
- Zod - Schema validation
- Install dependencies:
pnpm install- Run tests:
pnpm test- Build the project:
pnpm buildMIT License