MCP directory
MB

Mcp Btg

by github.com/codespar · v0.1.0-alpha.3 · updated Jun 22, 2026

MCP server for BTG Pactual — Pix, Boleto, Account, Investments (CDB/LCI/LCA/funds), OAuth2 + mTLS

npm

Run it locally

Install the package and point your AI client at it.

npm

npx -y @codespar/[email protected]

Environment variables

  • BTG_CLIENT_IDrequired

    BTG OAuth client_id issued via the Developer Portal after contract onboarding.

  • BTG_CLIENT_SECRETrequiredsecret

    BTG OAuth client_secret.

  • BTG_CERT_PATHrequired

    Absolute path to the mTLS client certificate (.crt or .pem). BACEN mandates mTLS for Pix v2; BTG enforces it across product families.

  • BTG_KEY_PATHrequiredsecret

    Absolute path to the mTLS private key (.key or .pem).

  • BTG_ENV

    Environment: 'sandbox' or 'production'. Defaults to 'sandbox'.

More from github.com/codespar

More MCP servers