
Mcp Pix Bcb
io.github.codesparPublished by GitHub account codesparv0.2.2Updated Oct 24, 2026
MCP server for Pix BCB API — official Banco Central do Brasil Pix standard
Overview
MCP server for the Banco Central do Brasil Pix API, letting an assistant create and manage Pix charges, refunds, keys and webhooks through a PSP.
- What you can do
- Create, read, list and revise immediate Pix charges (cob) and due-date charges (cobv)
- Look up received Pix payments by end-to-end ID or list them by date range
- Request and inspect refunds (devolução) for received payments
- Register, look up and list Pix keys in DICT, request key portability and resolve key claims
- Configure or remove the webhook URL for a Pix key
- When to use it
- Useful when you work with a Brazilian PSP that exposes the Pix BCB API and want an assistant to draft, inspect or adjust Pix charges, refunds, keys and webhook settings without leaving the chat.
- Requirements
- Runs locally via npx (Node.js). Needs a PSP API base URL (PIX_BASE_URL), OAuth2 client ID (PIX_CLIENT_ID) and client secret (PIX_CLIENT_SECRET), plus optionally a path to an mTLS certificate (PIX_CERT_PATH). Credentials and sandbox access must be obtained from your bank.
Installation
In SourceWeft
- Open Mcp Pix Bcb in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
@codespar/mcp-pix-bcb
MCP server for Pix BCB — official Banco Central do Brasil Pix API
Quick Start
Claude Desktop
Add to ~/.config/claude/claude_desktop_config.json:
Claude Code
Cursor / VS Code
Add to .cursor/mcp.json or .vscode/mcp.json:
Tools (18)
Authentication
The Pix BCB API uses OAuth2 client credentials with mTLS. Each PSP (bank) provides their own base URL and certificate requirements.
Sandbox / Testing
Sandbox availability varies by PSP (payment service provider). Contact your bank for homologation environment access.
Get your credentials
- Go to Pix API Documentation (BCB)
- Register with your PSP (bank) for API access
- Obtain your OAuth2 client credentials and mTLS certificate
- Set the environment variables
Environment Variables
Roadmap
v0.2 (planned)
create_location— Create a Pix location (payload URL)get_location— Get details of a Pix locationlist_locations— List all Pix locationscreate_devolucao— Create a Pix refund (devolucao)get_devolucao— Get Pix refund details
v0.3 (planned)
create_cobv_batch— Create a batch of due-date Pix charges (cobv)webhook_management— Register, get, and delete Pix webhooks
Want to contribute? Open a PR or request a tool.
Links
Enterprise
Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.
License
MIT
Source: packages/payments/pix-bcb/README.md at commit d0a519a
Tools
0Version history
1- v0.2.2LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts