MCP server for Pix BCB API — official Banco Central do Brasil Pix standard
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
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>"
}
}
}
}需要的环境变量
PIX_CLIENT_SECRET
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。