ZBD-MCP-Server
ZBD MCP Server
1
Github Watches
1
Github Forks
3
Github Stars
ZBD MCP Server
Add Bitcoin powers to your LLM.
Base SDK
This MCP server uses the official TypeScript SDK -- https://github.com/modelcontextprotocol/typescript-sdk
Prerequisites
- Node.js 23+ (or Bun/Deno/Anything that supports running .ts files)
- Bun (for building executables)
- ZBD API key for payment processing
ZBD Setup
Get your API key from the ZBD Developer Dashboard and put it in a new .env file under ZBD_API_KEY=XXXXXXXXXXXX (check .env.example for an example).
Once that's done run the pnpm build command and setup the MCP server on your client (e.g. Claude Desktop or Cursor).
Installing Bun
If you don't have Bun installed, you can install it using one of the following methods:
macOS and Linux
# Using curl (recommended)
curl -fsSL https://bun.sh/install | bash
# Using Homebrew
brew install oven-sh/bun/bun
# Using npm
npm install -g bun
Windows
# Using PowerShell
powershell -c "irm bun.sh/install.ps1|iex"
# Using npm
npm install -g bun
# Using Scoop
scoop install bun
Verify your installation by running:
bun --version
Installation
pnpm install
Troubleshooting
- Use
ps aux | grep mcp-zbd | grep -v grepto list all running ZBD MCP Server instances. - Use
pkill -f mcp-zbdto kill any duplicate ZBD MCP Server instances that may linger.
Project Structure
This project demonstrates a modular approach to building MCP tools:
- Each tool is defined in its own TypeScript file in the
srcdirectory - Each tool can be built into a standalone executable in the
bindirectory - The main
index.tsprovides the actual tooling implementation
Available Tools
-
ZBD (
src/zbd.ts): ZBD API for global Bitcoin Lightning payments
Creating New Tool
To create a new tool:
- Create a new TypeScript file in the
srcdirectory (e.g.,src/mytool.ts) - Use the existing tools as templates
- Add a build script to
package.json:
"build:mytool": "mkdir -p bin && bun build src/mytool.ts --compile --minify --sourcemap --outfile bin/mcp-mytool"
- Update the
build:allscript to include your new tool
Usage
Building Executables
# Build all tools
pnpm build
# Build a specific tool
pnpm build:zbd
The resulting executables will be in the bin directory and can be run directly:
./bin/mcp-zbd
Cursor Notes
When using these tools with Cursor, always use the full path to the executable:
/path/to/your/project/bin/mcp-zbd
Alternatively, you can run the TypeScript files directly with Node:
/path/to/node ~/path/to/project/src/index.ts
Testing
# Run all tests
pnpm test
# Run tests in watch mode
pnpm test:watch
# Run tests with coverage
pnpm test:coverage
ZBD.ts Tools Available
The following tools are available in the ZBD MCP Server:
-
send-lightning-payment- Send a Bitcoin Lightning Network payment to a Lightning Address using ZBD -
send-gamertag-payment- Send a Bitcoin payment to a ZBD Gamertag -
create-gamertag-charge- Generate a payment request for a ZBD User -
validate-lightning-address- Verify the validity of a Lightning Address -
create-lightning-charge- Generate a payment request for a Lightning Address -
get-userid-by-gamertag- Retrieve User ID from a ZBD Gamertag -
get-gamertag-by-userid- Retrieve ZBD Gamertag from a User ID -
send-email-payment- Send instant Bitcoin payments to any email -
get-wallet-info- Retrieve all data about a ZBD Project's Wallet -
check-supported-region- Verify if a user is coming from a supported region -
get-zbd-ip-addresses- Get the official IP addresses of ZBD servers -
internal-transfer- Performs a transfer of funds between two Projects -
create-withdrawal-request- Create a Bitcoin withdrawal QR code -
get-withdrawal-request- Retrieve all data about a single Withdrawal Request -
send-payment- Send a Bitcoin Lightning Network payment -
get-payment- Retrieve all data about a single Payment -
decode-charge- Understand the inner properties of a Charge QR code -
create-charge- Create a new Bitcoin Lightning Network charge -
get-charge- Retrieve all data about a single Charge -
create-voucher- Create a single-use ZBD Voucher that can be redeemed by any ZBD user -
get-voucher- Retrieve details about a ZBD Voucher -
redeem-voucher- Redeem a ZBD Voucher to credit your Project wallet -
revoke-voucher- Revoke a valid ZBD Voucher and reclaim the sats to your Project wallet -
send-batch-lightning-payments- Send multiple Bitcoin Lightning Network payments to Lightning Addresses in a single request
相关推荐
I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.
I find academic articles and books for research and literature reviews.
Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.
Confidential guide on numerology and astrology, based of GG33 Public information
Advanced software engineer GPT that excels through nailing the basics.
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Converts Figma frames into front-end code for various mobile frameworks.
Entdecken Sie die umfassendste und aktuellste Sammlung von MCP-Servern auf dem Markt. Dieses Repository dient als zentraler Hub und bietet einen umfangreichen Katalog von Open-Source- und Proprietary MCP-Servern mit Funktionen, Dokumentationslinks und Mitwirkenden.
Die All-in-One-Desktop & Docker-AI-Anwendung mit integriertem Lappen, AI-Agenten, No-Code-Agent Builder, MCP-Kompatibilität und vielem mehr.
Fair-Code-Workflow-Automatisierungsplattform mit nativen KI-Funktionen. Kombinieren Sie visuelles Gebäude mit benutzerdefiniertem Code, SelbstHost oder Cloud, 400+ Integrationen.
🧑🚀 全世界最好的 llm 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Zusammenfassung der weltbesten LLM -Ressourcen.
Reviews
user_a4iwoZOQ
I've been using the zbd-mcp-server by zebedeeio for a few weeks now, and I'm thoroughly impressed. The user experience is seamless, and integration with existing systems is straightforward. The documentation on the GitHub link is comprehensive and easy to follow. Highly recommend it for anyone needing a robust and efficient MCP server solution!