API oficial de Pix del Banco Central de Brasil. Transferencias instantáneas, QR codes, consulta de clave DICT y flujos de devolución.
Pix BCB le da a tu agente 18 tools que llama directo — elegí las que necesite, en Claude, Cursor o cualquier cliente MCP.
create_cob — Create an immediate Pix charge (cobranca imediata)get_cob — Get immediate charge details by txidlist_cobs — List immediate charges with date range and filters// 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_cob", { /* ... */ });$ npm install @codespar/mcp-pix-bcbAgregá esta entrada a tu claude_desktop_config.json (o a la config de cualquier cliente compatible con MCP).
{
"mcpServers": {
"pix-bcb": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-pix-bcb"
],
"env": {
"PIX_CLIENT_SECRET": "<your_pix_client_secret>"
}
}
}
}Después de reiniciar, tu agente puede llamar cualquiera de las 18 herramientas de abajo — probá create_cob primero.
Necesarias para autenticar el server. Almacenadas cifradas al usar el hosting gestionado de CodeSpar.
PIX_CLIENT_SECRETAPI key for pix-bcb
Cada herramienta es independiente — tu agente carga solo lo que necesita para reducir contexto y tiempo de respuesta.
create_cobget_coblist_cobsupdate_cobcreate_cobvlist_cobvupdate_cobvget_pixMCP es un protocolo — cualquier framework que lo hable puede montar este server.