Spree Commerce: open-source B2B and marketplace ecommerce
Open-source B2B and marketplace ecommerce; new stores include an MCP server for AI agents.
作者提供的说明(英文原文)
Xendit payment APIs for AI agents. Payment links, payouts, balances, and transactions.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"xendit": {
"command": "npx",
"args": [
"-y",
"xendit-mcp"
]
}
}
}在终端中运行这条命令
claude mcp add xendit -- npx -y xendit-mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"xendit": {
"command": "npx",
"args": [
"-y",
"xendit-mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"xendit": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"xendit-mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日
注册名称已通过 GitHub 账户 mrslbt 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.3.0)于3个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Spree Commerce: open-source B2B and marketplace ecommerce, Stripe MCP, MCP Cn Commerce
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Open-source B2B and marketplace ecommerce; new stores include an MCP server for AI agents.
MCP server integrating with Stripe - tools for customers, products, payments, and more.
8 read-only MCP platform entries; support is operation-specific; merchant live acceptance pending
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
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.
npm install -g xendit-mcp
Or run on demand with npx xendit-mcp.
0.2.0 introduces breaking defaults. If you were on 0.1.x and relied on invoice creation or one-shot payouts working out of the box, those tools are now disabled by default.
To restore the old behavior, set these in your MCP config env:
XENDIT_ENABLE_INVOICE_MUTATIONS=true
XENDIT_ENABLE_DISBURSEMENTS=true XENDIT_ENABLE_LEGACY_ONE_SHOT_DISBURSEMENT=true
If you enable disbursements, you must also set the four safety gates (XENDIT_MAX_DISBURSEMENT_AMOUNT, XENDIT_MAX_DAILY_AMOUNT, XENDIT_ALLOWED_ACCOUNTS, XENDIT_APPROVAL_CODE) or the server will refuse to start.
The recommended migration is to adopt the new two-step payout flow (prepare_disbursement → confirm_disbursement with an approval code) instead of re-enabling the legacy one-shot. See Safety for details.
Think about the product in 3 modes:
read-only: balances, invoices read, transactions readinvoices: read-only plus create_invoice and expire_invoiceguarded-payouts: invoices mode plus prepare_disbursement and confirm_disbursementFor non-technical users, the easiest helpers are:
npx xendit-mcp doctor
npx xendit-mcp setup
doctor prints the current mode, enabled capabilities, and what is still blocked.setup generates a Claude Code or Claude Desktop snippet for the mode you want.xnd_development_...) for development or a live key for production.| Variable | Required | Description |
|---|---|---|
XENDIT_API_KEY | yes | Test or live API key |
XENDIT_ENABLE_INVOICE_MUTATIONS | no | Set to true to enable create_invoice, expire_invoice, and the create_payment_link prompt. Disabled by default for safer read-only behavior. |
XENDIT_ENABLE_DISBURSEMENTS | no | Set to true to enable disbursement tools (money-movement). Disabled by default. |
XENDIT_ALLOW_LIVE | no | Set to true to allow live/production keys (prefixes xnd_production_, iluma_production_, sk_live_). Refused by default. |
XENDIT_MAX_DISBURSEMENT_AMOUNT | no | Hard cap for one money-out call. Set to 0 or omit to disable. |
XENDIT_MAX_DAILY_AMOUNT | no | Rolling 24-hour cap across money-out calls. Set to 0 or omit to disable. |
XENDIT_ALLOWED_ACCOUNTS | no | Comma-separated allowlist in CHANNEL_CODE:ACCOUNT_NUMBER format, e.g. ID_BCA:1234567890. |
XENDIT_PREPARE_TTL_SECONDS | no | How long a prepared disbursement token stays valid. Defaults to 300, max 86400. |
XENDIT_APPROVAL_CODE | no | Required when XENDIT_ENABLE_DISBURSEMENTS=true. Human approval code required by confirm_disbursement and legacy one-shot payouts. Keep it out of untrusted prompt context. |
XENDIT_ENABLE_LEGACY_ONE_SHOT_DISBURSEMENT | no | Set to true only if you intentionally want the old create_disbursement one-shot tool. Disabled by default. |
If you do not want to hand-edit env vars, run:
npx xendit-mcp setup
It will ask which client you use and which mode you want, then output a ready-to-paste Claude config snippet with placeholders for secrets.
If the MCP is already connected in Claude, you can also ask Claude to use:
get_workspace_modeguided_setupguided_setup uses MCP elicitation in Claude Code when available, so the user sees a form instead of raw config details.
Edit claude_desktop_config.json:
{
"mcpServers": { "xendit": { "command": "npx", "args": ["-y", "xendit-mcp"], "env": { "XENDIT_API_KEY": "your-api-key" } } } }
claude mcp add xendit --env XENDIT_API_KEY=your-api-key -- npx -y xendit-mcp
Add to ~/.cursor/mcp.json with the same shape as Claude Desktop.
| Tool | Description |
|---|---|
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 `XENDIT_ENABLE_LEGACY_ONE_SHOT_DISBURSEMENT=true`. |
get_disbursement | Check payout/disbursement status. Disabled unless `XENDIT_ENABLE_DISBURSEMENTS=true`. |
list_disbursement_banks | List payout channels such as ID_BCA and PH_BPI. Disabled unless `XENDIT_ENABLE_DISBURSEMENTS=true`. |
| Prompt | Description |
|---|---|
check_balance | Report account balance. |
recent_payments | Payments received in the last N days. |
create_payment_link | Generate a payment link for a customer. Disabled unless XENDIT_ENABLE_INVOICE_MUTATIONS=true. |
unpaid_invoices | List pending invoices. |
daily_summary | Today's payment activity. |
| Resource | URI | Description |
|---|---|---|
| Supported Banks | xendit://banks | Common payout channel aliases for Indonesia and the Philippines. |
| Setup Guide | xendit://setup | Current mode, setup commands, and plain-English mode explanations. |
| API Info | xendit://info | Xendit API overview and doc links. |
What's my current Xendit balance?
Saldo Xendit saya berapa?
With XENDIT_ENABLE_INVOICE_MUTATIONS=true: 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.
With XENDIT_ENABLE_DISBURSEMENTS=true:
Prepare a Rp 1,000,000 payout to Ahmad at BCA, then wait for my confirmation.
Siapkan payout Rp 1.000.000 ke Ahmad di BCA, lalu tunggu konfirmasi saya.
List available payout channels in the Philippines.
Xendit issues separate test and live API keys. Test keys operate against the Xendit sandbox, so no real funds move. Live keys (xnd_production_..., iluma_production_..., sk_live_...) operate against production.
This server can move real money through the Xendit API. Key safeguards:
XENDIT_ENABLE_INVOICE_MUTATIONS=true. Money-moving tools are disabled unless XENDIT_ENABLE_DISBURSEMENTS=true.xnd_production_, iluma_production_, or sk_live_ are rejected at startup unless XENDIT_ALLOW_LIVE=true. Always test with a development key (xnd_development_...) first.XENDIT_MAX_DISBURSEMENT_AMOUNT, XENDIT_MAX_DAILY_AMOUNT, XENDIT_ALLOWED_ACCOUNTS, and XENDIT_APPROVAL_CODE are configured.confirm_disbursement requires both the staged token and a separate approvalCode.create_disbursement is not even registered unless XENDIT_ENABLE_LEGACY_ONE_SHOT_DISBURSEMENT=true.XENDIT_MAX_DISBURSEMENT_AMOUNT, XENDIT_MAX_DAILY_AMOUNT, and XENDIT_ALLOWED_ACCOUNTS let you fail closed before a payout is sent.externalId as the Idempotency-Key, so safe retries do not create duplicate transfers.get_workspace_mode and guided_setup are exposed even in read-only mode so users can understand what is blocked and how to enable the next mode safely.Even with these gates on, review any money-moving request before approving the tool call. Treat tool inputs derived from model output as untrusted.
A confirmed payout does not always succeed or fail immediately. Xendit returns one of these statuses, and the terminal state may arrive seconds or minutes later:
ACCEPTED — accepted by Xendit, channel processing in progressREQUESTED — submitted to the destination channel, waiting for the channel's responseSUCCEEDED — funds deliveredFAILED — final failure (e.g. INVALID_DESTINATION, REJECTED_BY_CHANNEL, INSUFFICIENT_BALANCE)Some destinations (observed in PHP sandbox testing) sit in REQUESTED for a while before transitioning to FAILED. Always re-fetch with get_disbursement before assuming the final state. Do not treat the initial response from confirm_disbursement as proof of delivery.
0.2.0 was verified against the Xendit sandbox using IDR and PHP development keys (May 25, 2026). Verified flows:
prepare → confirm → get (IDR + PHP)INVALID_DESTINATION and REJECTED_BY_CHANNEL (PHP only — the IDR sandbox key had balance: 0, so negative IDR cases surfaced as INSUFFICIENT_BALANCE rather than destination-specific failures)Thailand, Vietnam, and Malaysia behavior is not yet verified against real sandbox keys. Behavior should be similar but cannot be claimed as tested.
Claude Code supports PreToolUse hooks that can force an extra approval dialog for sensitive tools such as confirm_disbursement. That gives you a second control outside the model context.
Example .claude/settings.json snippet:
{
"hooks": { "PreToolUse": [ { "matcher": "mcpxenditconfirm_disbursement", "hooks": [ { "type": "command", "command": "printf '%s' '{\"hookSpecificOutput\":{\"hookEventName\":\"PreToolUse\",\"permissionDecision\"
只显示了开头部分;其余内容请在仓库中阅读