🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@billium/mcp

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@billium/mcp

Official Billium MCP server — manage crypto invoices and webhooks from Claude, Cursor, and any MCP host.

latest
Source
npmnpm
Version
0.1.3
Version published
Weekly downloads
30
-37.5%
Maintainers
1
Weekly downloads
 
Created
Source

@billium/mcp

The official Billium MCP server — manage non-custodial crypto invoices and webhooks from any Model Context Protocol host: Claude Code, Claude Desktop, Cursor, and others.

Once connected, you can just ask:

"Create a $49.99 invoice for order #1234 and give me the checkout link." "List my last 10 invoices and tell me which are still awaiting payment." "Add a webhook to https://api.myshop.com/billium that fires on invoice.paid."

…and the agent calls Billium directly.

Requirements

  • Node.js ≥ 18
  • A Billium secret API key (sk_...) and your merchant ID (mer_...), from the dashboard under Settings → Developer → API keys.

Configuration

The server reads three environment variables:

VariableRequiredDescription
BILLIUM_API_KEYSecret API key (sk_...)
BILLIUM_MERCHANT_IDMerchant ID (mer_...)
BILLIUM_BASE_URLOverride the API base URL (self-hosted / testing)

Claude Code

claude mcp add billium \
  --env BILLIUM_API_KEY=sk_your_key \
  --env BILLIUM_MERCHANT_ID=mer_your_id \
  -- npx -y @billium/mcp

Claude Desktop / Cursor

Add to your MCP config (claude_desktop_config.json, or Cursor's mcp.json):

{
  "mcpServers": {
    "billium": {
      "command": "npx",
      "args": ["-y", "@billium/mcp"],
      "env": {
        "BILLIUM_API_KEY": "sk_your_key",
        "BILLIUM_MERCHANT_ID": "mer_your_id"
      }
    }
  }
}

Tools

23 tools across invoices, webhooks, customers, products, and wallets.

Invoices

ToolDescription
create_invoiceCreate a crypto payment invoice (auto idempotency key)
get_invoiceFetch an invoice by ID with status, payments, and timeline
list_invoicesList invoices with pagination and search
cancel_invoiceCancel an unpaid invoice

Webhooks

ToolDescription
create_webhookRegister a webhook endpoint for invoice/payment events
list_webhooksList configured webhook endpoints
update_webhookUpdate a webhook's URL, events, or settings
delete_webhookDelete a webhook endpoint
ping_webhookSend a test event to a webhook endpoint

Customers

ToolDescription
list_customersList customers with pagination and search
get_customerFetch a customer by ID
get_customer_statsRevenue and invoice stats for a customer
update_customerUpdate a customer's name/address/phone

Products

ToolDescription
create_productCreate a product for hosted checkout
get_productFetch a product by ID
list_productsList products with pagination and search
update_productUpdate a product
delete_productDelete a product

Wallets

ToolDescription
list_walletsList wallet configurations (public config only)
get_walletFetch a wallet by ID
create_walletAdd a DIRECT_WALLET (address) or XPUB_WALLET (xpub)
update_walletUpdate a wallet's config
delete_walletDelete a wallet

Security

  • Your secret key never leaves your machine — the server runs locally and talks directly to the Billium API over HTTPS.
  • Settlement is non-custodial: payments go straight to your wallet; Billium never holds funds.
  • create_invoice always sends an idempotency key (generated if you don't pass one), so a retried call never creates a duplicate invoice.

How it works

This server is a thin MCP wrapper over the @billium/node SDK, exposed over stdio. Each tool validates its input with zod and forwards it to the SDK.

License

MIT

Keywords

billium

FAQs

Package last updated on 22 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts