Skip to main content
DO

Dock

v0.2.0-alpha.2OAuth2alpha

BaaS de BR — el principal competidor de Matera, sostiene buena parte del stack fintech brasileño. Diferencial vs Matera: emisión de tarjeta sobre Pix + cuentas. Alpha en npm — developers.dock.tech está cerrado en ReadMe, paths siguen las convenciones estándar de BaaS BR.

20 herramientas3 env vars🇧🇷 Brasilalpha — validación pendiente

Qué puede hacer tu agente

Dock le da a tu agente 20 tools que llama directo — elegí las que necesite, en Claude, Cursor o cualquier cliente MCP.

  • create_accountCreate 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_accountRetrieve a Dock account by id. Returns balance, status, holder info, and account coordinates (agency / account number).
  • send_pixInitiate an outbound Pix transfer from a Dock account to any Pix key in BR. Returns endToEndId once the BCB SPI confirms.
Ejemplo de llamada
// Your agent calls a tool directly — no glue code.
// CodeSpar's managed tier handles OAuth2, token rotation and rate limits.
const result = await session.call("create_account", { /* ... */ });

Instalar

terminal
$ npm install @codespar/mcp-dock@alpha

Quickstart

Agregá esta entrada a tu claude_desktop_config.json (o a la config de cualquier cliente compatible con MCP).

claude_desktop_config.json
{
  "mcpServers": {
    "dock": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-dock@alpha"
      ],
      "env": {
        "DOCK_CLIENT_ID": "<your_dock_client_id>",
        "DOCK_CLIENT_SECRET": "<your_dock_client_secret>"
      }
    }
  }
}

Después de reiniciar, tu agente puede llamar cualquiera de las 20 herramientas de abajo — probá create_account primero.

Variables de entorno · 3

Necesarias para autenticar el server. Almacenadas cifradas al usar el hosting gestionado de CodeSpar.

DOCK_CLIENT_ID
obligatorio

OAuth2 client_id issued by Dock

DOCK_CLIENT_SECRET
obligatoriosecret

OAuth2 client_secret issued by Dock

DOCK_ENV
opcional

Environment: sandbox or production. Defaults to sandbox.

Herramientas disponibles · 20

Cada herramienta es independiente — tu agente carga solo lo que necesita para reducir contexto y tiempo de respuesta.

WRITEcreate_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.
READget_account
Retrieve a Dock account by id. Returns balance, status, holder info, and account coordinates (agency / account number).
WRITEsend_pix
Initiate an outbound Pix transfer from a Dock account to any Pix key in BR. Returns endToEndId once the BCB SPI confirms.
READget_pix
Retrieve an outbound Pix payment by endToEndId.
WRITEcreate_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.
WRITEcreate_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.
DELETErefund_pix
Refund (devolução) a Pix payment. Supports full or partial amount. Use BCB MED reason codes when applicable.
READresolve_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.

Frameworks compatibles

MCP es un protocolo — cualquier framework que lo hable puede montar este server.

Claude Agent SDKAnthropic
OpenAI AgentsOpenAI
Vercel AI SDKVercel
LangChainLangChain
LlamaIndexLlamaIndex
CrewAICrewAI
MastraMastra
Cualquier cliente MCPProtocolo

Preguntas frecuentes

Corré `npx -y @codespar/mcp-dock` y agregá el bloque de config de arriba a tu cliente MCP — Claude, Cursor, VS Code o cualquier cliente compatible con MCP. Sin build, sin SDK. ¿Preferís hosted? El tier gestionado de CodeSpar lo corre por vos, con la auth resuelta.
Dock — MCP server · 20 tools | CodeSpar