Mcp Dock

io.github.codespar由 GitHub 帳號 codespar 發布v0.2.0-alpha.4更新於 Oct 24, 2026

DEPRECATED: no live endpoint (api.dock.tech does not resolve)

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

概覽

AI 產生的概覽

已棄用的 Dock(巴西銀行即服務)MCP 伺服器,提供帳戶、Pix 支付與發卡工具,但目前沒有可用端點。

可以做什麼
  • 建立、列出、凍結與解凍終端使用者的數位帳戶
  • 發起、查詢與退款 Pix 支付,產生靜態與動態 Pix QR 碼,解析 DICT 金鑰
  • 發行簽帳、信用、預付或虛擬卡,查詢卡片,並封卡、解封或變更卡片狀態
  • 列出並查詢帳戶交易紀錄
  • 註冊與列出接收帳戶、Pix、卡片與交易事件的 webhook 端點
適用情境
僅適合參考或實驗:此套件已棄用,正式與沙箱網域皆無法解析,沒有任何工具能連到真實服務。目前不適合實際金融業務;若你自有可用的 Dock 端點,或想研究其工具介面,才值得一看。
執行需求
透過 npx 從 npm 套件 @codespar/mcp-dock 在本機執行,需要 Node.js。需要 Dock 核發的 DOCK_CLIENT_ID 與 DOCK_CLIENT_SECRET,可選 DOCK_ENV(預設 sandbox)。還需要可連線的 Dock 基礎位址,README 表示可透過 DOCK_BASE_URL 提供。
安裝前請注意
已棄用且無可用端點,多數呼叫會失敗。它涉及資金與發卡:發起 Pix、退款、凍結帳戶與變更卡片狀態都是真實且難以復原的金融操作。需要 OAuth 用戶端密鑰 DOCK_CLIENT_SECRET,且 DOCK_ENV 可指向正式環境。介面路徑為未經驗證的推測,Dock 公開文件需登入才能查看。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

@codespar/mcp-dock

Deprecated: no live endpoint. Measured on 2026-09-27 against two public DNS resolvers (8.8.8.8 and 1.1.1.1): api.dock.tech (production) and sandbox.api.dock.tech (sandbox) do not resolve in DNS. No tool in this server reaches a service. The package is deprecated on npm and stays in this repository for reference only. If you have a working endpoint, point the server at it with DOCK_BASE_URL. To bring the package back, open an issue in mcp-dev-latam with the provider's documented base URL.

MCP server for Dock — Brazilian Banking-as-a-Service (accounts, Pix, card issuing) for fintechs and embedded-finance products

[npm] [License: MIT]

Why Dock

Dock is one of the two dominant BaaS providers in Brazil. Together with Matera, they power most BR fintechs.

Matera vs Dock — pick one, same commerce patterns:

MateraDock
Core strengthPix-focused core bankingBroader BaaS: accounts + Pix + card issuing
Historical rootCore-banking platformCard-issuing platform that expanded into accounts + Pix
Typical customerFintech building on top of PixFintech / retailer issuing branded cards + accounts
Pix AutomáticoLive (2025 BCB product)Roadmap

BR fintechs usually pick one based on contract terms and pricing. Agents building fintech products can target both — the commerce patterns are identical; only the vendor relationship changes. This server exposes Dock's surface in the same shape as @codespar/mcp-matera so an agent can swap backends without rewriting tool-call logic.

Use Dock when an agent needs to:

  • Spin up digital accounts for end users (CPF holders)
  • Move money via Pix (charges, transfers, DICT, refunds)
  • Issue cards (debit / credit / prepaid / virtual) against those accounts — Dock's key differentiator

Quick Start

Claude Desktop

Add to ~/.config/claude/claude_desktop_config.json:

json
{  "mcpServers": {    "dock": {      "command": "npx",      "args": ["-y", "@codespar/mcp-dock"],      "env": {        "DOCK_CLIENT_ID": "your-client-id",        "DOCK_CLIENT_SECRET": "your-client-secret",        "DOCK_ENV": "sandbox"      }    }  }}

Claude Code

bash
claude mcp add dock -- npx @codespar/mcp-dock

Cursor / VS Code

Add to .cursor/mcp.json or .vscode/mcp.json:

