Stark Bank

Finance and commerce

MCP server for Stark Bank, transfers, boletos, invoices, Pix, balance.

Your AI app calls the Stark Bank MCP server, which does the finance and commerce work and sends the result back to the chat.

About Stark Bank

Stark Bank is a community MCP server from codespar, filed in our directory under finance and commerce. MCP server for Stark Bank, transfers, boletos, invoices, Pix, balance.

Stark Bank runs on your own machine: your AI app starts it with the command npx -y @codespar/mcp-stark-bank@0.2.2 and talks to it over standard input and output. It needs STARK_BANK_ACCESS_TOKEN set before Stark Bank starts.

Stark Bank is listed in the official MCP registry as io.github.codespar/mcp-stark-bank, version 0.2.2.

At a glance

Publisher
codespar (community)
Runs
Locally on your machine
Install from
Node.js package on npm: @codespar/mcp-stark-bank
Written in
TypeScript
License
MIT
GitHub stars
278
Official MCP registry
io.github.codespar/mcp-stark-bank

How to set up Stark Bank

  1. Install Node.js on the machine that runs your AI app, because Stark Bank starts with npx and downloads its package on first run.
  2. Create STARK_BANK_ACCESS_TOKEN for Stark Bank in the connected service's own settings, scoped to the smallest permissions the job needs.
  3. Add Stark Bank to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Stark Bank tools to confirm the connection.
  5. Run one read-only task with Stark Bank first, and keep your app asking before each tool call until the results look right.

Stark Bank compared with similar servers

  • Stone by codespar has fewer GitHub stars than Stark Bank (278 against 278); both are community servers, and both run locally.
  • Skydropx by codespar has fewer GitHub stars than Stark Bank (278 against 278); both are community servers, and both run locally.
  • Stp Spei by codespar has fewer GitHub stars than Stark Bank (278 against 278); both are community servers, and both run locally.

Before you connect Stark Bank

  • Give Stark Bank its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Stark Bank tool call until you trust what it does with them.
  • Treat text that Stark Bank fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Stark Bank on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Stark Bank

How marketing and sales teams put Stark Bank to work, by company size. Pick the size closest to yours and start Stark Bank on one use case.

Small business

  • A small business can ask Stark Bank which products and customers drive margin, then plan promotions around them.
  • Owners can use Stark Bank to check refunds, failed payments and churn reasons without opening three dashboards.
  • Stark Bank runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Ecommerce teams can connect Stark Bank to tie campaigns to orders and revenue, not just clicks.
  • Marketing and finance can use Stark Bank to check spend against budget each week and move money to what's working.
  • Start Stark Bank on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises should keep Stark Bank read-only for agents, with any money movement handled by people and existing approvals.
  • Large commerce teams can use Stark Bank to answer revenue questions by channel and region with figures finance signs off on.
  • Stark Bank is a community server, so have security review the code and pin a version before Stark Bank touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Stark Bank README

From codespar/mcp-dev-latam on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

@codespar/mcp-stark-bank

MCP server for Stark Bank, digital banking with transfers, boletos, invoices, and Pix

Quick Start

Claude Desktop

Add to ~/.config/claude/claude_desktop_config.json:

{
  "mcpServers": {
    "stark-bank": {
      "command": "npx",
      "args": ["-y", "@codespar/mcp-stark-bank"],
      "env": {
        "STARK_BANK_ACCESS_TOKEN": "your-token",
        "STARK_BANK_SANDBOX": "true"
      }
    }
  }
}
Claude Code
claude mcp add stark-bank -- npx @codespar/mcp-stark-bank
Cursor / VS Code

Add to .cursor/mcp.json or .vscode/mcp.json:

{
  "servers": {
    "stark-bank": {
      "command": "npx",
      "args": ["-y", "@codespar/mcp-stark-bank"],
      "env": {
        "STARK_BANK_ACCESS_TOKEN": "your-token",
        "STARK_BANK_SANDBOX": "true"
      }
    }
  }
}

