
Mcp Transbank
io.github.codespar由 GitHub 帳號 codespar 發布v0.2.0-alpha.3更新於 Oct 24, 2026
MCP server for Transbank — Chile dominant card acquirer (Webpay Plus / Mall / OneClick)
概覽
本機 MCP 伺服器,讓助理在智利建立、提交、請款、退款並查詢 Transbank Webpay Plus、Mall 與 OneClick 卡片付款。
- 可以做什麼
- 建立、提交、查詢狀態、請款或增加金額並退款 Webpay Plus 一次性跳轉付款
- 建立、提交、查詢狀態、請款並退款可拆分至多個商家代碼的 Webpay Mall 交易
- 發起、完成與刪除 OneClick Mall 卡片綁定,並對已存卡片授權、請款、退款與查詢
- 透過設定在 Transbank 整合環境與正式環境之間切換
- 適用情境
- 適用於在智利以 Transbank 建置或維運電商付款,並希望助理從本機 MCP 用戶端操作 Webpay Plus、Webpay Mall 或 OneClick Mall 流程(含退款與延後請款)的情境。
- 執行需求
- 透過 npm 套件以 stdio 在本機執行(npx 或 npm install),需要 Node.js。需要商家商務代碼 TRANSBANK_COMMERCE_CODE 與 API 密鑰 TRANSBANK_API_KEY_SECRET;TRANSBANK_ENV 選擇 integration(預設)或 production。需要能連線至 Transbank 端點的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Mcp Transbank,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
@codespar/mcp-transbank
MCP server for Transbank — Chile's dominant card acquirer.
Transbank is effectively default for Chilean commerce (state-origin roots, owned by a consortium of Chilean banks). Shipping this server is a prerequisite for any "CodeSpar covers LatAm" claim that includes Chile.
Two products are covered:
- Webpay Plus — one-shot redirect payments (
buy_order+amount, user is redirected to Webpay to pay). - Webpay OneClick Mall — tokenized recurring / card-on-file payments that can split across multiple merchant codes (the "mall" model).
Tools (19)
Install
Environment
Integration base URL: https://webpay3gint.transbank.cl
Production base URL: https://webpay3g.transbank.cl
Authentication
Every request sends two headers:
The server handles headers automatically — you only configure the env vars.
Run
Webpay Plus flow
- Call
webpay_create_transactionwithbuy_order,session_id,amount,return_url. - Redirect user to
url?token_ws=<token>. - User pays at Webpay, is redirected back to
return_url. - Call
webpay_commit_transactionwith the returned token to actually charge.
OneClick Mall flow
- Call
oneclick_create_inscriptionwithusername,email,response_url. Redirect user tourl_webpay. - After user returns, call
oneclick_finish_inscription. Store the returnedtbk_useragainst your user. - To charge later, call
oneclick_authorizewithusername,tbk_user, a parent mallbuy_order, and adetailsarray (one entry per child merchant).
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/transbank/README.md,提交 d0a519a
工具
0版本歷史
1- v0.2.0-alpha.3最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分