Mcp Getnet

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

MCP server for Getnet — Santander-owned BR acquirer: credit, debit, Pix, boleto, marketplace split

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

概覽

AI 產生的概覽

面向巴西收單機構 Getnet 的本機 MCP 伺服器,讓助理授權、請款、退款與查詢信用卡、Pix 及 boleto 付款,並管理商家。

可以做什麼
授權、請款、取消與退款信用卡付款,依付款 ID 取消簽帳金融卡付款,並將卡片代碼化或建立 numtoken 以便重複使用。建立與查詢 Pix 及 boleto 收款,取消尚未付款的 boleto,並依 Getnet 付款 ID 或商家訂單 ID 查詢付款。依金額與卡別查詢分期方案。加入、查詢與列出市集商家,設定將部分款項分給子商家的分帳規則,並依日期區間取得市集對帳單項目。
適用情境
適合與 Santander/Getnet 簽有商業合約的商家,希望助理直接透過收單機構而非 PSP 處理付款作業,包括 Pix、boleto、卡片付款流程,以及市集商家分帳與對帳。
執行需求
以 npm 套件形式在本機透過 stdio 執行,需要 Node.js。需要 Getnet OAuth 憑證 GETNET_CLIENT_ID 與 GETNET_CLIENT_SECRET,以及商家合約中的 GETNET_SELLER_ID。GETNET_BASE_URL 為選用,預設為正式環境,也可使用沙箱位址。需要連線至 Getnet API 的網路存取。
安裝前請注意
此伺服器涉及真實資金:授權、請款、退款、取消付款以及建立 Pix 或 boleto 收款都是實際金融操作。它需要 OAuth 密鑰 GETNET_CLIENT_SECRET 與商家識別碼,請避免寫入日誌或共用設定。測試時應將 GETNET_BASE_URL 指向沙箱。卡片代碼化與 numtoken 建立會處理卡號資料,使用前請確認 PCI 合規義務。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

@codespar/mcp-getnet

MCP server for Getnet — Santander-owned Brazilian card acquirer.

Together with Cielo, Stone, and Efi, Getnet closes three of the "big four" BR acquirer quadrant. Distinct from per-PSP servers (Zoop, Pagar.me, Asaas): Getnet is an acquirer, so merchants with a Santander commercial contract integrate directly instead of going through a PSP.

Tools (20)

ToolPurpose
authorize_creditAuthorize a credit-card payment on Getnet.
capture_creditCapture a previously authorized credit payment (when delayed=true was used).
cancel_creditCancel an authorized-but-uncaptured credit payment.
refund_creditRefund a captured credit payment.
create_pixCreate a Pix charge.
create_boletoCreate a boleto charge.
get_paymentRetrieve a payment by Getnet payment_id.
tokenize_cardTokenize a card for PCI-safe reuse.
create_sellerOnboard a marketplace seller via Getnet Marketplace Management.
get_sellerRetrieve a seller by Getnet seller_id.
list_sellersList marketplace sellers with optional filters.
cancel_debitCancel a debit-card payment by Getnet payment_id.
query_pixRetrieve a Pix charge by Getnet payment_id.
query_boletoRetrieve a boleto by Getnet payment_id.
cancel_boletoCancel a boleto that has not yet been paid.
get_payment_by_orderRetrieve a payment using the merchant-side order_id (handy when you've lost the Getnet payment_id).
query_installmentsQuery the installment plans Getnet offers for a given amount + card brand (with/without interest, max insta...
create_numtokenCreate a numtoken (Getnet card-on-file PAN-level token).
create_splitConfigure a marketplace split rule that routes part of a payment to a subseller.
get_statementRetrieve marketplace statement entries (sales, fees, payouts) for a subseller in a date range.

Install

bash
npm install @codespar/mcp-getnet

Environment

bash
GETNET_CLIENT_ID="..."       # OAuth client_idGETNET_CLIENT_SECRET="..."   # OAuth client_secretGETNET_SELLER_ID="..."       # seller_id from your merchant contractGETNET_BASE_URL="..."        # Optional. Default: https://api.getnet.com.br                             # Sandbox: https://api-homologacao.getnet.com.br

Authentication

OAuth 2.0 Client Credentials. The server calls POST /auth/oauth/v2/token with Basic auth and caches the bearer token in memory until 60s before expiry. Transparent to callers.

Run

bash
# stdio (default)npx @codespar/mcp-getnet
# HTTPMCP_HTTP=true MCP_PORT=3000 npx @codespar/mcp-getnet

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/getnet/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 分