Kapital Bank E-Commerce API Documentation MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Kapital Bank E-Commerce API Documentation MCP ServerShow me the POST /order endpoint spec with a Node.js code sample"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Kapital Bank E-Commerce API Documentation MCP Server
Model Context Protocol (MCP) Server for the official Kapital Bank E-commerce API Documentation built on Hono.js and Cloudflare Workers.
Custom Domain: kb.mcp.davidjs.dev
๐ฏ Overview
This MCP Server provides AI models (Claude, Cursor, Copilot, Antigravity, etc.) with authoritative knowledge and code generation capabilities for Kapital Bank's payment gateway without requiring any merchant credentials or live bank execution.
Key Capabilities
Complete Endpoint Specifications: Exact URLs, HTTP methods, headers, required/optional parameters, and request/response JSON payloads for
POST /order,POST /set-src-token,POST /set-dst-token,POST /exec-tran,POST /exec-tran(Refund & Reversal), andGET /order/{ID}.Step-by-Step Payment Flows:
Standard 1-step Purchase (
Order_SMS)2-step Preauthorization Hold & Capture (
Order_DMSAuth + Clearing)Recurring Tokenized Payments (
Order_REC,DMSN3D,srcToken)Account-to-Card Transfer (
OCT,dstToken)BirBank Taksit Installments (
TAKSIT=3,TAKSIT=6,TAKSIT=12)
Code Generation: Ready-to-copy integration code in TypeScript, Node.js, Python, PHP, and cURL.
Error Dictionary & Diagnostics: Full lookup for PMO response codes (0โ98), decline causes, and order statuses.
Official Sandbox Credentials: Test base URLs, default test login, and test credit card numbers with CVVs and exp dates.
Related MCP server: Bootpay Developer Docs MCP Server
๐ Available MCP Tools
Tool | Description |
| Base URLs (test & prod), BasicAuth header rules, test credentials |
| Complete parameter spec and payload examples for any endpoint |
| Step-by-step architecture for SMS, DMS, Recurring, OCT, and Taksit flows |
| Search knowledge base for any keyword, error code, or parameter |
| Generate ready-to-run code in TypeScript, Python, PHP, or cURL |
| Lookup PMO response code (0โ98) and error explanations |
| Get sandbox URLs and test card numbers (PAN, CVV, Exp) |
๐ Connecting to AI Clients
1. OpenAI Codex / Codex CLI
codex mcp add kapitalbank-docs --url https://kb.mcp.davidjs.dev/sseOr add to ~/.codex/config.json:
{
"mcpServers": {
"kapitalbank-docs": {
"url": "https://kb.mcp.davidjs.dev/sse"
}
}
}2. Cursor IDE (.cursor/mcp.json)
{
"mcpServers": {
"kapitalbank-docs": {
"url": "https://kb.mcp.davidjs.dev/sse"
}
}
}3. Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"kapitalbank-docs": {
"url": "https://kb.mcp.davidjs.dev/sse"
}
}
}๐ Local Development & Deploy
# Test with Bun
bun test
# Run locally
bun run dev
# Deploy to Cloudflare Workers
bun run deploy๐ License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Korea payments for AI agents โ card, KakaoPay/NaverPay, ๊ฐ์๊ณ์ข via Toss Payments. Never holds funds.
- mcpweaveOAuthcom.mcpweave
Korea-native MCP gateway: Korean commerce, payments, messaging, gov & finance APIs for AI agents.
Cross-border payment & banking intelligence for AI agents: SWIFT/BIC, IBAN, sanctions, FX, tracking.
Kazakhstan payments for AI agents โ cards (Freedom Pay) via Freedom Pay. Never holds funds.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables developers to search and access NicePay payment API documentation, including endpoint details, code samples, and SDK method information through natural language queries.4MIT
- FlicenseNot gradedqualityCmaintenanceEnables AI coding tools to search and retrieve Bootpay payment and commerce developer documentation, including integration guides and customer service manuals. It facilitates tasks such as payment linking, billing key issuance, and webhook configuration through natural language queries.2-
- AlicenseAqualityDmaintenanceEnables AI agents to integrate Midtrans payments by providing comprehensive documentation, API references, and code examples for 15+ payment methods across 5 languages. Includes tools for generating charge requests, webhook handlers, and searching documentation without requiring API keys.91MIT
- AlicenseAqualityBmaintenanceEnables MCP-compatible AI tools to create checkouts, generate KHQR codes, check/list transactions, issue refunds, create payment links, and pull exchange rates via ABA Bank's PayWay API.129 npmMIT