Mcp Bling

io.github.codesparPublished by GitHub account codesparv0.2.2Updated Oct 24, 2026

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

VerifiedSTDIODesktop onlyFinanceBusiness & Commerce

Overview

AI-generated overview

MCP server for Bling ERP that lets an assistant list and create products, orders, contacts, invoices, stock records, and payables in a Bling account.

What you can do
  • List and create products and product categories
  • List and create sales orders and purchase orders
  • List, get, create and update contacts (customers and suppliers)
  • List and create fiscal invoices (NF-e), emit an NF-e to SEFAZ, and create service invoices (NFS-e)
  • Read and update stock per warehouse, register stock movements, and list or create warehouses
  • List and create accounts receivable and payable, and list payment methods
When to use it
Useful when an assistant should work inside a Brazilian Bling ERP account: looking up catalog, order, contact, invoice, stock or financial records, or drafting new records such as orders, invoices and stock movements from a conversation.
Requirements
Runs locally via npx from the npm package @codespar/mcp-bling (Node.js needed) and is configured in Claude Desktop, Claude Code, Cursor or VS Code. Requires a Bling developer account and an OAuth2 access token supplied in the BLING_ACCESS_TOKEN environment variable. Network access to the Bling API is needed.
Before you install
The token in BLING_ACCESS_TOKEN grants access to a real ERP account; keep it out of shared configs and prefer sandbox credentials for testing. Many tools create or change data, including orders, invoices, contacts, stock levels and accounts payable/receivable, and send_invoice emits a fiscal document to SEFAZ, which is hard to undo. Webhook registration changes account settings. The README also mentions a separate paid enterprise offering.

Installation

In SourceWeft

  1. Open Mcp Bling in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

@codespar/mcp-bling

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

[npm] [License: MIT]

Quick Start

Claude Desktop

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

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

Claude Code

bash
claude mcp add bling -- npx @codespar/mcp-bling

Cursor / VS Code

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

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

Tools (28)

ToolPurpose
list_productsList products in Bling
create_productCreate a product in Bling
list_categoriesList product categories in Bling
create_categoryCreate a product category in Bling
list_ordersList sales orders in Bling
create_orderCreate a sales order in Bling
list_purchase_ordersList purchase orders (pedidos de compras) in Bling
create_purchase_orderCreate a purchase order (pedido de compra) in Bling
list_contactsList contacts (customers/suppliers) in Bling
create_contactCreate a contact in Bling
get_contactGet a single contact by ID
update_contactUpdate an existing contact
list_invoicesList fiscal invoices (NF-e) in Bling
create_invoiceCreate a fiscal invoice (NF-e) from an order
send_invoiceSend/emit an already-created NF-e to SEFAZ
create_service_invoiceCreate a service invoice (NFS-e) in Bling
get_stockGet stock/inventory for a product
update_stockUpdate stock for a product at a warehouse
create_stock_movementRegister a stock-in or stock-out movement for a product (alias of update_stock with explicit direction)
list_warehousesList warehouses (depósitos) in Bling
create_warehouseCreate a warehouse (depósito) in Bling
list_accounts_receivableList accounts receivable (contas a receber)
create_account_receivableCreate an account receivable (conta a receber)
list_accounts_payableList accounts payable (contas a pagar)
create_account_payableCreate an account payable (conta a pagar)
list_payment_methodsList payment methods (formas de pagamento)
subscribe_webhookRegister a webhook (notificação) to receive Bling events
unsubscribe_webhookRemove 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

VariableRequiredDescription
BLING_ACCESS_TOKENYesOAuth2 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

Source: packages/erp/bling/README.md at commit d0a519a

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v0.2.2LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts