Skip to content
VS Code

mcp banco do brasil for VS Code

io.github.codespar/mcp-banco-do-brasil

MCP server for Banco do Brasil — Pix, Cobrança (boleto), Conta-Corrente, Arrecadação (OAuth2 + mTLS)

client:VS Code transport:stdio runtime:npm

Install mcp banco do brasil in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "bb-client-id",
      "description": "BB_CLIENT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "bb-client-secret",
      "description": "BB_CLIENT_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "bb-developer-app-key",
      "description": "BB_DEVELOPER_APP_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "bb-cert-path",
      "description": "BB_CERT_PATH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "bb-key-path",
      "description": "BB_KEY_PATH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "bb-env",
      "description": "BB_ENV",
      "password": true
    }
  ],
  "servers": {
    "mcp-banco-do-brasil": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-banco-do-brasil"
      ],
      "env": {
        "BB_CLIENT_ID": "${input:bb-client-id}",
        "BB_CLIENT_SECRET": "${input:bb-client-secret}",
        "BB_DEVELOPER_APP_KEY": "${input:bb-developer-app-key}",
        "BB_CERT_PATH": "${input:bb-cert-path}",
        "BB_KEY_PATH": "${input:bb-key-path}",
        "BB_ENV": "${input:bb-env}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

mcp banco do brasil in other clients