Skip to main content
Glama

xendit-mcp

npm version npm downloads MCP Badge xendit-mcp MCP server License: MIT

Xendit決済API用のModel Context Protocolサーバーです。インドネシア、フィリピン、タイ、ベトナム、マレーシアにおける請求書、送金、残高、取引をサポートしています。

インストール

npm install -g xendit-mcp

または、npx xendit-mcpを使用してオンデマンドで実行してください。

Related MCP server: rakuten-mcp

設定

  1. Xenditダッシュボードでサインアップします。

  2. 「設定」→「APIキー」に移動し、キーを生成します。

  3. 開発にはテストキー(xnd_development_...)、本番環境にはライブキーを使用してください。

変数

必須

説明

XENDIT_API_KEY

はい

テストまたは本番用APIキー

XENDIT_ENABLE_DISBURSEMENTS

いいえ

送金ツール(資金移動)を有効にするには true に設定します。デフォルトでは無効です。

XENDIT_ALLOW_LIVE

いいえ

ライブ/本番キー(xnd_production_、iluma_production_、sk_live_ で始まるもの)を許可するには true に設定します。デフォルトでは拒否されます。

Claude Desktop

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

Claude Desktopと同じ形式で ~/.cursor/mcp.json に追加してください。

ツール

ツール

説明

get_balance

タイプ別(CASH、HOLDING、TAX)の口座残高を取得します。

list_invoices

ステータス、日付範囲、または通貨でフィルタリングされた請求書リストを取得します。

get_invoice

単一の請求書を取得します。

create_invoice

支払い請求書を作成し、支払いリンクを返します。

expire_invoice

有効な請求書を期限切れにします。

list_transactions

支払い、送金、返金、手数料のリストを取得します。

create_disbursement

銀行口座または電子マネーに資金を送金します。 XENDIT_ENABLE_DISBURSEMENTS=true の場合のみ有効です。

get_disbursement

送金ステータスを確認します。 XENDIT_ENABLE_DISBURSEMENTS=true の場合のみ有効です。

list_disbursement_banks

国別の対応銀行および電子マネーのリストを取得します。 XENDIT_ENABLE_DISBURSEMENTS=true の場合のみ有効です。

プロンプト

プロンプト

説明

check_balance

口座残高を報告します。

recent_payments

過去N日間に受け取った支払い。

create_payment_link

顧客向けの支払いリンクを生成します。

unpaid_invoices

未払いの請求書をリストアップします。

daily_summary

今日の支払いアクティビティ。

リソース

リソース

URI

説明

対応銀行

xendit://banks

インドネシアおよびフィリピンの銀行コード。

API情報

xendit://info

Xendit APIの詳細およびレート制限。

クエリ例

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.

XENDIT_ENABLE_DISBURSEMENTS=true の場合:

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.

環境

Xenditは、テスト用と本番用のAPIキーを個別に発行します。テストキーはXenditサンドボックスに対して動作するため、実際の資金は移動しません。ライブキー(xnd_production_...、iluma_production_...、sk_live_...)は本番環境に対して動作します。

安全性

このサーバーはXendit APIを通じて実際の資金を移動させる可能性があります。主な安全対策は以下の通りです:

  • 送金ツールはデフォルトで無効になっています。 create_disbursement、get_disbursement、および list_disbursement_banks は、XENDIT_ENABLE_DISBURSEMENTS=true の場合にのみ登録されます。信頼できないコンテンツによってツールへの入力が影響を受ける可能性のある環境では、これらを有効にしないでください。

  • ライブキーはデフォルトで拒否されます。 xnd_production_、iluma_production_、または sk_live_ で始まるキーは、XENDIT_ALLOW_LIVE=true でない限り起動時に拒否されます。必ず最初に開発用キー(xnd_development_...)でテストしてください。

  • 冪等性(Idempotency)。 create_disbursement は externalId を Idempotency-Key として使用するため、同じ externalId で再試行しても重複した送金は作成されません。新しい送金ごとに新しい externalId を使用してください。

これらの制限がある場合でも、ツール呼び出しを承認する前に、資金移動のリクエストを必ず確認してください。モデルの出力から得られたツールへの入力は、信頼できないものとして扱ってください。

免責事項

これは非公式のコミュニティ製MCPサーバーです。Xenditとは提携、推奨、後援されていません。Xenditは各所有者の商標です。自己責任で使用してください。著者は、誤用、プロンプトインジェクション、またはバグによって失われた資金について一切の責任を負いません。

ライセンス

MIT

Available Tools

6 tools
get_balanceA
Read-only

Get your Xendit account balance. Returns available balance by account type (CASH, HOLDING, TAX).

Inputs: currency, accountType.

get_invoiceA
Read-only

Get details of a specific Xendit invoice by ID.

Inputs: invoiceId (required).

get_workspace_modeWorkspace ModeA
Read-only

Explain the current Xendit MCP mode, what actions are enabled, and the safest next step to enable more access.

Inputs: no named parameters.

guided_setupGuided SetupA
Read-only

Generate a safe Claude Code or Claude Desktop setup snippet for read-only, invoices, or guarded payouts mode. Uses a form when the client supports MCP elicitation.

Inputs: mode, client, allowLive, serverName, +3 more.

list_invoicesA
Read-only

List invoices from your Xendit account with optional filters for status, date range, and pagination.

Inputs: limit, status, currency, createdAfter, +1 more.

list_transactionsA
Read-only

List transactions from your Xendit account. Includes payments received, payouts, refunds, transfers, and balance adjustments.

Inputs: limit, types, status, currency, +2 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: balance retrieval, invoice details, workspace mode explanation, setup snippet generation, and listing of invoices and transactions. No overlap between tools.

    Naming Consistency4/5

    Most tools follow a verb_noun pattern using snake_case (e.g., get_balance, list_invoices). The only minor deviation is 'guided_setup' which is adjective_noun, but it remains clear and consistent with the overall style.

    Tool Count5/5

    Six tools is well-scoped for a payment service MCP server covering essential read operations, account balance, and setup guidance. It's neither too few nor too many.

    Completeness2/5

    The tool surface is limited to read and setup operations, missing write capabilities like create/update/delete invoices or payouts. This creates notable gaps for a payment API, restricting agents to passive data retrieval.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Extract YouTube transcripts for AI agents, RAG pipelines, and LLM workflows. Supports any YouTube URL. Returns clean text or timestamped segments. No API keys required.
      1
      4
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server for Paper.id Indonesian invoicing and accounting platform, providing 31 tools for partner and invoice management, QRIS payments, and reporting with automatic token refresh.
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      MCP server for VNPay payment gateway (Vietnam). Supports payment URL generation, transaction queries, refunds, tokenized payments, and IPN verification with HMAC-SHA512 signing.
      8
      10 npm
      MIT