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: rippr

設定

  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).

ParametersJSON Schema
NameRequiredDescriptionDefault
currencyNoCurrency code (e.g., IDR, PHP). Defaults to your account's primary currency.
accountTypeNoAccount type to checkCASH

TDQS

A4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations declare readOnlyHint=true, and the description adds that the tool returns available balance by account type, which is consistent and adds value beyond annotations. No contradiction.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two concise sentences, front-loaded with the purpose, with no extraneous information. Every word is justified.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Adequate for a simple read tool with full schema and annotations. However, the lack of output schema means the description could add return format details, but it is sufficient.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description does not add new parameter-level details beyond what the schema already provides (e.g., default currency, account type enum).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states verb 'Get' and resource 'Xendit account balance', and specifies return by account types (CASH, HOLDING, TAX). This distinguishes it from sibling tools like get_invoice or list_transactions.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit guidance on when to use versus alternatives or when not to use. The purpose is clear, but the description lacks explicit context for selection among siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_invoiceA
Read-only

Get details of a specific Xendit invoice by ID.

ParametersJSON Schema
NameRequiredDescriptionDefault
invoiceIdYesXendit invoice ID

TDQS

A3.9/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already provide readOnlyHint=true. Description adds minimal behavioral context beyond stating it returns 'details'. No mention of error behavior or what details include.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Single sentence, front-loaded with key information, no redundant words. Efficient and to the point.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple get-by-id operation with one required parameter and readOnlyHint, the description is complete. No output schema is expected, and sibling tools don't require additional context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description for invoiceId is clear ('Xendit invoice ID'). Description does not add further semantics beyond the schema. With 100% schema coverage, baseline of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states 'Get details of a specific Xendit invoice by ID' with a specific verb and resource. It distinguishes from siblings like list_invoices which lists multiple invoices.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit when-to-use or alternatives are mentioned. Usage is implied for retrieving a single invoice by ID, but no guidance is given for scenarios like missing invoice or comparison with list_invoices.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description adds significant behavioral context beyond the readOnlyHint annotation: it discloses that the tool explains the mode, actions enabled, and a recommended next step. This aligns with the annotation and provides useful transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single concise sentence that clearly states the tool's purpose and outputs. Every part is necessary and front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has no parameters, is read-only, and no output schema, the description sufficiently covers what the tool does and what it returns. No additional context is needed for correct usage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With zero parameters, the description does not need to add parameter details. The baseline for 0 params is 4, and the description fulfills it by explaining what the tool does without needing parameter input.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description explicitly states the tool explains the current Xendit MCP mode, actions enabled, and next step for more access. This is a specific verb+resource that distinguishes it from sibling tools like get_balance or get_invoice which deal with different resources.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description clearly implies the usage context: when you need to understand the current mode and possible next steps. However, it does not explicitly state when not to use or mention alternatives, though given the unique purpose, this is a minor gap.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
modeNoDesired user-facing mode
clientNoTarget client
allowLiveNoSet true only if you intend to use a live Xendit key
serverNameNoClaude MCP server name, defaults to xendit
maxDailyAmountNoOnly used for guarded-payouts mode
allowedAccountsNoComma-separated CHANNEL_CODE:ACCOUNT_NUMBER entries for guarded-payouts mode
maxDisbursementAmountNoOnly used for guarded-payouts mode

TDQS

A3.8/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations declare readOnlyHint=true, so the agent knows this is a safe read operation. Description adds that the snippet is 'safe' and mentions form elicitation, but doesn't add substantive behavioral traits beyond what annotations provide.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences that front-load the purpose. No redundant information; every word earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 7 parameters (0 required), two enums, and no output schema, the description covers the core functionality. Could mention output format or more about allowLive context, but siblings are all queries so the role is clear.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% (all parameters documented in schema). Description does not add additional meaning beyond schema, so baseline is 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Clearly states it generates a safe setup snippet for three specific modes (read-only, invoices, guarded-payouts). Distinct from sibling tools which are all retrieval/query tools, so no ambiguity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides context about generating snippets and using forms when client supports MCP elicitation, but does not explicitly state when to use this tool versus alternatives or mention when not to use it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_invoicesA
Read-only

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

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoNumber of invoices to return (1-100)
statusNoFilter by invoice status
currencyNoFilter by currency (IDR, PHP, etc.)
createdAfterNoReturn invoices created after this ISO 8601 timestamp. Must be used with createdBefore.
createdBeforeNoReturn invoices created before this ISO 8601 timestamp. Must be used with createdAfter.

TDQS

