Dolibarr

Dolibarr

Dolibarr open-source ERP and CRM: third parties, contacts, customer and supplier invoices, orders, proposals, products and stock. REST API on your own installation, DOLAPIKEY auth.

7 天免费 · 无需信用卡 · EU 托管

问 Dolibarr 任何事

通过 AnythingMCP 对 Dolibarr 试一个真实提示 — Claude 调用工具并返回答案。在你的消息上按 Enter 即可在 Cloud 安装。

在 Cloud 上安装 Dolibarr
Dolibarr · 通过 MCP 实时
分享
Opus 4.7

Claude 是 AI,可能会出错。请核对回答。

2 分钟设置

  1. 1在 cloud.anythingmcp.com 开始免费试用。
  2. 2在连接器商店点击 Dolibarr。提示时粘贴凭据。
  3. 3生成 MCP API 密钥,将 AI 客户端指向生成的 MCP URL。
立即安装 Dolibarr

Dolibarr 指南

面向主流 AI 客户端的逐步设置。

配置 Dolibarr

直接来自连接器定义:在哪里获取凭据、需要哪些权限,以及该适配器调用的是哪个 API。 由连接器作者以英文提供。

Turn the module on first. Dolibarr ships the REST API as a module that is off by default.

  1. As an administrator go to Setup → Modules → Web Services API REST and enable it.
  2. Open the user you want the agent to act as, go to the User card → API key area, and generate a key. Put it in DOLIBARR_API_KEY.
  3. Set DOLIBARR_URL to your installation root (no trailing slash, no /api). The adapter appends /api/index.php.

The header is DOLAPIKEY. Not Authorization. Dolibarr also accepts it as a query parameter, but a header keeps it out of the access log.

Permissions follow the user, per module. Dolibarr's rights are fine-grained — a user with no read invoices permission gets a 403 on /invoices, and one with no read third parties sees an empty list. Grant exactly what the agent needs on a dedicated user.

sqlfilters is the powerful part. Dolibarr's list endpoints accept a filter expression like (t.datec:>=:'2026-01-01') and (t.fk_statut:=:1) — the colon-delimited operator syntax is Dolibarr's own and is documented on the wiki. Field names are the SQL column names, prefixed t..

Status codes are integers with per-object meanings. An invoice's status 0 is draft, 1 validated, 2 paid, 3 abandoned. An order's are different again. Do not assume they line up.

Self-hosted, which is the thing to plan for.

  • On AnythingMCP Cloud the instance must be reachable from the public internet on a real hostname with a valid TLS certificate. A self-signed certificate will fail: the connector offers no trust-anything switch.
  • On an internal host (erp.intern, 10.0.0.x), self-host AnythingMCP on the same network and add that host to SSRF_ALLOWED_HOSTS, or the outbound guard refuses the call before it is made.

你的 AI 距离 Dolibarr 仅两次点击。

安装连接器、粘贴凭据、向 AI 提问。7 天免费,无需信用卡。