Maestro MCP Server
A Model Context Protocol (MCP) server for interacting with Bitcoin via the Maestro API platform. Provides tools for exploring blocks, transactions, addresses, and more on the Bitcoin blockchain.
Quick Links
- Hosted Mainnet:
https://xbt-mainnet.gomaestro-api.org/v0/mcp - Hosted Testnet4:
https://xbt-testnet.gomaestro-api.org/v0/mcp - API Key Required: Get your Maestro API key
- Client Examples: maestro-mcp-client-examples
Getting Started
Requirements
- Bun v1.0 or higher
Installation & Setup
# Install dependencies
bun install
# Build the project
bun run build
# Copy and edit environment variables
cp .env.example .env
# Edit .env to add your Maestro API key and any other config
Running the Server
bun run start:http
- The server will start on the port specified in your
.env(default: 3000). - Access the MCP endpoint at
http://localhost:<PORT>/mcp.
Features
- 🚀 Streamable HTTP MCP server (spec)
- 🔑 API Key authentication (see
.env.example) - 📦 Multiple APIs:
- Blockchain Indexer
- Mempool Monitoring
- Market Price
- Wallet
- Node RPC
- 🌐 Supported Networks:
- Mainnet:
API_BASE_URL=https://xbt-mainnet.gomaestro-api.org/v0 - Testnet4:
API_BASE_URL=https://xbt-testnet.gomaestro-api.org/v0
- Mainnet:
API Reference & Examples
Server Generation
This server is generated using openapi-mcp-generator:
npx openapi-mcp-generator --input openapi-merged.json --output ./ --force --transport streamable-http --port 3000
Contributing & Development
Contributions and feature requests are welcome! Please:
- Document your changes clearly
- Submit a pull request or open an issue
Local Development
- Use
bun run devfor hot-reloading (if configured) - Run tests with
bun test
Support
License
Recommend MCP Servers 💡
hugo-mcp
An MCP server designed to manage Hugo static sites, providing tools for environment setup, site creation, theme management, content creation, preview, build, and deployment.
translationx
An MCP server for Translationx, providing translation services.
ardecode/netbox-mcp-server
A Model Context Protocol (MCP) server that connects to NetBox and exposes network infrastructure data for use with Claude and other MCP-compatible LLMs
shadow-cljs-mcp
An MCP server that monitors shadow-cljs builds and provides real-time build status updates, allowing LLMs to verify build status after making changes to ClojureScript files.
optuna/optuna-mcp
An MCP server for Optuna, enabling LLM control and interactive optimization of hyperparameter search.
CaptainCrouton89/alaria-wiki-mcp
An MCP server boilerplate for storing and retrieving information using vector embeddings, integrating with AI assistants like Claude for a personal knowledge base or semantic search.