MC

mcp btg MCP Server

Published by codespar

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

CATEGORY
More to explore
DEPLOYMENT
Local package
LATEST SOURCE VERSION
0.1.0-alpha.3
SOURCE CHECKED
Nov 30, 2026

Quick answers

How do I add mcp btg MCP Server to Claude Code, Cursor or Codex?

Claude CodeCommand

Run this in your terminal:

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

Replace the <your-…> placeholder with your own BTG_CLIENT_ID and BTG_CLIENT_SECRET and BTG_CERT_PATH and BTG_KEY_PATH.

Claude Code setup guide
CursorConfig

Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:

{
  "mcpServers": {
    "btg": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-btg"
      ],
      "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>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own BTG_CLIENT_ID and BTG_CLIENT_SECRET and BTG_CERT_PATH and BTG_KEY_PATH.

Cursor setup guide
CodexCommand

Run this in your terminal:

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

Replace the <your-…> placeholder with your own BTG_CLIENT_ID and BTG_CLIENT_SECRET and BTG_CERT_PATH and BTG_KEY_PATH.

Codex setup guide
VS CodeConfig

Add this to .mcp.json at the root of your workspace:

{
  "mcpServers": {
    "btg": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-btg"
      ],
      "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>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own BTG_CLIENT_ID and BTG_CLIENT_SECRET and BTG_CERT_PATH and BTG_KEY_PATH.

VS Code setup guide
Claude DesktopConfig

Add this to claude_desktop_config.json, then restart Claude:

{
  "mcpServers": {
    "btg": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-btg"
      ],
      "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>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own BTG_CLIENT_ID and BTG_CLIENT_SECRET and BTG_CERT_PATH and BTG_KEY_PATH.

Claude Desktop setup guide
ChatGPTNot available

ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.

ChatGPT setup guide

Which apps can use mcp btg MCP Server?

Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.

Does mcp btg MCP Server need an API key?

To run it on your computer, set BTG_CLIENT_ID, BTG_CLIENT_SECRET, BTG_CERT_PATH and BTG_KEY_PATH first, with values from the publisher.

Is mcp btg MCP Server official?

It's published by codespar. The Official MCP Registry accepts names under io.github.codespar only from the GitHub account or organisation codespar. We last checked its listing on Nov 30, 2026. A listing shows where a server comes from; it isn't a security review.

Published packages

npm · @codespar/mcp-btg@0.1.0-alpha.3
View source repository