41 releases
Uses new Rust 2024
| 0.1.0-alpha.3 | Jan 14, 2026 |
|---|---|
| 0.1.0-alpha.2 | Jan 4, 2026 |
| 0.1.0-alpha.1 | Dec 21, 2025 |
| 0.0.111 | Oct 3, 2025 |
| 0.0.71 | Jun 25, 2025 |
#24 in #brk
13KB
115 lines
brk_mcp
Model Context Protocol (MCP) server for Bitcoin on-chain data.
What It Enables
Expose BRK's REST API to AI assistants via MCP. The LLM reads the OpenAPI spec and calls any endpoint through a generic fetch tool.
Available Tools
| Tool | Description |
|---|---|
get_openapi |
Get the OpenAPI specification for all REST endpoints |
fetch |
Call any REST API endpoint by path and query |
Workflow
- LLM calls
get_openapito discover available endpoints - LLM calls
fetchwith the desired path and query parameters
Usage
let mcp = MCP::new("http://127.0.0.1:3110", openapi_json);
Integration
The MCP server is integrated into brk_server and exposed at /mcp endpoint.
Built On
brk_rmcpfor MCP protocol implementationminreqfor HTTP requests
Dependencies
~12–17MB
~218K SLoC