Tools (27)

Tool Purpose
create_transfer Create a bank transfer (Pix or TED)
get_transfer Get transfer details by ID
list_transfers List transfers with optional filters
create_boleto Create a boleto payment
get_balance Get current account balance
create_invoice Create an invoice (generates Pix QR code)
get_invoice Get invoice details by ID
list_invoices List invoices with optional filters
create_pix_request Create a Pix payment request
get_webhook_events Get webhook events (payment confirmations, transfers, etc.)
create_payment_request Create a payment request for approval workflow
get_payment_request Get payment request details by ID
list_payment_requests List payment requests with optional filters
create_brcode_payment Pay a BR Code (Pix QR code / copia-e-cola)
get_deposit Get deposit details by ID (incoming Pix or TED)
create_boleto_issue Issue a boleto receivable (generates barcode/digitable line to collect payment)
get_boleto Get an issued boleto by ID
list_boletos List issued boletos with optional filters
delete_boleto Cancel an issued boleto (only allowed while unpaid / in 'created' or 'registered' state)
create_pix_key Register a Pix key (CPF/CNPJ, email, phone, or EVP/random)
get_pix_key Get Pix key details by ID
list_pix_keys List registered Pix keys with optional filters
delete_pix_key Cancel / deregister a Pix key
list_deposits List deposits (incoming Pix or TED) with optional filters
create_utility_payment Pay a utility bill (e.g.
create_tax_payment Pay a tax (DARF, GPS, GRU, etc.) by barcode / digitable line
list_workspaces List workspaces the organization has access to (multi-tenant subaccounts)

Authentication

Stark Bank uses a Bearer token for API authentication.

Sandbox / Testing

Stark Bank provides a sandbox at sandbox.api.starkbank.com. Set STARK_BANK_SANDBOX=true to use it.

Get your credentials
  1. Go to Stark Bank
  2. Create an account
  3. Generate an API access token from the dashboard
  4. Set the environment variables

Environment Variables

Variable Required Description
STARK_BANK_ACCESS_TOKEN Yes API access token
STARK_BANK_SANDBOX No Set to "true" for sandbox mode

Roadmap

v0.2 (planned)
  • create_payment_request, Create a payment request
  • get_payment_request, Get payment request details
  • list_payment_requests, List payment requests with filters
  • create_brcode_payment, Create a BR Code (Pix) payment
  • get_deposit, Get deposit details
v0.3 (planned)
  • create_workspace, Create a new workspace
  • tax_payment, Create a tax payment (DAS, DARF, etc.)
  • utility_payment, Create a utility payment (boleto, bills)

Want to contribute? Open a PR or request a tool.

Links

Enterprise

Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.

License

MIT

Questions about Stark Bank

What is the Stark Bank MCP server?

MCP server for Stark Bank, transfers, boletos, invoices, Pix, balance. Stark Bank is maintained by codespar on GitHub at codespar/mcp-dev-latam, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Stark Bank MCP server?

Add Stark Bank to your AI app's MCP config with the command npx -y @codespar/mcp-stark-bank@0.2.2. In Claude Code, run claude mcp add --transport stdio codespar-stark-bank -- npx -y @codespar/mcp-stark-bank@0.2.2. To run Stark Bank this way you need Node.js installed.

Does Stark Bank need an API key?

Yes. Stark Bank expects STARK_BANK_ACCESS_TOKEN to be set. Create the key for Stark Bank in the connected service's own settings, give it the smallest permissions the job needs, and keep it out of shared config files.

Is Stark Bank an official MCP server?

No. Stark Bank is a community server maintained by codespar. Community servers can be excellent; read the code and the open issues before you give Stark Bank access to company data.

What license is Stark Bank under?

Stark Bank is released under the MIT license, according to its GitHub repository. The license covers the code of Stark Bank; the service it connects to has its own terms.