Skip to main content
Glama

xendit-mcp

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

Servidor del Protocolo de Contexto de Modelo (MCP) para la API de pagos de Xendit. Admite facturas, desembolsos, saldos y transacciones en Indonesia, Filipinas, Tailandia, Vietnam y Malasia.

Instalación

npm install -g xendit-mcp

O ejecútalo bajo demanda con npx xendit-mcp.

Related MCP server: rippr

Configuración

  1. Regístrate en el Panel de control de Xendit.

  2. Ve a Ajustes → Claves API y genera una clave.

  3. Usa una clave de prueba (xnd_development_...) para el desarrollo o una clave real para producción.

Variable

Requerido

Descripción

XENDIT_API_KEY

sí

Clave API de prueba o real

XENDIT_ENABLE_DISBURSEMENTS

no

Establécelo en true para habilitar las herramientas de desembolso (movimiento de dinero). Deshabilitado por defecto.

XENDIT_ALLOW_LIVE

no

Establécelo en true para permitir claves reales/de producción (prefijos xnd_production_, iluma_production_, sk_live_). Rechazado por defecto.

Claude Desktop

Edita 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

Añádelo a ~/.cursor/mcp.json con la misma estructura que Claude Desktop.

Herramientas

Herramienta

Descripción

get_balance

Saldo de la cuenta por tipo (CASH, HOLDING, TAX).

list_invoices

Lista de facturas filtradas por estado, rango de fechas o divisa.

get_invoice

Recuperar una factura individual.

create_invoice

Crear una factura de pago y devolver un enlace de pago.

expire_invoice

Expirar una factura activa.

list_transactions

Listar pagos, desembolsos, reembolsos y comisiones.

create_disbursement

Enviar fondos a una cuenta bancaria o monedero electrónico. Deshabilitado a menos que XENDIT_ENABLE_DISBURSEMENTS=true.

get_disbursement

Comprobar el estado del desembolso. Deshabilitado a menos que XENDIT_ENABLE_DISBURSEMENTS=true.

list_disbursement_banks

Listar bancos y monederos electrónicos admitidos por país. Deshabilitado a menos que XENDIT_ENABLE_DISBURSEMENTS=true.

Prompts

Prompt

Descripción

check_balance

Informar del saldo de la cuenta.

recent_payments

Pagos recibidos en los últimos N días.

create_payment_link

Generar un enlace de pago para un cliente.

unpaid_invoices

Listar facturas pendientes.

daily_summary

Actividad de pagos de hoy.

Recursos

Recurso

URI

Descripción

Bancos admitidos

xendit://banks

Códigos bancarios para Indonesia y Filipinas.

Información de la API

xendit://info

Detalles de la API de Xendit y límites de tasa.

Consultas de ejemplo

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.

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

Entornos

Xendit emite claves API de prueba y reales por separado. Las claves de prueba operan contra el entorno sandbox de Xendit, por lo que no se mueve dinero real. Las claves reales (xnd_production_..., iluma_production_..., sk_live_...) operan contra producción.

Seguridad

Este servidor puede mover dinero real a través de la API de Xendit. Salvaguardas clave:

  • Las herramientas de desembolso están deshabilitadas por defecto. create_disbursement, get_disbursement y list_disbursement_banks solo se registran cuando XENDIT_ENABLE_DISBURSEMENTS=true. Habilítalas solo en contextos de agentes de confianza donde las entradas de las herramientas no puedan ser influenciadas por contenido no confiable.

  • Las claves reales se rechazan por defecto. Las claves con los prefijos xnd_production_, iluma_production_ o sk_live_ se rechazan al inicio a menos que XENDIT_ALLOW_LIVE=true. Prueba siempre primero con una clave de desarrollo (xnd_development_...).

  • Idempotencia. create_disbursement utiliza tu externalId como Idempotency-Key, por lo que los reintentos con el mismo externalId no crearán transferencias duplicadas. Usa un externalId nuevo para cada desembolso.

Incluso con estas puertas activadas, revisa cualquier solicitud de movimiento de dinero antes de aprobar la llamada a la herramienta. Trata las entradas de las herramientas derivadas de la salida del modelo como no confiables.

Este es un servidor MCP no oficial, creado por la comunidad. No está afiliado, respaldado ni patrocinado por Xendit. Xendit es una marca comercial de sus respectivos propietarios. Úsalo bajo tu propia responsabilidad. El autor no acepta ninguna responsabilidad por los fondos perdidos debido al mal uso, inyección de prompts o errores.

Licencia

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