MCP server for Pix BCB API — official Banco Central do Brasil Pix standard
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add pix-bcb --env PIX_CLIENT_SECRET='<PIX_CLIENT_SECRET>' -- npx -y @codespar/mcp-pix-bcb~/.codex/config.toml
[mcp_servers.pix-bcb]
command = "npx"
args = ["-y", "@codespar/mcp-pix-bcb"]
env = { PIX_CLIENT_SECRET = "<PIX_CLIENT_SECRET>" }
# codex mcp add pix-bcb --env PIX_CLIENT_SECRET='<PIX_CLIENT_SECRET>' -- npx -y @codespar/mcp-pix-bcb~/.cursor/mcp.json
{
"mcpServers": {
"pix-bcb": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-pix-bcb"
],
"env": {
"PIX_CLIENT_SECRET": "<PIX_CLIENT_SECRET>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"pix-bcb": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@codespar/mcp-pix-bcb"
],
"env": {
"PIX_CLIENT_SECRET": "<PIX_CLIENT_SECRET>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"pix-bcb": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-pix-bcb"
],
"env": {
"PIX_CLIENT_SECRET": "<PIX_CLIENT_SECRET>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"pix-bcb": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-pix-bcb"
],
"env": {
"PIX_CLIENT_SECRET": "<PIX_CLIENT_SECRET>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"pix-bcb": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-pix-bcb"
],
"env": {
"PIX_CLIENT_SECRET": "<PIX_CLIENT_SECRET>"
}
}
}
}Environment variables
PIX_CLIENT_SECRET
Replace the placeholders with your own credentials and keep them out of version control.