json
{  "servers": {    "dock": {      "command": "npx",      "args": ["-y", "@codespar/mcp-dock"],      "env": {        "DOCK_CLIENT_ID": "your-client-id",        "DOCK_CLIENT_SECRET": "your-client-secret",        "DOCK_ENV": "sandbox"      }    }  }}

Tools (20)

ToolPurpose
create_accountCreate a digital account for an end user (CPF holder) on Dock.
get_accountRetrieve a Dock account by id.
send_pixInitiate an outbound Pix transfer from a Dock account to any Pix key in BR.
get_pixRetrieve an outbound Pix payment by endToEndId.
create_pix_qr_staticCreate a static Pix QR (reusable, tied to a merchant Pix key).
create_pix_qr_dynamicCreate a dynamic Pix QR (single-use, expiring).
refund_pixRefund (devolução) a Pix payment.
resolve_dict_keyResolve a Pix DICT key to the account holder's identity and ISPB/branch/account.
issue_cardIssue a card (debit / credit / prepaid / virtual) against a Dock account.
get_cardRetrieve a card by id.
list_accountsList Dock accounts under the merchant.
freeze_accountFreeze (block) a Dock account.
unfreeze_accountUnfreeze a previously frozen Dock account, restoring Pix and card operations.
block_cardBlock a card temporarily (reversible).
unblock_cardUnblock a card that was previously blocked (reversible).
change_card_statusChange a card's lifecycle status: ACTIVE / BLOCKED / CANCELED.
list_transactionsList transactions on a Dock account (Pix in/out, card auths, fees, transfers).
get_transactionRetrieve a single transaction by id.
create_webhookRegister a webhook endpoint to receive Dock event notifications (account., pix., card., transaction.).
list_webhooksList all webhook endpoints registered for the merchant.

Authentication

OAuth 2.0 Client Credentials. The server calls POST /oauth/token with Basic auth (client_id:client_secret) and caches the bearer token in memory until a minute before expiry.

Environment Variables

VariableRequiredDescription
DOCK_CLIENT_IDYesOAuth2 client_id issued by Dock
DOCK_CLIENT_SECRETYesOAuth2 client_secret (secret)
DOCK_ENVNosandbox (default) or production

Base URL is derived from DOCK_ENV: https://sandbox.api.dock.tech (sandbox) or https://api.dock.tech (production).

Status

v0.1.0-alpha.1 — tool surface is stable, wire paths are NOT yet verified.

Dock's developer portal at developers.dock.tech redirects to a ReadMe.com login gate. Public docs are not accessible without a Dock merchant contract, so on 2026-04-21 we could not validate the exact URL paths.

The endpoint paths in src/index.ts follow standard BR BaaS conventions (matching Matera's shape and the BCB Pix spec) and are best-guesses. Known-suspect items are flagged inline with TODO(verify) comments:

AreaValue in codeWhy it's suspect
Token endpointPOST /oauth/tokenStandard candidate, but /oauth2/token or /auth/v1/token also common
Pix refundPOST /pix/payments/{e2eid}/refundBCB spec names refunds /pix/{e2eid}/devolucao/{id}
DICT lookupGET /pix/dict/{key}BCB DICT is RSFN-gated; Dock's wrapper path unverified

The 10 tool names and input schemas above are the public contract and will remain stable. Only the internal HTTP calls in src/index.ts will change when we verify against the sandbox. Using this server against a live Dock tenant today may produce 404s on most calls.

PR welcome from anyone with a Dock sandbox.

Roadmap

v0.2 (planned)

  • Verified paths against Dock sandbox
  • Card controls: block_card, unblock_card, set_card_limits
  • Account statements and transaction listings
  • Webhook event helpers

v0.3 (planned)

  • Boleto issuance
  • TED / bank transfers (non-Pix rails)
  • Credit underwriting endpoints (Dock's credit stack)

Want to contribute? Open a PR or request a tool.

Links

Enterprise

Need governance, budget limits, and audit trails for agent-initiated bank transfers and card issuance? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.

License

MIT

來源:packages/banking/dock/README.md,提交 d0a519a

工具

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

版本歷史

2
  1. v0.2.0-alpha.4最新Sep 27, 2026
  2. v0.2.0-alpha.3Sep 16, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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