mcp-stark-bank — Claude Code MCP server: what it does, how to install
Connects coding assistants to Stark Bank to handle Pix transfers, boletos, invoices, and balance checks.
claude mcp add mcp-stark-bank -e STARK_BANK_ACCESS_TOKEN=<STARK_BANK_ACCESS_TOKEN> -- npx -y @codespar/mcp-stark-bankWhat mcp-stark-bank 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.
What it helps with
- 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 for the agent
- Check my current account balance in Stark Bank
- Issue an invoice for 200 BRL with a Pix QR code
- Fetch recent incoming deposit records
How to install mcp-stark-bank
Platform CLI
claude mcp add mcp-stark-bank -e STARK_BANK_ACCESS_TOKEN=<STARK_BANK_ACCESS_TOKEN> -- npx -y @codespar/mcp-stark-bankReplace <…> with your own values
Platform CLI
codex mcp add stark-bank --env STARK_BANK_ACCESS_TOKEN=<STARK_BANK_ACCESS_TOKEN> -- npx -y @codespar/mcp-stark-bankReplace <…> with your own values
Config file
{
"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
Config file
{
"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
Platform CLI
gemini mcp add -e STARK_BANK_ACCESS_TOKEN=<STARK_BANK_ACCESS_TOKEN> stark-bank npx -y @codespar/mcp-stark-bankReplace <…> with your own values
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about mcp-stark-bank
How to install mcp-stark-bank in Claude Code?
Run claude mcp add mcp-stark-bank -e STARK_BANK_ACCESS_TOKEN=<STARK_BANK_ACCESS_TOKEN> -- npx -y @codespar/mcp-stark-bank. Replace the placeholder with your personal access token from Stark Bank.
What does mcp-stark-bank do?
It provides tools for Stark Bank accounts, letting language models handle transfers, invoices, and account reconciliation. Operations include Pix payments, boleto generation, and tax settlement.
How do I test mcp-stark-bank without moving real money?
Set the STARK_BANK_SANDBOX environment variable to true. All API calls will route to sandbox.api.starkbank.com instead of production endpoints.