Bling

Finance and commerce

MCP server for Bling, ERP: products, orders, invoices (NF-e/NFS-e), stock, AR/AP, webhooks.

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

About Bling

Bling is a community MCP server from codespar, filed in our directory under finance and commerce. MCP server for Bling, ERP: products, orders, invoices (NF-e/NFS-e), stock, AR/AP, webhooks.

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

Bling is listed in the official MCP registry as io.github.codespar/mcp-bling, version 0.2.2.

At a glance

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

How to set up Bling

  1. Install Node.js on the machine that runs your AI app, because Bling starts with npx and downloads its package on first run.
  2. Create BLING_ACCESS_TOKEN for Bling in the connected service's own settings, scoped to the smallest permissions the job needs.
  3. Add Bling 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 Bling tools to confirm the connection.
  5. Run one read-only task with Bling first, and keep your app asking before each tool call until the results look right.

Bling compared with similar servers

  • Bold Co by codespar has fewer GitHub stars than Bling (278 against 278); both are community servers, and both run locally.
  • Bitso by codespar has fewer GitHub stars than Bling (278 against 278); both are community servers, and both run locally.
  • Bradesco by codespar has fewer GitHub stars than Bling (278 against 278); both are community servers, and both run locally.

Before you connect Bling

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

Marketing use cases for Bling

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

Small business

  • A small business can ask Bling which products and customers drive margin, then plan promotions around them.
  • Owners can use Bling to check refunds, failed payments and churn reasons without opening three dashboards.
  • Bling 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 Bling to tie campaigns to orders and revenue, not just clicks.
  • Marketing and finance can use Bling to check spend against budget each week and move money to what's working.
  • Start Bling on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises should keep Bling read-only for agents, with any money movement handled by people and existing approvals.
  • Large commerce teams can use Bling to answer revenue questions by channel and region with figures finance signs off on.
  • Bling is a community server, so have security review the code and pin a version before Bling 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

Bling 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-bling

MCP server for Bling, ERP with products, orders, contacts, invoices, and stock management

Quick Start

Claude Desktop

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

{
  "mcpServers": {
    "bling": {
      "command": "npx",
      "args": ["-y", "@codespar/mcp-bling"],
      "env": {
        "BLING_ACCESS_TOKEN": "your-token"
      }
    }
  }
}
Claude Code
claude mcp add bling -- npx @codespar/mcp-bling
Cursor / VS Code

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

{
  "servers": {
    "bling": {
      "command": "npx",
      "args": ["-y", "@codespar/mcp-bling"],
      "env": {
        "BLING_ACCESS_TOKEN": "your-token"
      }
    }
  }
}

Tools (28)

Tool Purpose
list_products List products in Bling
create_product Create a product in Bling
list_categories List product categories in Bling
create_category Create a product category in Bling
list_orders List sales orders in Bling
create_order Create a sales order in Bling
list_purchase_orders List purchase orders (pedidos de compras) in Bling
create_purchase_order Create a purchase order (pedido de compra) in Bling
list_contacts List contacts (customers/suppliers) in Bling
create_contact Create a contact in Bling
get_contact Get a single contact by ID
update_contact Update an existing contact
list_invoices List fiscal invoices (NF-e) in Bling
create_invoice Create a fiscal invoice (NF-e) from an order
send_invoice Send/emit an already-created NF-e to SEFAZ
create_service_invoice Create a service invoice (NFS-e) in Bling
get_stock Get stock/inventory for a product
update_stock Update stock for a product at a warehouse
create_stock_movement Register a stock-in or stock-out movement for a product (alias of update_stock with explicit direction)
list_warehouses List warehouses (depósitos) in Bling
create_warehouse Create a warehouse (depósito) in Bling
list_accounts_receivable List accounts receivable (contas a receber)
create_account_receivable Create an account receivable (conta a receber)
list_accounts_payable List accounts payable (contas a pagar)
create_account_payable Create an account payable (conta a pagar)
list_payment_methods List payment methods (formas de pagamento)
subscribe_webhook Register a webhook (notificação) to receive Bling events
unsubscribe_webhook Remove a previously registered webhook

Authentication

Bling uses OAuth2 Bearer tokens for authentication.

Sandbox / Testing

Bling provides a sandbox via the OAuth flow. Use test credentials for development.

Get your credentials
  1. Go to Bling Developer Portal
  2. Create an account
  3. Register an OAuth application and obtain an access token
  4. Set the BLING_ACCESS_TOKEN environment variable

Environment Variables

Variable Required Description
BLING_ACCESS_TOKEN Yes OAuth2 access token

Roadmap

v0.3 (planned)
  • production_management, Manage production orders
  • multi_store, Multi-store inventory (Mercado Livre, Shopee, Amazon integrations)
  • list_nfce / create_nfce, Consumer invoice (NFC-e) helpers
  • Richer filters on list_accounts_* (by payment status, contact)

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 Bling

What is the Bling MCP server?

MCP server for Bling, ERP: products, orders, invoices (NF-e/NFS-e), stock, AR/AP, webhooks. Bling 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 Bling MCP server?

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

Does Bling need an API key?

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

Is Bling an official MCP server?

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

What license is Bling under?

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