What It Does
dolibarr-api-mcp is a Model Context Protocol server that bridges AI assistants (Claude Code, Cursor, etc.) with Dolibarr's built-in REST API. It supports multiple named connections for managing production, staging, and development instances.
Tool Categories (85 tools)
- Third Parties (5) — list, get, create, update, delete customers/suppliers/prospects
- Contacts (5) — list, get, create, update, delete
- Invoices (8) — list, get, create, add lines, validate, set paid, add/list payments
- Proposals / Quotes (6) — list, get, create, add lines, validate, close
- Orders (5) — list, get, create, add lines, validate
- Products & Services (5) — list, get, create, update, stock levels
- Projects (4) — list, get, create, update
- Tasks (6) — list, get, create, update, timespent list/add
- Contracts (4) — list, get, create, validate
- Shipments (5) — list, get, create, validate, close
- Agenda Events (4) — list, get, create, update
- Tickets (3) — list, get, create
- Documents (3) — list, download, generate PDF
- Stock & Warehouses (3) — list warehouses, list/create stock movements
- Bank Accounts (2) — list accounts, list transaction lines
- Categories (3) — list, get, create
- Users (3) — list, get, create
- Expense Reports (3) — list, get, create
- Members (2) — list, get
- Interventions (2) — list, get
- Setup & System (5) — status, company info, modules, dictionary, connections
- Generic (1) — raw API request for any endpoint
Quick Start
git clone https://git.mokoconsulting.tech/MokoConsulting/dolibarr-api-mcp.git
cd dolibarr-api-mcp
npm install
npm run build
npm run setup
Claude Code Registration
{
"mcpServers": {
"dolibarr-api": {
"type": "stdio",
"command": "node",
"args": ["/path/to/dolibarr-api-mcp/dist/index.js"]
}
}
}
Source & License
Open source under GPL-3.0-or-later. Repository: MokoConsulting/dolibarr-api-mcp