# mcp-inter-bank

Wires Banco Inter into an AI coding agent: issue boletos, take PIX payments, read balance and statements. Handy when money tasks run from chat.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 274
- Author: codespar
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/codespar/mcp-dev-latam/tree/HEAD/packages/payments/inter-bank
- Updated: 2026-09-27
- HTML: https://affpapa.org/en/nevibecode/mcp/mcp-inter-bank

## What it does

An MCP server exposing 22 tools for the Brazilian bank Banco Inter. Your agent can open a boleto, generate a PIX charge with its BR Code, look up incoming payments, send a PIX refund, read the balance, pull a statement as PDF, and register notification webhooks.

Auth is OAuth2 client credentials against `/oauth/v2/token`. Permissions come as scopes per API: `boleto-cobranca.read` and `boleto-cobranca.write` cover boletos, `pix.read` and `pix.write` cover PIX, `extrato.read` and `pagamento-ted.write` cover statements and TED transfers. You register an app on the Banco Inter developer portal to obtain `INTER_CLIENT_ID` and `INTER_CLIENT_SECRET`.

Stdio is the default transport when launched through `npx`; setting `MCP_HTTP=true` and `MCP_PORT=3000` switches it to HTTP. Both credentials have to be in the environment before the server starts, otherwise the OAuth2 handshake fails and every API call after it does too.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `INTER_CLIENT_ID` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add mcp-inter-bank -e INTER_CLIENT_ID=<INTER_CLIENT_ID> -- npx -y @codespar/mcp-inter-bank
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add inter-bank --env INTER_CLIENT_ID=<INTER_CLIENT_ID> -- npx -y @codespar/mcp-inter-bank
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "inter-bank": {
            "command": "npx",
            "args": [
                "-y",
                "@codespar/mcp-inter-bank"
            ],
            "env": {
                "INTER_CLIENT_ID": "<INTER_CLIENT_ID>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "inter-bank": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@codespar/mcp-inter-bank"
            ],
            "env": {
                "INTER_CLIENT_ID": "<INTER_CLIENT_ID>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e INTER_CLIENT_ID=<INTER_CLIENT_ID> inter-bank npx -y @codespar/mcp-inter-bank
```
Replace <…> with your own values

## When to use it
- issue a boleto and hand over its PDF
- generate a PIX charge with a BR Code
- reconcile balance and a date-range statement
- refund a received PIX transaction
- register a webhook for boleto or PIX events

## Example prompts
- Create a boleto for 250 reais and give me the PDF
- Show last week's account statement with counterparties
- Make a PIX charge and return the payment code

## Similar
- [World Monitor](https://affpapa.org/en/nevibecode/mcp/world-monitor.md) — MCP server · ★ 89408
- [CCXT](https://affpapa.org/en/nevibecode/mcp/ccxt.md) — MCP server · ★ 44583
- [Finance Toolkit](https://affpapa.org/en/nevibecode/mcp/finance-toolkit.md) — MCP server · ★ 5458
- [EdgarTools](https://affpapa.org/en/nevibecode/mcp/edgartools.md) — MCP server · ★ 2814
- [LetsFG — Flights & Hotels](https://affpapa.org/en/nevibecode/mcp/letsfg-flights-hotels.md) — MCP server · ★ 2188
- [AutoTS](https://affpapa.org/en/nevibecode/mcp/autots.md) — MCP server · ★ 1434

From the same set: [codespar/mcp-dev-latam](https://affpapa.org/en/nevibecode/by/codespar/mcp-dev-latam.md) — 40 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
