Promozioni

  • INTERVENTO PLUS: Gestione Completa degli Interventi

    Il modulo “Intervento Plus” è uno strumento rivoluzionario che semplifica e ottimizza la gestione degli interventi, dalla pianificazione alla fatturazione. Pensato per team commerciali e tecnici, offre una suite completa di funzionalità per garantire un monitoraggio trasparente ed efficiente di ogni intervento.

    250,00 €  (500€)
  • Advanced HRM : Advanced human resources management

    This module brings a layer of ergonomics and features missing in the standard Dolibarr human resources management module, such as the facility to create absence requests from the employee schedule, the addition of automatic VAT rates, the integration of the km scale on the tranche 1 and of google maps.

    145,00 €  (290€)

Nuovi Prodotti

MCP Server — AI-powered Dolibarr

mp1568d20260605161600

Nuovo

Connect Claude, ChatGPT, Gemini or any AI agent to Dolibarr via the standard MCP protocol. Secured by SHA-256 hashed tokens, native Dolibarr rights, read-only mode, and full audit trail.

50,00 €
Al netto delle imposte

  • Autore Mohammed mouhsine
  • Versione modulo 1.0.0
  • Rilascio data 05/06/2026
  • Accesso agli aggiornamenti e ai download 2 anni
  • Compatibilità Dolibarr V20+
  • Ultimo aggiornamento 11/06/2026 12.26

Maggiori informazioni...

MCP Server turns your Dolibarr into an AI-pilotable ERP. It exposes a standards-compliant Model Context Protocol (MCP) endpoint over JSON-RPC 2.0 / stateless HTTP, allowing Claude (Anthropic), ChatGPT (OpenAI), Gemini (Google), Mistral, and any MCP-compatible agent or orchestrator to read your data and execute business operations — without the module ever making a single outbound call to an AI vendor. The AI connects into your Dolibarr; your Dolibarr connects to nobody.


Why this module is different

Most "AI + ERP" integrations are chatbots that reformat data. MCP Server implements the real MCP protocol (revision 2025-06-18), the open standard from Anthropic now adopted industry-wide. This means:

  • Native interoperability: any MCP client (Claude Desktop, claude.ai, OpenAI Agents, LangChain, AutoGen, CrewAI, n8n, Make…) connects without custom development.
  • Structured tools with JSON Schema: the AI knows exactly which arguments to pass, eliminating hallucinations on parameters.
  • MCP prompts and resources: beyond tools, the module exposes ready-made business prompt templates (lead qualification, proposal drafting, payment-reminder email) and addressable URI resources (dolibarr://thirdparty/{id}, dolibarr://invoice/{id}).

Security — The foundation

Security is not an afterthought: it is architectural.

Dedicated access tokens

Each AI client receives a unique token generated from 30 random bytes (mcp_xxxx…, 64 hex characters). Only the SHA-256 hash is stored in the database — exactly like GitHub PATs. The plaintext is shown once at creation; if you lose it, generate a new one. Each token carries:

  • A specific Dolibarr user — the token acts on their behalf
  • Scopes — allowed tool groups: thirdparty, sales, invoice, project, etc.
  • An optional expiry date
  • Last-used timestamp and last IP tracking

Two-layer authorization

An AI call is authorised only if:

  1. The token is active, not expired, and the IP is on the allowlist (if configured)
  2. The token scope includes the requested tool's group
  3. The user bound to the token holds the native Dolibarr right for the operation (e.g. propal->creer to create a proposal, facture->paiement to record a payment)

Privilege escalation via a token is impossible. An admin with scope * is still limited to the acting user's rights.

Global configurable controls

Setting Default Description
Read-only mode Off Disables all write tools globally
Confirm sensitive ops On validate_proposal / validate_invoice require confirm=true
Audit log On Records every call in llx_mcpserver_audit
Rate limit 60/min Max calls per token per minute. 0 = unlimited
Max list rows 100 Cap returned by all list/search tools
IP allowlist (any) Accept calls only from specified IPs
Tool groups All Enable/disable each group independently

Full audit trail

Every MCP call is recorded: timestamp, Dolibarr user, method, tool called, argument summary (secrets always redacted)ok/error status, duration in ms, client IP. Viewable directly in the module's administration interface.


27 business tools

🏢 Third parties & contacts (thirdparty)

Tool Description
dolibarr_list_thirdparties List/search third parties by name, code, email or town
dolibarr_get_thirdparty Full details of a third party by id
dolibarr_create_thirdparty Create a third party with automatic customer/supplier code generation
dolibarr_update_thirdparty Update fields of an existing third party
dolibarr_list_contacts List contacts filtered by third party or text search
dolibarr_create_contact Create a contact attached to a third party

📋 Sales (sales)

Tool Description
dolibarr_list_proposals List proposals by third party and status
dolibarr_get_proposal Full proposal detail with line items
dolibarr_create_proposal Create a draft proposal with lines (auto-fetches product label/price/VAT)
dolibarr_validate_proposal ⚠️ Validate a proposal (confirm=true required)
dolibarr_list_orders List customer orders
dolibarr_create_order Create a customer order with line items

🧾 Invoices (invoice)

Tool Description
dolibarr_list_invoices List invoices by third party, status or payment state
dolibarr_get_invoice Full invoice detail with lines and remaining balance
dolibarr_create_invoice Create a draft invoice with line items
dolibarr_validate_invoice ⚠️ Validate an invoice and assign its legal reference (confirm=true required)
dolibarr_list_unpaid_invoices List unpaid invoices with remaining balance, flagging overdue ones

📁 Projects & agenda (project)

Tool Description
dolibarr_list_projects List projects, filtered by third party
dolibarr_create_task Create a task inside a project
dolibarr_create_event Create an agenda event with type, date, third party and project
dolibarr_list_upcoming_events List upcoming events within the next N days

📦 Products (product)

Tool Description
dolibarr_search_products Search products/services by reference or label
dolibarr_get_product Full product detail including real stock when available

📊 Analytics (analytics)

Tool Description
dolibarr_sales_summary Total invoiced excl. VAT, orders and open proposal pipeline over a period
dolibarr_unpaid_summary Count and total of unpaid invoices including overdue subtotal

⚙️ System (system)

Tool Description
dolibarr_whoami Authenticated user, entity, and summary of key permissions
dolibarr_server_capabilities Version, enabled groups, read-only state, rate limit

MCP prompts and resources

Ready-to-use prompts:

  • qualify_lead — Guides the AI to qualify a prospect and suggest next steps in Dolibarr
  • draft_proposal — Helps the AI structure a commercial proposal for a customer
  • dunning_email — Generates a polite payment-reminder email for an overdue invoice

URI resources:

  • dolibarr://thirdparty/{id} — Full third party record as JSON
  • dolibarr://invoice/{id} — Full invoice record as JSON

Connecting an AI client

Claude Desktop / claude.ai: add a custom connector with the endpoint URL and the bearer token.

stdio-only clients (via mcp-remote):

{
  "mcpServers": {
    "dolibarr": {
      "command": "npx",
      "args": ["mcp-remote", "https://your-dolibarr/custom/mcpserver/mcp.php",
               "--header", "Authorization: Bearer YOUR_TOKEN"]
    }
  }
}

Requirements

  • Dolibarr 22.0 or later
  • PHP 8.1 or later



If you think this module is a fork of another one (published after the first one) or violates some terms or conditions of use (for users or vendors), you can make a report at dolistore@dolibarr.org