ZBD Payments TypeScript MCP Server is a package in the ZBD Payments TypeScript SDK repository, positioned as an MCP server for AI clients that exposes the endpoints of the ZBD Payments API as callable tools.
Purpose: to enable AI clients that support the Model Context Protocol to access ZBD payment-related APIs through tool calls, including receiving payments, making payments, wallet queries, OAuth2 user information, and more.
Main capabilities:
- Direct invocation: the MCP server can be run directly via npx; for users who already have an MCP client, it can be installed according to the client documentation, and the JSON configuration format can be found in the official instructions.
- Endpoint exposure methods: two modes are supported. One is to expose each endpoint as a tool and filter as needed; the other is to expose a set of dynamic tools for discovering and invoking API endpoints.
- Filtering: the command line supports specifying tool names via --tool, specifying resources via --resource (wildcards supported), restricting to read-only (get/list) or write operations via --operation, and supports corresponding exclusion versions (such as --no-tool).
- Dynamic mode: when using --tools=dynamic, it exposes list_api_endpoints (discover endpoints, filterable by search term), get_api_endpoint_schema (get the schema of a specified endpoint), and invoke_api_endpoint (execute any endpoint with the corresponding parameters). The official instructions note that dynamic mode can avoid loading all schemas into the context at once, but because schemas are obtained indirectly, LLMs may be more prone to errors in providing the correct properties than when tools are explicitly imported; therefore, you can choose explicit tools, dynamic tools, or both.
- Client adaptation: by specifying the client type via --client (openai-agents, claude, claude-code, cursor), the server provides more compatible tools and schemas; capabilities can also be manually enabled or disabled via --capability, including top-level-unions, valid-json, refs, unions, formats, tool-name-length=N.
- View tools: use --list to view the list of available tools, use --help for more information.
Available tools (grouped by resource):
- gamertags: create_charge_gamertags (write, generate a payment request for a ZBD user), retrieve_by_gamertag_gamertags (read, get the Gamertag from a ZBD user ID), retrieve_by_zbd_id_gamertags (read, get the ZBD user ID from a Gamertag), retrieve_payment_gamertags (read, get payment data sent to a ZBD user), send_payment_gamertags (write, send an instant Bitcoin payment to a ZBD user).
- lightning_charges: create_lightning_charges (write, start receiving instant Bitcoin payments via the ZBD API), retrieve_lightning_charges (read, get data for a single Charge).
- internal_transfer: initiate_internal_transfer (write, transfer funds between two Projects).
- lightning_address: create_charge_lightning_address (write, generate a payment request for a Lightning Address), send_payment_lightning_address (write, send an instant Bitcoin payment to any Lightning Address), validate_lightning_address (read, validate the validity of a Lightning Address).
- lightning_static_charges: create_lightning_static_charges (write, receive payments on Lightning via a static QR code), retrieve_lightning_static_charges (read, get data for a single static Charge), update_lightning_static_charges (write, modify the static Charge QR code configuration).
- vouchers: create_vouchers (write, create a Voucher), retrieve_vouchers (read, get a Voucher), redeem_vouchers (write, redeem a Voucher), revoke_vouchers (write, revoke a Voucher).
- withdrawal_requests: create_withdrawal_requests (write, start creating a Bitcoin Voucher QR code), retrieve_withdrawal_requests (read, get data for a single withdrawal request).
- lightning_payments: retrieve_lightning_payments (read, get data for a single payment), send_lightning_payments (write, start sending an instant Bitcoin payment via the ZBD API).
- wallet: retrieve_balance_wallet (read, get ZBD Project wallet data).
- utils: check_ip_support_utils (read, verify whether the user is from a supported region), decode_lightning_charge_utils (write, parse the internal attributes of a Charge QR code), list_prod_ips_utils (read, get the official IP addresses of ZBD servers), retrieve_btc_usd_utils (read, get the latest Bitcoin-to-USD price).
- oauth2: create_authorization_url_oauth2 (read, create a ZBD Login authorization URL), refresh_token_oauth2 (write, generate a new accessToken for a ZBD Login user), retrieve_user_data_oauth2 (read, get information related to a logged-in ZBD user), retrieve_wallet_data_oauth2 (read, get information related to a logged-in ZBD user's wallet).
- keysend_payments: send_keysend_payments (write, start sending a Keysend payment on the Lightning Network).
- email_payments: send_email_payments (write, send instant Bitcoin payments to any email address).
Usage: run directly via npx; configure in MCP clients that support configuration JSON according to the client documentation; use command-line arguments to filter tools and specify client type and capabilities; use --list to view tools and --help for more information.
Use cases: development scenarios that need to integrate ZBD payment capabilities into AI clients, control the number of exposed endpoints according to the context window, or want to let the LLM dynamically discover and call payment API endpoints.
Limitations: official materials do not provide specific information such as fees, pricing, platform support scope, or performance results; dynamic mode may be weaker than explicit tool mode in terms of parameter correctness; different clients have different capabilities for handling arbitrary tools and schemas, and adaptation via --client or --capability is required.