# mcp-stark-bank

Connects coding assistants to Stark Bank to handle Pix transfers, boletos, invoices, and balance checks.

- 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/banking/stark-bank
- Updated: 2026-09-27
- HTML: https://affpapa.org/en/nevibecode/mcp/mcp-stark-bank

## What it does

This MCP server gives your assistant direct access to Stark Bank banking APIs. It includes 27 tools for daily financial tasks. The agent can look up current account balances, trigger Pix or TED payouts, and generate customer invoices with dynamic Pix QR codes.

The server also handles boleto issuance, tax payments like DARF, and Pix key management. Without `STARK_BANK_ACCESS_TOKEN` set in your environment, authentication will fail immediately. You can test workflows without real money by setting `STARK_BANK_SANDBOX` to `true`.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `STARK_BANK_ACCESS_TOKEN` — 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-stark-bank -e STARK_BANK_ACCESS_TOKEN=<STARK_BANK_ACCESS_TOKEN> -- npx -y @codespar/mcp-stark-bank
```
Replace <…> with your own values

### Codex

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

### Cursor

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

### GitHub Copilot

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

### Gemini CLI

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

## When to use it
- check company account balance directly from the editor
- create customer invoices that generate Pix QR codes
- execute Pix or TED transfers to external accounts
- pay boleto slips and Brazilian tax forms
- manage Pix key registrations and cancellations

## Example prompts
- Check my current account balance in Stark Bank
- Issue an invoice for 200 BRL with a Pix QR code
- Fetch recent incoming deposit records

## 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) — 124 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
