Skip to main content
ST

Stark Bank

v0.2.0OAuth2

Banking as a Service: Pix, boleto, TED, statements, and reconciliation. Your agent moves money and tracks every cent.

27 tools1 env vars๐Ÿ‡ง๐Ÿ‡ท Brazilstable on npm

Install

terminal
$ npm install @codespar/mcp-stark-bank

Quickstart

Add this entry to your claude_desktop_config.json (or any MCP-compatible client config).

claude_desktop_config.json
{
  "mcpServers": {
    "stark-bank": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-stark-bank"
      ],
      "env": {
        "STARK_BANK_ACCESS_TOKEN": "<your_stark_bank_access_token>"
      }
    }
  }
}

After restart, your agent can call any of the 27 tools below โ€” try create_transfer first.

Environment variables ยท 1

Required to authenticate the server. Stored encrypted when using CodeSpar managed hosting.

STARK_BANK_ACCESS_TOKEN
requiredsecret

API key for stark-bank

Available tools ยท 27

Each tool is independent โ€” your agent loads only what it needs to reduce context and response time.

WRITEcreate_transfer
Create a bank transfer (Pix or TED)
READget_transfer
Get transfer details by ID
READlist_transfers
List transfers with optional filters
WRITEcreate_boleto
Create a boleto payment
READget_balance
Get current account balance
WRITEcreate_invoice
Create an invoice (generates Pix QR code)
READget_invoice
Get invoice details by ID
READlist_invoices
List invoices with optional filters

Compatible frameworks

MCP is a protocol โ€” any framework that speaks it can mount this server.

Claude Agent SDKAnthropic
OpenAI AgentsOpenAI
Vercel AI SDKVercel
LangChainLangChain
LlamaIndexLlamaIndex
CrewAICrewAI
MastraMastra
Any MCP clientProtocol

Frequently asked questions

All credentials are encrypted at rest in an isolated vault scoped per organization. OAuth2 tokens are automatically refreshed before expiry. Your agent code never sees raw secrets โ€” it receives scoped, short-lived session tokens.
Servers โ€” Every LatAm commerce API your agent needs | CodeSpar