GitHub - maestro-org/maestro-mcp-server: Maestro MCP Server for Bitcoin (original) (raw)

CI

Maestro MCP Server

A Model Context Protocol (MCP) server for interacting with Bitcoin via the Maestro API platform. This package provides a set of tools for exploring blocks, transactions, addresses, and other aspects of the Bitcoin blockchain.

This runs as MCP Streamable HTTP server.


Installation

Requirements

Deploy

Install:

Build:

Run:

Server Generation

Generated with openapi-mcp-generator:

npx openapi-mcp-generator --input openapi-merged.json --output ./ --force --transport streamable-http --port 3000

Warning
If you build the server from scratch using the above command, you may need to update the API_KEY variable name to match the one used in the Claude config.json, as this variable can be autogenerated.

Contact support if you experience any issues.

Configure Claude (Desktop)

  1. Download Claude Desktop here.
  2. Open Claude Desktop settings
  3. Select Edit Config
  4. Open the Claude App configuration file located at:

Copy the below contents into this config file.

Local-scoped MCP

After cloning the repo, the server files are stored and sourced locally on your machine.

You will need 3 things:

  1. Absolute path to npm; ie, which npm
  2. Absolute path to maestro-mcp-server repo
  3. Maestro API key

{ "mcpServers": { "maestro-mcp-server": { "command": "/ABSOLUTE/PATH/TO/node", "args": ["/ABSOLUTE/PATH/TO/maestro-mcp-server/src/index.ts"], "env": { "MAESTRO_BASE_URL": "https://xbt-mainnet.gomaestro-api.org/v0", "MAESTRO_API_KEY": "" } } } }

Usage

  1. Launch Claude Desktop
  2. Locate the tools icon
  3. Select maestro-mcp-server
  4. View available MCP tools
  5. Prompt Claude

NOTE: You will need to approve the request within Claude.

Debugging

CLI inspector tool

Logs

tail -n 20 -f ~/Library/Logs/Claude/maestro-mcp-server.log

Supported APIs

All Maestro API specifications can be found in our Postman workspace.

Contributing

Contributions and feature requests are welcome! Please document clearly as needed. Feel free to submit a pull request or open an issue.

Support

If you are experiencing any trouble with the above, open an issue or reach out on Discord.

License

Apache 2.0