Bitcoin MCP logo

Bitcoin MCP

by tiero

Bitcoin MCP is a Model Context Protocol server that provides Bitcoin tools for AI applications. It allows these applications to interact with the Bitcoin Network and manage wallet operations.

View on GitHub

Last updated: N/A

What is Bitcoin MCP?

The Bitcoin MCP server extends any MCP client's capabilities by providing tools to do anything with Bitcoin, including wallet creation, transaction sending, balance retrieval, and real-time price conversion.

How to use Bitcoin MCP?

The server provides several tools accessible via MCP calls, such as setup_wallet to create or restore a wallet, get_wallet_status to check wallet initialization, get_addresses to retrieve wallet addresses, get_balance to get the wallet balance, and send_bitcoin to send Bitcoin to an address. Each tool requires specific parameters as described in the documentation.

Key features of Bitcoin MCP

  • 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

  • Strongly typed wallet operations

  • Comprehensive error handling

  • Schema validation with Zod

  • Integration with @arklabs/wallet-sdk

Use cases of Bitcoin MCP

  • Integrating Bitcoin functionality into AI assistants

  • Automating Bitcoin transactions through AI

  • Building AI-powered Bitcoin trading bots

  • Managing Bitcoin wallets programmatically

  • Providing Bitcoin data to AI models

FAQ from Bitcoin MCP

What is an MCP client?

An MCP client is an application that can communicate with an MCP server using the Model Context Protocol.

What networks are supported for Bitcoin wallets?

The server supports bitcoin, testnet, signet and mutinynet networks.

What is the purpose of the arkServerUrl and esploraUrl parameters?

These parameters allow you to specify custom endpoints for Ark server and Esplora block explorer, respectively.

How is the fee rate determined for Bitcoin transactions?

The fee rate can be optionally specified in the send_bitcoin call. If not provided, the server will use a default or dynamically calculated fee rate.

What happens if an error occurs during a wallet operation?

The server provides comprehensive error handling and fallbacks to ensure the stability and reliability of wallet operations.