Mcp Culqi

io.github.codespar由 GitHub 帳號 codespar 發布v0.2.2更新於 Oct 24, 2026

MCP server for Culqi — Peru PSP: charges, refunds, cards, Yape/PagoEfectivo, subscriptions

已驗證STDIO僅桌面金融商業與電商

概覽

AI 產生的概覽

針對秘魯 Culqi 支付平台的本地 MCP 伺服器,讓助理建立扣款、退款、客戶、卡片、訂單與訂閱。

可以做什麼
扣款與退款:將卡片權杖化,建立、查詢、列出與捕獲扣款,發起或查詢退款。客戶與已儲存卡片:建立與查詢客戶,將權杖化卡片綁定到客戶,解除綁定已儲存的卡片。非卡支付訂單:為 Yape、PagoEfectivo 或銀行轉帳建立訂單,確認未付款訂單並列出訂單。訂閱:建立方案、以已儲存卡片訂閱、取消訂閱。Webhook 事件:列出與查詢事件。
適用情境
當助理需要處理 Culqi 支付(秘魯索爾或美元交易)時使用,例如在沙箱中建立測試扣款、管理客戶與已儲存卡片,或建立與取消訂閱。
執行需求
透過 npm 套件以 stdio 在本機執行,需要 Node.js。需要在 CULQI_SECRET_KEY 環境變數中提供 Culqi 金鑰,金鑰前綴決定沙箱或正式環境。需要連線至 Culqi API 的網路存取。
安裝前請注意
伺服器持有 Culqi 金鑰,使用正式金鑰時可動用真實資金;扣款、退款、訂單、訂閱與刪除卡片都會變更資料。在後端進行卡片權杖化可能涉及 PCI 合規範圍,避免傳送真實卡號。金額以最小貨幣單位(分)表示,訂閱需要接受條款。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Mcp Culqi,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

@codespar/mcp-culqi

MCP server for Culqi — Peru's default PSP.

Culqi is the Stripe of Peru: the standard rail for Peruvian D2C brands and SaaS. It ships CulqiOnline (hosted checkout), CulqiLink (payment links), and CulqiFull (subscriptions). Adding Culqi brings Peru into the CodeSpar catalog alongside Mexico, Brazil, Colombia, Argentina, and Chile.

Tools (20)

ToolPurpose
create_tokenTokenize a card (POST /tokens).
create_chargeCreate a charge (POST /charges).
get_chargeRetrieve a charge by Culqi id.
list_chargesList charges (GET /charges) with optional filters.
capture_chargeCapture a previously-authorized charge (POST /charges/{id}/capture).
refund_chargeRefund a captured charge (POST /refunds).
get_refundRetrieve a refund by id (GET /refunds/{id}).
create_customerCreate a customer record (POST /customers).
get_customerRetrieve a customer by Culqi id (GET /customers/{id}).
list_customersList customers (GET /customers) with optional filters passed as query params: first_name, last_name, email,...
create_cardAttach a tokenized card to a customer for reuse (POST /cards).
delete_cardDetach a saved card from its customer (DELETE /cards/{id}).
create_orderCreate an order (POST /orders) for non-card payment methods — Yape, PagoEfectivo (Cash), bank transfer.
confirm_orderConfirm an unpaid order (POST /orders/{id}/confirm).
list_ordersList orders (GET /orders) with optional filters passed as query params: order_number, state (created, paid,...
create_planCreate a subscription plan (POST /plans).
create_subscriptionSubscribe a customer's saved card to a plan (POST /subscriptions).
cancel_subscriptionCancel an active subscription (DELETE /subscriptions/{id}).
list_eventsList webhook events (GET /events) with optional filters.
get_eventRetrieve a single webhook event by id (GET /events/{id}).

Install

bash
npm install @codespar/mcp-culqi

Environment

bash
CULQI_SECRET_KEY="sk_test_..."   # or sk_live_... for production

Culqi has no separate sandbox URL — the key prefix (sk_test_ vs sk_live_) selects the environment.

Authentication

Bearer token on every request:

Authorization: Bearer <CULQI_SECRET_KEY>Content-Type: application/json

Base URL: https://api.culqi.com/v2.

Run

bash
# stdio (default — for Claude Desktop, Cursor, etc)npx @codespar/mcp-culqi
# HTTP (for server-to-server testing)MCP_HTTP=true MCP_PORT=3000 npx @codespar/mcp-culqi

Notes

  • Amounts are in cents of the currency (e.g. 1000 = S/ 10.00 PEN).
  • Currencies supported: PEN, USD.
  • Tokenization of raw card data is typically done client-side (culqi.js / mobile SDKs). The create_token tool is primarily for test scripts — never send real PANs from a backend without PCI scope.
  • Subscriptions require tyc: true (terms & conditions acceptance) on creation.

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

來源:packages/payments/culqi/README.md,提交 d0a519a

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.2.2最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分