Mcp Bling

io.github.codespar由 GitHub 账号 codespar 发布v0.2.2更新于 Oct 24, 2026

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

已验证STDIO仅桌面金融商业与电商

概览

AI 生成的概览

面向 Bling ERP 的 MCP 服务器,让助手在 Bling 账户中查询和创建产品、订单、联系人、发票、库存及应收应付记录。

可以做什么
  • 列出并创建产品与产品分类
  • 列出并创建销售订单和采购订单
  • 列出、查询、创建和更新联系人(客户与供应商)
  • 列出并创建税务发票(NF-e),将 NF-e 发送至 SEFAZ,并创建服务发票(NFS-e)
  • 按仓库查询和更新库存、登记出入库变动,并列出或创建仓库
  • 列出并创建应收与应付账款,并列出付款方式
适用场景
适合需要让助手直接在巴西 Bling ERP 账户中操作时使用:查询商品、订单、联系人、发票、库存或财务记录,或根据对话起草订单、发票和库存变动等新记录。
运行要求
通过 npx 从 npm 包 @codespar/mcp-bling 在本地运行(需要 Node.js),可在 Claude Desktop、Claude Code、Cursor 或 VS Code 中配置。需要 Bling 开发者账户,并通过 BLING_ACCESS_TOKEN 环境变量提供 OAuth2 访问令牌。需要访问 Bling API 的网络连接。
安装前请注意
BLING_ACCESS_TOKEN 中的令牌可访问真实 ERP 账户,请勿放入共享配置,测试时优先使用沙箱凭据。许多工具会创建或修改数据,包括订单、发票、联系人、库存数量及应收应付账款;send_invoice 会将税务发票发送至 SEFAZ,难以撤销。注册 webhook 会更改账户设置。README 还提到另有付费的企业版服务。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Mcp Bling,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

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

来源:packages/erp/bling/README.md,提交 d0a519a

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.2.2最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分