erpgent-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@erpgent-mcpGet the list of open invoices from Dolibarr"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
erpgent-mcp
Serveur MCP (Model Context Protocol) qui connecte un agent IA à l'ERP Dolibarr via son API REST. Construit pour ErpGent, un SaaS multi-tenant qui permet de piloter Dolibarr en langage naturel.
Architecture
Le serveur est stateless et multi-tenant : les credentials Dolibarr
(dolibarr_url, api_key) de chaque client sont transmis à chaque appel
d'outil, jamais stockés côté serveur MCP. Un seul déploiement peut donc
servir un nombre illimité de tenants.
Client MCP (agent IA)
→ POST /tool { tool_name, params, dolibarr_url, api_key }
→ dolibarr_mcp résout l'outil dans TOOL_REGISTRY
→ Appel API REST Dolibarr du tenant (DOLAPIKEY: {api_key})
← Résultat JSON
← { result, error }Related MCP server: MCP Server for Odoo
Outils disponibles
Couverture CRUD sur les entités principales de Dolibarr : factures, devis,
commandes, tiers (clients/fournisseurs/prospects), produits/stocks, commandes
fournisseurs, comptes bancaires et rapprochement, documents GED. Voir
dolibarr_mcp/tools.py pour le détail des outils et
leurs paramètres.
Installation
pip install -r requirements.txtConfiguration
Variable | Description |
| Secret partagé requis dans le header |
| Port d'écoute HTTP (défaut |
Les credentials Dolibarr (dolibarr_url, api_key) ne sont pas des
variables d'environnement : ils sont fournis dans le corps de chaque requête
/tool, ce qui permet de servir plusieurs tenants Dolibarr avec un seul
serveur.
Lancer le serveur
python -m dolibarr_mcpOu avec Docker :
docker build -t erpgent-mcp .
docker run -d -p 8001:8001 -e MCP_SERVER_SECRET=your-secret erpgent-mcpUtilisation
curl -X POST http://localhost:8001/tool \
-H "Content-Type: application/json" \
-H "x-mcp-secret: your-secret" \
-d '{
"tool_name": "get_invoices",
"params": {"status": "1", "limit": 10},
"dolibarr_url": "https://your-dolibarr.example.com/api/index.php",
"api_key": "YOUR_DOLIBARR_API_KEY"
}'Tests
pytestDéploiement
Le projet inclut une configuration Railway
(railway.toml) et un Dockerfile prêts à l'emploi.
Licence
Ce code est publié à des fins de consultation uniquement. Usage commercial, modification et redistribution sont interdits sans autorisation écrite — voir LICENSE pour le détail.
Pour toute demande de licence commerciale ou de partenariat, contactez waro.ia.tech@gmail.com.
This server cannot be deployed
Maintenance
Related MCP Connectors
- odooOAuthcom.odooconsole
Odoo ERP for AI agents: hosted OAuth endpoint, gated writes, one endpoint for every instance.
Chile DTE for AI agents - boleta/factura electronica via OpenFactura or LibreDTE. Stateless BYO.
Ecuador factura electronica for AI agents - issue and query SRI e-invoices via Datil. Stateless BYO.
Brazil NFS-e service invoices for AI agents via Focus NFe and NFe.io. Stateless, never stores data.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI assistants to interact with ERPNext/Frappe instances through the REST API, allowing document management, report execution, and DocType operations using natural language.6MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to interact with Odoo ERP systems through natural language, allowing users to search, create, update, and manage business records like customers, products, and invoices across any Odoo instance.1Mozilla Public 2.0
- AlicenseNot gradedqualityDmaintenanceProvides a Model Context Protocol interface for the Dolibarr ERP/CRM, enabling AI agents to manage customers, products, invoices, and orders. It features specialized search tools and server-side filtering to efficiently interact with Dolibarr's REST API while minimizing token usage.1MIT
- AlicenseBqualityCmaintenanceEnables interaction with ERPNext instances via its REST API to manage documents, inventory, and reports. It supports full CRUD operations, submittable document workflows, and schema inspection through natural language.281MIT