Skip to main content
D

Dock

@codespar/mcp-dock Β· v0.2.0-alpha.4

πŸ‡§πŸ‡· BrazilBankingAuth Β· OAuth2beta20 tools4 env varsprereleasedeprecated on npm

BR BaaS β€” Matera's main competitor, powers much of the Brazilian fintech stack. Differentiator vs Matera: card issuing on top of Pix + accounts. Alpha on npm β€” developers.dock.tech is ReadMe-gated, paths follow standard BR BaaS conventions.

Deprecated on npm: No live endpoint: api.dock.tech does not resolve. See https://github.com/codespar/mcp-dev-latam/tree/main/packages/banking/dock

MIT Β· deprecated on npm

Limitations

  • v0.2.0-alpha.4 is a prerelease; npm has no stable release of this package.
  • The package manifest does not declare 1 of the 4 variables the code reads.
Package
@codespar/mcp-dock
Version
0.2.0-alpha.4 Β· prerelease
npm dist-tag
latest
Category
Banking
Auth
OAuth2
Country
πŸ‡§πŸ‡· Brazil
License
MIT
Transport
stdio Β· streamable-http

Quickstart

Before you use it.

This package is deprecated on npm, so this page offers no install command or client config. No live endpoint: api.dock.tech does not resolve. See https://github.com/codespar/mcp-dev-latam/tree/main/packages/banking/dock

Environment variables4 variables
DOCK_BASE_URLRead by the code; the package manifest does not declare it.
DOCK_CLIENT_IDOAuth2 client_id issued by Dockrequired
DOCK_CLIENT_SECRETOAuth2 client_secret issued by Dockrequiredsecret
DOCK_ENVEnvironment: sandbox or production. Defaults to sandbox.optional

Names read from the package code (@codespar/mcp-dock@0.2.0-alpha.4). Descriptions and flags come from its manifest. Self-hosted, you hold the credentials.

Tools

What your agent can call.

20 tools, as the package's tools/list returns them.

create_account

Create a digital account for an end user (CPF holder) on Dock. Returns the account id, agency, and account number. Account holds funds that can be moved via Pix or spent via issued cards.

get_account

Retrieve a Dock account by id. Returns balance, status, holder info, and account coordinates (agency / account number).

send_pix

Initiate an outbound Pix transfer from a Dock account to any Pix key in BR. Returns endToEndId once the BCB SPI confirms.

get_pix

Retrieve an outbound Pix payment by endToEndId.

create_pix_qr_static

Create a static Pix QR (reusable, tied to a merchant Pix key). Returns EMV copy-paste payload and QR image. Use for points-of-sale or donations where the same QR is shown to many payers.

create_pix_qr_dynamic

Create a dynamic Pix QR (single-use, expiring). Returns txid, EMV payload, and QR image. Preferred for e-commerce checkouts and invoices.

refund_pix

Refund (devoluΓ§Γ£o) a Pix payment. Supports full or partial amount. Use BCB MED reason codes when applicable.

resolve_dict_key

Resolve a Pix DICT key to the account holder's identity and ISPB/branch/account. Use before sending large transfers to verify the counterparty. DICT queries are rate-limited and logged by BCB.

issue_card

Issue a card (debit / credit / prepaid / virtual) against a Dock account. Card issuing is Dock's historical core product and the main differentiator vs Matera. Returns card id, PAN masked, CVV (if virtual), and shipping status.

get_card

Retrieve a card by id. Returns card status (ACTIVE / BLOCKED / CANCELED), masked PAN, expiry, and limits.

list_accounts

List Dock accounts under the merchant. Supports pagination and filtering by holder document or status.

freeze_account

Freeze (block) a Dock account. Pix outflows and card spend are halted but balance is preserved. Used for fraud holds, KYC re-verification, or judicial blocks.

Names and descriptions come from the package's tools/list (@codespar/mcp-dock@0.2.0-alpha.4). A kind (read, write, delete) is shown only when the package annotates its tools or each tool was verified one by one; neither exists for this server yet.

Compatibility

MCP is a protocol. Any client that speaks it can mount this server.

The CodeSpar runtime does not route this server. Mount it in your client over stdio Β· streamable-http.

Protocol

Any MCP client

stdio Β· streamable-http

Questions

Before you install.

How do I install the Dock MCP server?

The npm package @codespar/mcp-dock is deprecated, so this page shows no install command for it. The registry says: No live endpoint: api.dock.tech does not resolve. See https://github.com/codespar/mcp-dev-latam/tree/main/packages/banking/dock

What can my agent do with Dock?

Dock exposes 20 tools for banking. Your agent calls them directly; the full list is above.

How does Dock authenticate, and how are credentials stored?

Dock uses OAuth2. Self-hosted, you hold the credentials: the server reads them from its environment variables.

How does Dock handle upstream API changes?

Every server is versioned independently on npm. This one is deprecated (see the notice above), so the page does not suggest pinning a version.

Is Dock open source? How do I report a bug?

Yes. Dock is MIT-licensed and published on npm as @codespar/mcp-dock, source on GitHub (link in the Details panel). Report issues on the package repository; security issues go to security@codespar.dev, and we respond within 24 hours.

Start in seconds.

This package is deprecated on npm; read the notice above before using it.

Dock β€” MCP server Β· 20 tools | CodeSpar