A3.6/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, and description confirms read-only listing. Adds filter context but does not explain pagination mechanics or result set behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Single sentence, 16 words, no redundant information. Front-loaded with verb and resource.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers basic listing and filters. Missing details on pagination and return format, but for a simple tool with no output schema, it is sufficiently complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with descriptions for all 5 parameters. Description groups filters but adds no extra meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Clearly states it lists invoices from Xendit account with optional filters, distinguishing it from sibling get_invoice (single invoice) and list_transactions (different resource).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Lacks explicit guidance on when to use this tool versus alternatives like get_invoice or list_transactions. No exclusions or when-not-to-use context provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_transactionsA
Read-only

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

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoNumber of transactions (1-50)
typesNoFilter by transaction type
statusNoFilter by transaction status
currencyNoFilter by currency
createdGteNoCreated on or after (ISO 8601)
createdLteNoCreated on or before (ISO 8601)

TDQS

A3.7/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations indicate read-only, which aligns with the description. However, the description adds no further behavioral details such as pagination, rate limits, or potential side effects.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single sentence that is front-loaded with the main action and includes essential details without unnecessary words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers the purpose but does not describe the return format or any output schema, leaving the agent uncertain about the response structure.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the description adds no additional meaning beyond the schema. The description lists transaction types, but they are already in the enum.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'List transactions' with the resource and includes a comprehensive list of transaction types, distinguishing it from siblings like get_balance and get_invoice.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

While the description implies usage for listing multiple transactions, it lacks explicit guidance on when to use this tool versus alternatives like get_invoice for specific transactions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

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

  1. 9 tool updatesv0.2.0
    • Removedcreate_disbursement
    • Removedcreate_invoice
    • Removedexpire_invoice
    • Removedget_disbursement
    • Addedget_workspace_mode
    • Addedguided_setup
    • Removedlist_disbursement_banks
    • Changedlist_invoices2 fields changed
      • changedInput schema / properties / createdAfter / description
        Previous value: -"Return invoices created after this date (ISO 8601, e.g., 2025-01-01T00:00:00Z)"New value: +"Return invoices created after this ISO 8601 timestamp. Must be used with createdBefore."
      • changedInput schema / properties / createdBefore / description
        Previous value: -"Return invoices created before this date (ISO 8601)"New value: +"Return invoices created before this ISO 8601 timestamp. Must be used with createdAfter."
    • Changedlist_transactions3 fields changed
      • changedInput schema / properties / status / description
        Previous value: -"Filter by status"New value: +"Filter by transaction status"
      • changedInput schema / properties / status / enum
        Previous value: -[
        -  "SUCCESS",
        -  "PENDING",
        -  "FAILED",
        -  "VOIDED"
        -]New value: +[
        +  "PENDING",
        +  "SUCCESS",
        +  "FAILED",
        +  "VOIDED",
        +  "REVERSED"
        +]
      • changedInput schema / properties / types / enum
        Previous value: -[
        -  "PAYMENT",
        -  "DISBURSEMENT",
        -  "REFUND",
        -  "FEE",
        -  "ADJUSTMENT"
        -]New value: +[
        +  "ADJUSTMENT_ADD",
        +  "ADJUSTMENT_DEDUCT",
        +  "BNPL_PARTNER_SETTLEMENT_CREDIT",
        +  "BNPL_PARTNER_SETTLEMENT_DEBIT",
        +  "CASHBACK_FEE",
        +  "CASHBACK_VAT",
        +  "CHARGEBACK",
        +  "CONVERSION",
        +  "DISBURSEMENT",
        +  "FOREX_DEDUCTION",
        +  "FOREX_DEPOSIT",
        +  "IN_PERSON_PAYMENT",
        +  "LOAN_REPAYMENT",
        +  "OTHER",
        +  "PAYMENT",
        +  "REFUND",
        +  "REMITTANCE",
        +  "REMITTANCE_COLLECTION_PAYMENT",
        +  "REMITTANCE_PAYOUT",
        +  "RESERVES_HOLD",
        +  "RESERVES_RELEASE",
        +  "TOPUP",
        +  "TRANSFER_IN",
        +  "TRANSFER_OUT",
        +  "WITHDRAWAL"
        +]
  2. 9 tool updatesv1.0.0
    • First observedcreate_disbursement
    • First observedcreate_invoice
    • First observedexpire_invoice
    • First observedget_balance
    • First observedget_disbursement
    • First observedget_invoice
    • First observedlist_disbursement_banks
    • First observedlist_invoices
    • First observedlist_transactions

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 issues

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that enables interaction with Velo Payments APIs for global payment operations, automatically generated using AG2's MCP builder from the Velo Payments OpenAPI specification.
    -
  • A
    license
    A
    quality
    B
    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
  • F
    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.
    -