🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@codespar/mcp-khipu

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codespar/mcp-khipu

MCP server for Khipu — Chilean instant bank-transfer payments (complement to Transbank card acquiring)

latest
npmnpm
Version
0.2.0-alpha.3
Version published
Maintainers
2
Created
Source

@codespar/mcp-khipu

MCP server for Khipu — Chilean instant bank-transfer PSP.

Khipu lets a payer pay from their Chilean bank account in real time: the merchant creates a payment, the payer is redirected to Khipu, logs into their bank, and the transfer lands instantly. No card, no credit limit, no interchange fees — the Chilean preferred rail for higher-ticket purchases.

Chilean agents typically bundle Khipu with @codespar/mcp-transbank: Webpay for cards, Khipu for bank transfers. Together they cover the vast majority of Chilean checkout preferences.

Tools (21)

ToolPurpose
create_paymentCreate a Khipu payment (bank-transfer charge).
get_paymentRetrieve a Khipu payment.
delete_paymentDelete (cancel) a pending Khipu payment.
confirm_paymentManually confirm a Khipu payment.
refund_paymentRefund a paid Khipu payment (full or partial).
list_paymentsList Khipu payments for the current merchant, optionally filtered by date range and status.
predict_paymentPredict whether a payment is likely to succeed for a given payer+amount+bank, and recommend the best bank/r...
get_merchantsList the merchant receiver accounts accessible with the current API key.
get_merchantFetch a single merchant by id.
list_merchant_accountsList the bank accounts registered for a merchant to collect into.
create_receiverCreate (onboard) a new receiver under an integrator account.
list_receiversList receivers onboarded under the current integrator account.
list_conciliationsList settlement / conciliation records for a date range.
list_reviewsList payer reviews / opinions left after a Khipu payment.
register_webhookRegister a webhook endpoint to receive Khipu notifications (payment.paid, payment.refunded, etc).
list_webhooksList registered webhook endpoints for the current merchant.
delete_webhookDelete (unregister) a webhook endpoint by id.
create_terminal_sessionCreate a Khipu terminal session for in-person / POS bank-transfer checkout.
get_terminal_sessionRetrieve the current status of a terminal (POS) session — whether the payer has scanned, paid, or the sessi...
get_banksList Chilean banks supported by Khipu for bank-transfer payments.
create_automatic_paymentCreate a Khipu automatic payment (recurring / subscription charge against a previously enrolled subscriptio...

Install

npm install @codespar/mcp-khipu@alpha

Environment

# Preferred — v3 API key auth
KHIPU_API_KEY="..."       # sent as x-api-key header

# Legacy — v2 HTTP Basic auth (only if no API key available)
KHIPU_RECEIVER_ID="..."   # merchant receiver id
KHIPU_SECRET="..."        # receiver secret

# Optional
KHIPU_BASE_URL="..."      # defaults to https://payment-api.khipu.com/v3

Authentication

Khipu v3 uses a single API key in the x-api-key header — no request signing, no HMAC. Obtain the key from the Khipu merchant panel under Developers → API keys.

If KHIPU_API_KEY is unset, the server falls back to v2 HTTP Basic with KHIPU_RECEIVER_ID:KHIPU_SECRET for merchants still on the legacy endpoints.

All request bodies are JSON (v3); the server sets Content-Type: application/json automatically.

Run

# stdio (default — for Claude Desktop, Cursor, etc)
npx @codespar/mcp-khipu

# HTTP (for server-to-server testing)
MCP_HTTP=true MCP_PORT=3000 npx @codespar/mcp-khipu

Why Khipu + Transbank

Chile has two dominant checkout rails:

  • Card (Transbank Webpay) — universal, works everywhere, interchange fees apply.
  • Bank transfer (Khipu) — no card needed, no credit limit, cheaper fees, preferred for larger purchases and B2B.

An agent that can offer both at checkout converts materially better than one that only takes cards. @codespar/mcp-transbank handles the first; this package handles the second.

Pair with

Enterprise

Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.

License

MIT

Keywords

mcp

FAQs

Package last updated on 22 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts