
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
context tax
pending
security
100/100
cold start
pending
freshness
Active48d ago
Our reading of Btg, from the data
Btg is an MCP server from codespar, listed in the official MCP Registry.
We haven't measured its tool list yet, so its token cost is unknown.
Maintenance is active: the last public signal was 2 months ago (2026-09-27).
It runs locally on your machine over stdio and needs 2 secrets (BTG_CLIENT_SECRET, BTG_KEY_PATH); use a scoped, least-privilege key.
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-btgInstall in Cursor
{
"mcpServers": {
"btg": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-btg"
],
"env": {
"BTG_CLIENT_ID": "<btg-client-id>",
"BTG_CLIENT_SECRET": "<btg-client-secret>",
"BTG_CERT_PATH": "<btg-cert-path>",
"BTG_KEY_PATH": "<btg-key-path>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"btg": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-btg"
],
"env": {
"BTG_CLIENT_ID": "<btg-client-id>",
"BTG_CLIENT_SECRET": "<btg-client-secret>",
"BTG_CERT_PATH": "<btg-cert-path>",
"BTG_KEY_PATH": "<btg-key-path>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"btg": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@codespar/mcp-btg"
],
"env": {
"BTG_CLIENT_ID": "<btg-client-id>",
"BTG_CLIENT_SECRET": "<btg-client-secret>",
"BTG_CERT_PATH": "<btg-cert-path>",
"BTG_KEY_PATH": "<btg-key-path>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"btg": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-btg"
],
"env": {
"BTG_CLIENT_ID": "<btg-client-id>",
"BTG_CLIENT_SECRET": "<btg-client-secret>",
"BTG_CERT_PATH": "<btg-cert-path>",
"BTG_KEY_PATH": "<btg-key-path>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Try it in a sandbox first: this installs it with scripts off and starts it with no network, then lists its tools and token cost. How it works
npx mcpskillhub test @codespar/mcp-btg --env BTG_CLIENT_ID --env BTG_CLIENT_SECRET --env BTG_CERT_PATH
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| BTG_CLIENT_ID | yes | — | BTG OAuth client_id issued via the Developer Portal after contract onboarding. |
| BTG_CLIENT_SECRET | yes | yes | BTG OAuth client_secret. |
| BTG_CERT_PATH | yes | — | 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 | yes | yes | Absolute path to the mTLS private key (.key or .pem). |
| BTG_ENV | — | — | Environment: 'sandbox' or 'production'. Defaults to 'sandbox'. |
Security signals
100/100 — no known issues found as of 2026-10-19, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.
Deductions
No findings from the checks that ran.
Checks
- ✓Repository hygiene (archived, activity, license, security policy)
- ○Package metadata (install scripts, provenance) — pending
- ○Tool descriptions (prompt-injection and hidden-text heuristics) — pending
- ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending
Scan it yourself before installing with vectra-guard, the open-source agent security CLI (made by NavyaAI, which also runs MCPSkillHub). Scoring rules
Freshness
Active — last maintenance signal 48d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-27 · 48d ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-06-22 · 5mo 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.
Sources and method
- Official MCP Registry entry
- updated 2026-06-22
- GitHub repository
- fetched 2026-10-19
- Package registry (npm / PyPI)
- listed
- Security signals, computed by us
- 2026-10-19
- Last checked against all sources
- 2026-10-19
The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Editorial standards are owned by Ramachandra Vikas Chamarthi, Founder & AI HPC Architect. Spot an error? Request a correction or claim the listing.