Xendit MCP Server

MCP server for Xendit payment APIs. Invoices, disbursements, balances, and transactions for Southeast Asia.

Local serverstdioGo

What is the Xendit MCP MCP server?

MCP server for Xendit payment APIs. Invoices, disbursements, balances, and transactions for Southeast Asia. That is what the xendit mcp mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.

The short version

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

The tools it exposes

The server publishes 14 tools. What each one is for:

  • get_workspace_mode — Explain which Xendit mode is active, what is enabled, and the safest next step to unlock more features
  • guided_setup — Generate a Claude Code or Claude Desktop config snippet for read-only, invoices, or guarded-payouts
  • get_balance — Account balance by type (CASH, HOLDING, TAX)
  • list_invoices — List invoices filtered by status, date range, or currency
  • get_invoice — Retrieve a single invoice
  • create_invoice — Create a payment invoice and return a payment link. Disabled unless XENDIT_ENABLE_INVOICE_MUTATIONS=true
  • expire_invoice — Expire an active invoice. Disabled unless XENDIT_ENABLE_INVOICE_MUTATIONS=true
  • list_transactions — List payments, payouts, refunds, transfers, and balance adjustments
  • prepare_disbursement — Stage a money-out call and return a short-lived confirmation token. Disabled unless XENDIT_ENABLE_DISBURSEMENTS=true.
  • confirm_disbursement — Execute a previously prepared money-out token. Requires approvalCode. Disabled unless XENDIT_ENABLE_DISBURSEMENTS=true.
  • cancel_disbursement — Cancel a prepared money-out token. Disabled unless XENDIT_ENABLE_DISBURSEMENTS=true.
  • create_disbursement — Legacy one-shot payout/disbursement. Requires approvalCode and explicit legacy opt-in. **Disabled unless both XENDIT_ENABLE_DISBURSEMENTS=true and

Getting it running

The server ships on npm as xendit-mcp, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

What it needs from you

Configuration is passed through the environment: XENDIT_API_KEY. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

How it compares

Among the payments and commerce options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Xendit MCP's toolset — get_workspace_mode, guided_setup, get_balance and 11 more — is a fair guide to whether it matches your workflow. It is maintained by mrslbt; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Xendit MCP's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Xendit MCP.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
get_workspace_modeExplain which Xendit mode is active, what is enabled, and the safest next step to unlock more features.
guided_setupGenerate a Claude Code or Claude Desktop config snippet for read-only, invoices, or guarded-payouts.
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. Disabled unless XENDIT_ENABLE_INVOICE_MUTATIONS=true.
expire_invoiceExpire an active invoice. Disabled unless XENDIT_ENABLE_INVOICE_MUTATIONS=true.
list_transactionsList payments, payouts, refunds, transfers, and balance adjustments.
prepare_disbursementStage a money-out call and return a short-lived confirmation token. **Disabled unless XENDIT_ENABLE_DISBURSEMENTS=true.**
confirm_disbursementExecute a previously prepared money-out token. Requires approvalCode. **Disabled unless XENDIT_ENABLE_DISBURSEMENTS=true.**
cancel_disbursementCancel a prepared money-out token. **Disabled unless XENDIT_ENABLE_DISBURSEMENTS=true.**
create_disbursementLegacy one-shot payout/disbursement. Requires approvalCode and explicit legacy opt-in. **Disabled unless both XENDIT_ENABLE_DISBURSEMENTS=true and XENDIT_ENABLE_LEGACY_ONE_SHOT_DISBURSEMENT=true.**
get_disbursementCheck payout/disbursement status. **Disabled unless XENDIT_ENABLE_DISBURSEMENTS=true.**
list_disbursement_banksList payout channels such as ID_BCA and PH_BPI. **Disabled unless XENDIT_ENABLE_DISBURSEMENTS=true.**

How to install the Xendit MCP MCP server

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

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
XENDIT_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use Xendit MCP to get workspace mode.
  • Use Xendit MCP to guided setup.
  • Use Xendit MCP to get balance.

Frequently asked questions

It connects Xendit MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 14 tools (get_workspace_mode, guided_setup, get_balance, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Xendit MCP directly.