mirror of
https://github.com/latinogino/dolibarr-mcp.git
synced 2026-04-12 05:45:35 +02:00
1.4 KiB
1.4 KiB
Quickstart
Follow these steps to install and run the Dolibarr MCP server. The process
mirrors the streamlined developer experience of the prestashop-mcp project.
1. Clone the repository
git clone https://github.com/latinogino/dolibarr-mcp.git
cd dolibarr-mcp
2. Create a virtual environment
Linux / macOS
python3 -m venv .venv
source .venv/bin/activate
Windows (Visual Studio Developer PowerShell)
vsenv
py -3 -m venv .venv
.\.venv\Scripts\Activate.ps1
where python # copy this path for Claude Desktop
3. Install the package
pip install -e .
For development and testing utilities add the optional extras:
pip install -e '.[dev]'
On Windows escape the brackets inside PowerShell:
pip install -e .`[dev`]
4. Configure credentials
Create a .env file in the project root (see configuration.md)
or export the variables within your MCP host application.
5. Run the server
python -m dolibarr_mcp.cli serve
The command starts the STDIO based MCP server that Claude Desktop and other
clients can communicate with. When wiring the server into Claude Desktop, set
command to the path returned by where python (Windows) or which python
(Linux/macOS) while the virtual environment is activated, and use the arguments
-m dolibarr_mcp.cli serve.