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.
Dock gives your agent 20 tools it calls directly — pick the ones it needs, in Claude, Cursor, or any MCP client.
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.// 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", { /* ... */ });$ npm install @codespar/mcp-dock@alphaAdd this entry to your claude_desktop_config.json (or any MCP-compatible client config).
{
"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>"
}
}
}
}After restart, your agent can call any of the 20 tools below — try create_account first.
Required to authenticate the server. Stored encrypted when using CodeSpar managed hosting.
DOCK_CLIENT_IDOAuth2 client_id issued by Dock
DOCK_CLIENT_SECRETOAuth2 client_secret issued by Dock
DOCK_ENVEnvironment: sandbox or production. Defaults to sandbox.
Each tool is independent — your agent loads only what it needs to reduce context and response time.
create_accountget_accountsend_pixget_pixcreate_pix_qr_staticcreate_pix_qr_dynamicrefund_pixresolve_dict_keyMCP is a protocol — any framework that speaks it can mount this server.