xendit-mcp

Xendit payment gateway for Southeast Asia. Invoices, disbursements, balance checks, and bank transfers.

xendit-mcp

MCP Badge xendit-mcp MCP server

Model Context Protocol server for the Xendit payment API. Supports invoices, disbursements, balances, and transactions across Indonesia, the Philippines, Thailand, Vietnam, and Malaysia.

Install

npm install -g xendit-mcp

Or run on demand with npx xendit-mcp.

Configuration

  1. Sign up at the Xendit Dashboard.
  2. Go to Settings → API Keys and generate a key.
  3. Use a test key (xnd_development_...) for development or a live key for production.
VariableRequiredDescription
XENDIT_API_KEYyesTest or live API key

Claude Desktop

Edit claude_desktop_config.json:

{
  "mcpServers": {
    "xendit": {
      "command": "npx",
      "args": ["-y", "xendit-mcp"],
      "env": {
        "XENDIT_API_KEY": "your-api-key"
      }
    }
  }
}

Claude Code

claude mcp add xendit -e XENDIT_API_KEY=your-api-key -- npx -y xendit-mcp

Cursor

Add to ~/.cursor/mcp.json with the same shape as Claude Desktop.

Tools

ToolDescription
get_balanceAccount balance by type (CASH, HOLDING, TAX).
list_invoicesList invoices filtered by status, date range, or currency.
get_invoiceRetrieve a single invoice.
create_invoiceCreate a payment invoice and return a payment link.
expire_invoiceExpire an active invoice.
list_transactionsList payments, disbursements, refunds, and fees.
create_disbursementSend funds to a bank account or e-wallet.
get_disbursementCheck disbursement status.
list_disbursement_banksList supported banks and e-wallets by country.

Prompts

PromptDescription
check_balanceReport account balance.
recent_paymentsPayments received in the last N days.
create_payment_linkGenerate a payment link for a customer.
unpaid_invoicesList pending invoices.
send_payoutSend funds to a bank account.
daily_summaryToday's payment activity.

Resources

ResourceURIDescription
Supported Banksxendit://banksBank codes for Indonesia and the Philippines.
API Infoxendit://infoXendit API details and rate limits.

Example queries

What's my current Xendit balance?
Saldo Xendit saya berapa?

Create an invoice for Rp 500,000 for "Website design deposit".
Buatkan invoice Rp 500.000 untuk "Deposit desain website".

Show me all unpaid invoices.
Tampilkan semua invoice yang belum dibayar.

Send Rp 1,000,000 to Ahmad at BCA.
Kirim Rp 1.000.000 ke Ahmad di BCA.

List available banks for disbursement in the Philippines.

Environments

Xendit issues separate test and live API keys. The server makes no distinction between them; it sends requests with whichever key is configured. Test keys operate against the Xendit sandbox, so no real funds move.

License

MIT

Related Servers

NotebookLM Web Importer

Import web pages and YouTube videos to NotebookLM with one click. Trusted by 200,000+ users.

Install Chrome Extension