xendit-mcp
xendit-mcp (읽기 전용)
Xendit을 위한 최소한의 읽기 전용 MCP 서버입니다. CareNow 이슈 해결사 에이전트를 위해 구축되었으며, 결제, 지급, 환불 및 가상 계좌(VA) 거래를 조회합니다. 절대로 자금을 이동하지 않습니다.
비공식 프로젝트입니다. Xendit과 제휴하거나 보증하지 않습니다.
왜 읽기 전용인가요?
에이전트는 Xendit 측 필드의 프롬프트 인젝션을 통해서라도 create_disbursement, create_refund 또는 expire_invoice를 호출할 수 없어야 합니다. 이 서버는 GET 엔드포인트만 노출합니다. 심층 방어를 위해 *_READ 권한으로 범위가 지정된 Xendit API 키를 사용하십시오.
Related MCP server: mcp-hevo-service
설치 및 실행
복제할 필요가 없습니다. npx를 통해 GitHub에서 직접 설치하세요:
{
"mcpServers": {
"xendit": {
"command": "npx",
"args": ["-y", "github:indratjhai/xendit-mcp"],
"env": {
"XENDIT_API_KEY": "xnd_development_..."
}
}
}
}처음 실행 시 npm이 저장소를 복제하고, 종속성을 설치하며, prepare 스크립트를 통해 npm run build를 실행합니다. 그 이후에는 캐시된 설치본에서 실행됩니다.
재현성을 위해 특정 커밋을 고정하세요:
"args": ["-y", "github:indratjhai/xendit-mcp#<commit-sha>"]로컬 개발
git clone https://github.com/indratjhai/xendit-mcp.git
cd xendit-mcp
npm install
cp .env.example .env # fill in XENDIT_API_KEY
npm run devAPI 키
https://dashboard.xendit.co/settings/developers#api-keys 로 이동합니다.
읽기 전용(READ-only) 권한이 있는 키를 생성합니다:
BALANCE_READINVOICE_READTRANSACTION_READDISBURSEMENT_READREFUND_READPAYMENT_REQUEST_READ
개발 중에는
xnd_development_...테스트 키를 사용하세요.
도구
도구 | 목적 |
| 유형별 계좌 잔액 (CASH / HOLDING / TAX) |
| external_id, 상태, 날짜 범위별 필터링 |
| ID별 청구서 |
| 핵심 도구 — reference_id, 유형, 채널, 날짜별 필터링 |
| ID별 거래 |
| ID별 지급 |
| 참조 ID별 지급 |
| payment_request_id / invoice_id / reference_id별 필터링 |
| ID별 환불 |
| 새로운 결제 API — reference_id별 필터링 |
| ID별 결제 요청 |
| 가상 계좌 — 잘못된 VA 조사용 |
| payment_id별 VA 결제 |
포함되지 않은 기능 (의도적)
create_invoice,expire_invoicecreate_disbursementcreate_refundcreate_payment_request모든 POST / PATCH / DELETE
워크플로우에 변경 작업이 필요한 경우, Xendit 대시보드에서 수동으로 수행하거나 사람이 검토하는 별도의 승인 절차를 통해 수행해야 합니다. 에이전트 세션에서 직접 수행해서는 안 됩니다.
보안 참고 사항
API 키는
XENDIT_API_KEY환경 변수에서 읽어옵니다. 로그에 기록되거나 도구 출력으로 전송되지 않습니다.네트워크 송신은
https://api.xendit.co로 하드코딩되어 있으며, 다른 호스트는 허용되지 않습니다.경로 구성 요소 ID는
^[a-zA-Z0-9_-]+$에 대해 검증되고 URL 인코딩됩니다.모든 도구 입력은 zod로 검증됩니다.
런타임 종속성:
@modelcontextprotocol/sdk,zod만 사용합니다.
라이선스
MIT
Available Tools
13 toolsxendit_get_balanceA
Get Xendit account balance. Returns available balance by account type (CASH, HOLDING, TAX).
Inputs: accountType, currency.
xendit_get_disbursementA
Get disbursement status by Xendit disbursement ID. Use for refund/payout status lookups.
Inputs: disbursementId (required).
xendit_get_disbursement_by_external_idB
Look up disbursements by your external_id (usually CareNow reference). Returns array of matching disbursements.
Inputs: externalId (required).
xendit_get_fixed_vaB
Get fixed virtual account details by Xendit VA ID. Critical for Wrong VA investigations.
Inputs: vaId (required).
xendit_get_invoiceC
Get details of a specific invoice by Xendit invoice ID.
Inputs: invoiceId (required).
xendit_get_payment_requestB
Get payment request details by Xendit payment_request ID. The new Payments API replaces the legacy VA / charge flows.
Inputs: paymentRequestId (required).
xendit_get_refundC
Get refund details by Xendit refund ID.
Inputs: refundId (required).
xendit_get_transactionC
Get details of a specific transaction by Xendit transaction ID.
Inputs: transactionId (required).
xendit_get_va_paymentB
Look up a VA payment by payment_id (the ID returned in the VA paid callback).
Inputs: paymentId (required).
xendit_list_invoicesA
List invoices with optional filters. For Wrong VA / Payment Discrepancy, filter by external_id (usually the CareNow loan ID).
Inputs: externalId, status, limit, createdAfter, +2 more.
xendit_list_payment_requestsB
List payment requests with optional filters. Use reference_id for CareNow loan ID lookups.
Inputs: referenceId, paymentMethodId, customerId, limit.
xendit_list_refundsC
List refunds, optionally filtered by payment_request_id, invoice_id, or reference_id.
Inputs: paymentRequestId, invoiceId, referenceId, limit.
xendit_list_transactionsB
List transactions (payments, disbursements, fees, refunds, adjustments). Core tool for payment discrepancy and wrong VA investigations. Filter by reference_id to find a specific transaction.
Inputs: referenceId, type, status, channelCode, +4 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 13 tools
Most tools are clearly distinct by resource type (e.g., balance, disbursement, invoice, transaction) and action (get vs. list), but there is some overlap between 'xendit_get_disbursement' and 'xendit_get_disbursement_by_external_id' as both retrieve disbursements, which could cause confusion. Descriptions help clarify the distinction, but the purpose overlap exists.
All tool names follow a consistent 'xendit_verb_noun' pattern with snake_case, using 'get' for single resource retrieval and 'list' for collections. This predictable naming scheme makes it easy for agents to understand and navigate the tool set without ambiguity.
With 13 tools, the count is well-scoped for a payment processing domain, covering key resources like balance, disbursements, invoices, transactions, and refunds. Each tool serves a specific purpose, and the number is neither too sparse nor overwhelming for the server's functionality.
The tool set provides comprehensive read operations (get and list) for all major payment-related resources, which is suitable for investigation and monitoring use cases. However, there are gaps in write operations (e.g., create, update, or delete for invoices or disbursements), limiting full lifecycle coverage, though this may be intentional for the server's focus.
Related MCP Connectors
An MCP server that provides read access to your cloud storage providers, bank accounts and more.
Read-only MCP server for interior design studios: projects, overviews, weekly activity. No writes.
Read-only MCP server for ClassQuill, a tutoring-business-management platform.
Read-only MCP server for The Quiet Protocol's engines, benchmarks, proof, and business data.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceRead-only SQL Server MCP server enabling safe database queries, table listing, and schema inspection with built-in security protections.MIT
- FlicenseNot gradedqualityDmaintenanceRead-only MCP server for Hevo Data API, enabling monitoring of pipelines, objects, destinations, models, and workflows with secure self-hosted credentials.-
- FlicenseBqualityDmaintenanceA secure, read-only MCP server that enables AI assistants to inspect transactions, vendor performance, wallet balances, and analytics through validated REST API calls.19-
- AlicenseNot gradedqualityBmaintenanceA read-only MCP server for Lunch Money that provides secure, retrieval-only access to financial data through ChatGPT Business, with OAuth authentication and enforced read-only restrictions.MIT