bitcoin-mcp

bitcoin-mcp

0

The Bitcoin MCP Server is a Go-based service facilitating interaction with Bitcoin nodes via a comprehensive RPC interface organized in logical categories, leveraging the Model Context Protocol. It ensures secure and documented access to blockchain, mempool, and UTXO operations.

Bitcoin MCP Server

A Go-based service for interacting with a Bitcoin node using the Model Context Protocol (MCP). Key features include:

  • Comprehensive Bitcoin RPC interface using MCP
  • Organized by functional categories like blockchain and UTXO operations
  • Secure authentication and error handling
  • Well-documented API

Prerequisites

  • Go 1.24 or later
  • Bitcoin Core node with RPC enabled

Installation

  1. Clone the repository and install dependencies.
  2. Build the server with Go.

Configuration

Create a configuration file (config.json) with Bitcoin RPC and server details.

Running the Server

Start Bitcoin Core node with RPC enabled and run the MCP server using the configuration file or environment variables.

API Usage

The server provides a RESTful API to access Bitcoin RPC commands such as getting blockchain or mempool information.