mcp-btg
About
MCP server for BTG Pactual — Pix, Boleto, Account, Investments (CDB/LCI/LCA/funds), OAuth2 + mTLS
Use this server
Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.
Transportstdio (runs a local command)
Env vars
BTG_CLIENT_ID BTG_CLIENT_SECRET BTG_CERT_PATH BTG_KEY_PATH BTG_ENVClaude Code
claude mcp add --env BTG_CLIENT_ID= --env BTG_CLIENT_SECRET= --env BTG_CERT_PATH= --env BTG_KEY_PATH= --env BTG_ENV= mcp-btg -- npx @codespar/mcp-btg
Cursor
If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.
VS Code
code --add-mcp '{"name":"mcp-btg","command":"npx","args":["@codespar/mcp-btg"],"env":{"BTG_CLIENT_ID":"","BTG_CLIENT_SECRET":"","BTG_CERT_PATH":"","BTG_KEY_PATH":"","BTG_ENV":""}}'
JSON
{
"mcpServers": {
"mcp-btg": {
"command": "npx",
"args": [
"@codespar/mcp-btg"
],
"env": {
"BTG_CLIENT_ID": "",
"BTG_CLIENT_SECRET": "",
"BTG_CERT_PATH": "",
"BTG_KEY_PATH": "",
"BTG_ENV": ""
}
}
}
}
Environment variables are listed by name only — fill in your own values. Entries never carry secrets.