Skip to content
mcp/skillhub

Btg MCP Server

by codespario.github.codespar/mcp-btgv0.1.0-alpha.3

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

272Node.jsstdioofficial registry

context tax

queued

security

queued

cold start

queued

freshness

Active12d ago

Install Btg MCP server

Install in Claude Code

claude mcp add btg -e BTG_CLIENT_ID='<btg-client-id>' -e BTG_CLIENT_SECRET='<btg-client-secret>' -e BTG_CERT_PATH='<btg-cert-path>' -e BTG_KEY_PATH='<btg-key-path>' -- npx -y @codespar/mcp-btg

Configuration

VariableRequiredSecretDescription
BTG_CLIENT_IDyes—BTG OAuth client_id issued via the Developer Portal after contract onboarding.
BTG_CLIENT_SECRETyesyesBTG OAuth client_secret.
BTG_CERT_PATHyes—Absolute path to the mTLS client certificate (.crt or .pem). BACEN mandates mTLS for Pix v2; BTG enforces it across product families.
BTG_KEY_PATHyesyesAbsolute path to the mTLS private key (.key or .pem).
BTG_ENV——Environment: 'sandbox' or 'production'. Defaults to 'sandbox'.

Freshness

Active — last maintenance signal 12d ago. The newest of the signals below sets the band.

  1. Last commit (default branch)

    2026-09-27 · 12d ago · GitHub

  2. Latest release

    no data · GitHub

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    2026-06-22 · 4mo ago · official registry · v0.1.0-alpha.3

FAQ

›How do I install the Btg MCP server in Claude Code?

Run: claude mcp add btg -e BTG_CLIENT_ID='<btg-client-id>' -e BTG_CLIENT_SECRET='<btg-client-secret>' -e BTG_CERT_PATH='<btg-cert-path>' -e BTG_KEY_PATH='<btg-key-path>' -- npx -y @codespar/mcp-btg. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.

›Does Btg require an API key?

Yes. It expects BTG_CLIENT_ID, BTG_CLIENT_SECRET, BTG_CERT_PATH, BTG_KEY_PATH, of which 2 are secrets.

›Can I use Btg as a remote (hosted) MCP server?

No hosted endpoint is published; it runs locally over stdio.

›Is Btg in the official MCP registry?

Yes, as io.github.codespar/mcp-btg.