About mcp-iniciador
@codespar/mcp-iniciador is an MCP server for Iniciador, a Brazilian Open Finance PISP aggregator for Pix payment initiation. It is intended for applications and agents that send instant Pix outflows under OFB consent. The server holds the ICP-Brasil certificate arrangement on the provider side and coordinates DCR with banks.
Key features
- 01List banks supported for Pix initiation
- 02Create, read and revoke payment consents
- 03Initiate Pix payments and track their status
- 04Filter payment history by date and status
- 05Build OFB authorization URLs
Use cases
- 01Sending Pix payments after the payer authorizes consent
- 02Tracking Pix payment status and rejection reasons
- 03Generating authorization links for payers
MCP support
The project runs as an MCP server that exposes 9 tools to MCP clients for institutions, consents and Pix payments.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
npx -y @codespar/mcp-iniciadorINICIADOR_CLIENT_IDSecretIniciador OAuth2 client IDINICIADOR_CLIENT_SECRETSecretIniciador OAuth2 client secretINICIADOR_API_BASEAPI base URL — defaults to Iniciador production. Override for sandbox.Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project README@codespar/mcp-iniciador
MCP server for Iniciador — Open Finance Brasil PISP (Pix payment initiation aggregator). Iniciador holds the ICP-Brasil certificate and orchestrates DCR with each Brazilian bank for instant Pix-out flows.
Quick Start
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"iniciador": {
"command": "npx",
"args": ["@codespar/mcp-iniciador"],
"env": {
"INICIADOR_API_KEY": "your-api-key"
}
}
}
}
Cursor / VS Code
Same config in .cursor/mcp.json.
Tools (9)
Institutions
| Tool | Iniciador endpoint | Notes |
|---|---|---|
list_institutions | GET /institutions | Brazilian banks supported for Pix initiation |
Consents
| Tool | Iniciador endpoint | Notes |
|---|---|---|
create_consent | POST /consents | Payment consent for the payer to authorize at their bank |
get_consent | GET /consents/{id} | Current authorization status |
revoke_consent | DELETE /consents/{id} | Revoke before exercise |
Payments
| Tool | Iniciador endpoint | Notes |
|---|---|---|
create_payment | POST /payments | Initiate Pix once consent is authorized |
get_payment | GET /payments/{id} | Status / E2E id / rejection reason |
list_payments | GET /payments | Filter by date range / status |
cancel_payment | POST /payments/{id}/cancel | Best-effort cancel before settlement |
Helpers
| Tool | Notes |
|---|---|
get_authorization_url | Client-side builder for the OFB authorization URL (consent id + ISPB + redirect) |
Authentication
This server uses Iniciador's API key auth (X-API-KEY header). The Pix-out call itself is signed end-to-end with the consumer's bank-issued consent token, which Iniciador's backend stitches in after the payer authorizes the consent at their bank. OAuth2 client-credentials is required for some flows and lands when consent + bank-issued token plumbing is wired end-to-end.
Issue credentials during Iniciador onboarding:
- Production: https://iniciador.com.br
- Docs: https://docs.iniciador.com.br
Sandbox / Testing
Sandbox endpoint: https://sandbox.iniciador.com.br. Override via INICIADOR_API_BASE.
Environment Variables
| Variable | Required | Description |
|---|---|---|
INICIADOR_API_KEY | yes | API key from Iniciador onboarding |
INICIADOR_API_BASE | no | Override API base URL (default https://api.iniciador.com.br) |
Iniciador vs Pluggy vs Belvo
Three OFB aggregators in this catalog, each with a different specialty:
| Aggregator | Strength | Best for |
|---|---|---|
| Iniciador | Pix payment initiation (PISP) | Outgoing payments under OFB consent |
Pluggy (@codespar/mcp-pluggy) | Account + transaction reads | Reconciliation, balance polling |
Belvo (@codespar/mcp-belvo) | Multi-LATAM Open Finance + payroll + tax | Cross-border (BR + MX + CO + AR) |
For commerce agents that need both reads and writes, compose them — Pluggy/Belvo for account + recon visibility + Iniciador for Pix initiation.
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
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.