io.github.codespar
mcp-btg
MCP server for BTG Pactual — Pix, Boleto, Account, Investments (CDB/LCI/LCA/funds), OAuth2 + mTLS
stdiocommunityservice
Package Details
@codespar/mcp-btg
Transportstdio
Environment Variables
BTG_CLIENT_ID(str)
Required
BTG OAuth client_id issued via the Developer Portal after contract onboarding.
BTG_CLIENT_SECRET(str)
RequiredSecret
BTG OAuth client_secret.
BTG_CERT_PATH(str)
Required
Absolute path to the mTLS client certificate (.crt or .pem). BACEN mandates mTLS for Pix v2; BTG enforces it across product families.
BTG_KEY_PATH(str)
RequiredSecret
Absolute path to the mTLS private key (.key or .pem).
BTG_ENV(str)
Environment: 'sandbox' or 'production'. Defaults to 'sandbox'.