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 分