BTG Pactual MCP
An open-source Model Context Protocol server for BTG Pactual, enabling agents to interact with Pix, Boleto, account services, and investments such as CDB, LCI, LCA, and funds using OAuth2 authentication.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Process Pix payments
- Generate Boleto slips
- Retrieve account information
- Manage investment portfolios
Source and maintenance
Community listingRegistry 0.1.0-alpha.3
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@codespar/mcp-btg 0.1.0-alpha.3
npm
@codespar/mcp-btg package definition
{
"version": "0.1.0-alpha.3",
"transport": "stdio",
"identifier": "@codespar/mcp-btg",
"registryType": "npm",
"environmentVariables": [
{
"name": "BTG_CLIENT_ID",
"format": "string",
"isRequired": true,
"description": "BTG OAuth client_id issued via the Developer Portal after contract onboarding."
},
{
"name": "BTG_CLIENT_SECRET",
"format": "string",
"isRequired": true,
"description": "BTG OAuth client_secret."
},
{
"name": "BTG_CERT_PATH",
"format": "string",
"isRequired": true,
"description": "Absolute path to the mTLS client certificate (.crt or .pem). BACEN mandates mTLS for Pix v2; BTG enforces it across product families."
},
{
"name": "BTG_KEY_PATH",
"format": "string",
"isRequired": true,
"description": "Absolute path to the mTLS private key (.key or .pem)."
},
{
"name": "BTG_ENV",
"format": "string",
"description": "Environment: 'sandbox' or 'production'. Defaults to 'sandbox'."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
Cursor configuration
{
"mcpServers": {
"btg-pactual-mcp": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-btg@0.1.0-alpha.3"
],
"env": {
"BTG_CLIENT_ID": "<YOUR_BTG_CLIENT_ID>",
"BTG_CLIENT_SECRET": "<YOUR_BTG_CLIENT_SECRET>",
"BTG_CERT_PATH": "<YOUR_BTG_CERT_PATH>",
"BTG_KEY_PATH": "<YOUR_BTG_KEY_PATH>",
"BTG_ENV": "<YOUR_BTG_ENV>"
}
}
}
}Cline
Cline configuration
{
"mcpServers": {
"btg-pactual-mcp": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-btg@0.1.0-alpha.3"
],
"env": {
"BTG_CLIENT_ID": "<YOUR_BTG_CLIENT_ID>",
"BTG_CLIENT_SECRET": "<YOUR_BTG_CLIENT_SECRET>",
"BTG_CERT_PATH": "<YOUR_BTG_CERT_PATH>",
"BTG_KEY_PATH": "<YOUR_BTG_KEY_PATH>",
"BTG_ENV": "<YOUR_BTG_ENV>"
}
}
}
}VS Code
VS Code configuration
{
"servers": {
"btg-pactual-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@codespar/mcp-btg@0.1.0-alpha.3"
],
"env": {
"BTG_CLIENT_ID": "<YOUR_BTG_CLIENT_ID>",
"BTG_CLIENT_SECRET": "<YOUR_BTG_CLIENT_SECRET>",
"BTG_CERT_PATH": "<YOUR_BTG_CERT_PATH>",
"BTG_KEY_PATH": "<YOUR_BTG_KEY_PATH>",
"BTG_ENV": "<YOUR_BTG_ENV>"
}
}
}
}Claude Desktop
Claude Desktop configuration
{
"mcpServers": {
"btg-pactual-mcp": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-btg@0.1.0-alpha.3"
],
"env": {
"BTG_CLIENT_ID": "<YOUR_BTG_CLIENT_ID>",
"BTG_CLIENT_SECRET": "<YOUR_BTG_CLIENT_SECRET>",
"BTG_CERT_PATH": "<YOUR_BTG_CERT_PATH>",
"BTG_KEY_PATH": "<YOUR_BTG_KEY_PATH>",
"BTG_ENV": "<YOUR_BTG_ENV>"
}
}
}
}Let your agent find its tools
Find servers like BTG Pactual MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.