mirror of
https://github.com/latinogino/dolibarr-mcp.git
synced 2026-04-20 01:02:40 +02:00
1.4 KiB
1.4 KiB
Claude Desktop MCP Configuration for Dolibarr
Installation Instructions
-
First run the installation fix:
fix_installation.bat -
Add to your Claude Desktop config file (
%APPDATA%\Claude\claude_desktop_config.json):
{
"mcpServers": {
"dolibarr-python": {
"command": "python",
"args": [
"C:\\Users\\[YOUR_USERNAME]\\GitHub\\dolibarr-mcp\\mcp_server_launcher.py"
],
"env": {
"DOLIBARR_URL": "https://your-dolibarr-instance.com/api/index.php",
"DOLIBARR_API_KEY": "your-api-key-here"
}
}
}
}
Alternative Configuration (if above doesn't work):
{
"mcpServers": {
"dolibarr-python": {
"command": "C:\\Users\\[YOUR_USERNAME]\\GitHub\\dolibarr-mcp\\venv_dolibarr\\Scripts\\python.exe",
"args": [
"-m",
"dolibarr_mcp"
],
"cwd": "C:\\Users\\[YOUR_USERNAME]\\GitHub\\dolibarr-mcp"
}
}
}
Troubleshooting
- Module not found error: Run
fix_installation.bat - API connection error: Check your
.envfile has correct credentials - Server doesn't start: Try running
python mcp_server_launcher.pymanually to see errors
Testing the Server
After configuration, restart Claude Desktop and check if the server is listed in available MCP servers.
You can test with commands like:
- "Test Dolibarr connection"
- "List Dolibarr users"
- "Show Dolibarr products"