xendit-mcp
xendit-mcp
用于 Xendit 支付 API 的模型上下文协议 (MCP) 服务器。支持印度尼西亚、菲律宾、泰国、越南和马来西亚的账单、付款、余额和交易。
安装
npm install -g xendit-mcp或者使用 npx xendit-mcp 按需运行。
Related MCP server: rakuten-mcp
配置
在 Xendit 仪表板 注册。
前往“设置” → “API 密钥”并生成一个密钥。
开发环境请使用测试密钥 (
xnd_development_...),生产环境请使用正式密钥。
变量 | 必需 | 描述 |
| 是 | 测试或正式 API 密钥 |
| 否 | 设置为 |
| 否 | 设置为 |
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-mcpCursor
添加到 ~/.cursor/mcp.json,格式与 Claude Desktop 相同。
工具
工具 | 描述 |
| 按类型(CASH、HOLDING、TAX)查询账户余额。 |
| 按状态、日期范围或货币筛选账单列表。 |
| 获取单个账单详情。 |
| 创建支付账单并返回支付链接。 |
| 使有效账单过期。 |
| 列出付款、付款划转、退款和费用。 |
| 向银行账户或电子钱包发送资金。 除非设置 |
| 查询付款划转状态。 除非设置 |
| 按国家/地区列出支持的银行和电子钱包。 除非设置 |
提示词
提示词 | 描述 |
| 报告账户余额。 |
| 最近 N 天收到的付款。 |
| 为客户生成支付链接。 |
| 列出待处理的账单。 |
| 今日支付活动。 |
资源
资源 | URI | 描述 |
支持的银行 |
| 印度尼西亚和菲律宾的银行代码。 |
API 信息 |
| 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时注册。仅在受信任的代理上下文中启用它们,且确保工具输入不会受到不受信任内容的影响。默认拒绝正式密钥。 除非
XENDIT_ALLOW_LIVE=true,否则启动时会拒绝前缀为xnd_production_、iluma_production_或sk_live_的密钥。请务必先使用开发密钥 (xnd_development_...) 进行测试。幂等性。
create_disbursement使用您的externalId作为Idempotency-Key,因此使用相同externalId的重试不会创建重复的转账。每次新的付款划转请使用新的externalId。
即使有这些限制,在批准工具调用之前,请务必审查任何资金转移请求。将模型输出派生的工具输入视为不受信任的内容。
免责声明
这是一个非官方的、由社区构建的 MCP 服务器。与 Xendit 无关联、无背书或赞助。Xendit 是其各自所有者的商标。使用风险自负。作者对因误用、提示词注入或错误导致的资金损失不承担任何责任。
许可证
Available Tools
6 toolsget_balanceARead-only
Get your Xendit account balance. Returns available balance by account type (CASH, HOLDING, TAX).
Inputs: currency, accountType.
get_invoiceARead-only
Get details of a specific Xendit invoice by ID.
Inputs: invoiceId (required).
get_workspace_modeWorkspace ModeARead-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 SetupARead-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_invoicesARead-only
List invoices from your Xendit account with optional filters for status, date range, and pagination.
Inputs: limit, status, currency, createdAfter, +1 more.
list_transactionsARead-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
Scored across 6 tools
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.
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.
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.
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
Related MCP Connectors
MCP server for Modern Treasury — payment orders, transactions, counterparties and ledgers.
MCP server for Mekari Jurnal — company accounting, sales, purchases and customer/vendor creation.
MCP server for Codat — companies, connections, invoices, bills and financial statements.
MCP server for Quaderno — tax-rate calculation, invoices, contacts, products, receipts & expenses.
Related MCP Servers
- AlicenseAqualityCmaintenanceExtract YouTube transcripts for AI agents, RAG pipelines, and LLM workflows. Supports any YouTube URL. Returns clean text or timestamped segments. No API keys required.14MIT
- AlicenseAqualityCmaintenanceMCP server for Rakuten APIs. Search products, books, hotels, and rankings across Japan's largest e-commerce platform.27102 npm6MIT
- AlicenseNot gradedqualityDmaintenanceMCP 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
- AlicenseBqualityDmaintenanceMCP server for VNPay payment gateway (Vietnam). Supports payment URL generation, transaction queries, refunds, tokenized payments, and IPN verification with HMAC-SHA512 signing.810 npmMIT