Dolibarr (MCP)

Interact with Dolibarr ERP/CRM via MCP server

Create

AI-generated

Summary

Send a create request to the configured Dolibarr MCP server for the selected endpoint, using the supplied JSON data. The operation returns the MCP result for each input item.

Inputs

  • MCP Server URL (required) — URL of the Dolibarr MCP server; defaults to http://localhost:3000/mcp.
  • Endpoint (required) — Dolibarr endpoint to create a record in: thirdparties, products, users, invoices, orders, proposals, contracts, projects, or a custom endpoint.
  • Custom Endpoint (required) — Endpoint name to use when Endpoint is set to Custom Endpoint.
  • Data (required) — JSON object describing the record to create. The node parses this value and sends it as the request data; invalid JSON causes an error.

Output shape

One n8n item per input item, containing the MCP result in its json field.

The node calls the MCP tool dolibarr_post with the selected endpoint and parsed data. It uses response.result when present, otherwise the full response. With Continue On Fail enabled, errors are returned in an item as {"error": "..."}; otherwise they are thrown.

Examples

Example 1: Create a customer third party

Set Endpoint to Third Parties (Customers/Suppliers) and provide the record fields as JSON in Data.

Links

Discussion