
latinogino/dolibarr-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Dolibarr MCP 서버
개요
Dolibarr MCP는 Dolibarr ERP/CRM의 모델 Context Protocol (MCP) 인터페이스를 제공합니다. 프로젝트는 prestashop-mcp의 프로젝트 구조를 반영합니다: async API 클라이언트, 생산 ready STDIO 서버 및 집중된 문서. 같은 아키텍처를 공유하는 동안, 이 서버는 (예를 들어, search products by ref, resolve product ref) 대신 단일 unified get tool을 구현합니다. 이 디자인 선택은 Dolibarr's SQL API를 통해 효율적인 서버 측 필터링을 보장하며 수천 개의 레코드를 적재하고 컨텍스트 제한을 초과합니다. Claude Desktop 및 기타 MCP-aware 도구는 Dolibarr 인스턴스의 고객, 제품, 송장, 주문 및 연락처를 관리하기 위해 서버를 사용할 수 있습니다. 구성, API 적용, 기여자 워크플로우로 딥 다이브에 대한 번들된 문서 인덱스를 확인하십시오. - – 사용자, 고객, 제품, 송장, 주문, 연락처, 프로젝트 및 API 액세스를위한 CRUD 도구.
개요(AI 번역)
Dolibarr MCP는 Dolibarr의 모델 Context Protocol (MCP) 인터페이스를 제공합니다.
ERP/CRM의 장점 프로젝트는 prestashop-mcp의 프로젝트 구조를 반영합니다:
async API 클라이언트, 생산 ready STDIO 서버, 초점
문서.
디자인 노트: 같은 아키텍처를 공유하는 동안, 이 서버는 **전문 검색 도구 ** (예: search_products_by_ref, resolve_product_ref]) 대신 단일 통합 get_] 도구. 이 디자인 선택은 Dolibarr’s SQL API를 통해 효율적인 서버 측 필터링을 보장하며 수천 개의 레코드를 적재하고 컨텍스트 제한을 초과합니다.
Claude Desktop 및 기타 MCP-aware 도구는 서버에서 사용할 수 있습니다. 고객, 제품, 송장, 주문 및 Dolibarr의 연락처 관리 예.
딥 다이빙에 대한 번들된 문서 인덱스 구성, API 적용 및 기여자 워크플로우.
✨ 특징
-Full ERP 적용 – 사용자, 고객, 제품, 송장용 CRUD 툴 주문, 연락처, 프로젝트 및 API 액세스.
- Advanced Search – 제품, 고객 및 프로젝트에 대한 서버 측 필터링은 토큰 사용 및 비용을 최소화합니다.
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Dolibarr MCP Server
Dolibarr MCP delivers a Model Context Protocol (MCP) interface for the Dolibarr
ERP/CRM. The project mirrors the project structure of prestashop-mcp:
an async API client, a production-ready STDIO server, and focused
documentation.
Design Note: While sharing the same architecture, this server implements specialized search tools (e.g., search_products_by_ref, resolve_product_ref) instead of a single unified get_ tool. This design choice ensures efficient server-side filtering via Dolibarr’s SQL API, preventing the agent from accidentally loading thousands of records and exceeding context limits.
Claude Desktop and other MCP-aware tools can use the server to manage customers, products, invoices, orders, and contacts in a Dolibarr instance.
Consult the bundled documentation index for deep dives into configuration, API coverage, and contributor workflows.
✨ Features
- Full ERP coverage – CRUD tools for users, customers, products, invoices, orders, contacts, projects, and raw API access.
- Advanced Search – Server-side filtering for products, customers, and projects to minimize token usage and costs.
- Async/await HTTP client – Efficient Dolibarr API wrapper with structured error handling.
- Ready for MCP hosts – STDIO transport compatible with Claude Desktop out of the box.
- Shared workflow with prestashop-mcp – Identical developer ergonomics and documentation structure across both repositories.
✅ Prerequisites
- Python 3.8 or newer.
- Access to a Dolibarr installation with the REST API enabled and a personal API token.
📦 Installation
Linux / macOS
git clone https://github.com/latinogino/dolibarr-mcp.git
cd dolibarr-mcp
python3 -m venv venv_dolibarr
source venv_dolibarr/bin/activate
pip install -e .
# Optional development extras
pip install -e '.[dev]'
While the virtual environment is active record the Python executable path with
which python. Claude Desktop must launch the MCP server using this interpreter.
Windows (PowerShell)
git clone https://github.com/latinogino/dolibarr-mcp.git
Set-Location dolibarr-mcp
py -3 -m venv venv_dolibarr
./venv_dolibarr/Scripts/Activate.ps1
pip install -e .
# Optional development extras (escape brackets in PowerShell)
pip install -e .`[dev`]
Run Get-Command python (or Get-Command python.exe) while the environment is
activated and note the absolute path. Claude Desktop should use this interpreter
inside the virtual environment, for example
C:\\path\\to\\dolibarr-mcp\\venv_dolibarr\\Scripts\\python.exe.
Docker (optional)
# Copy the template and update credentials (file is gitignored)
cp .env.example .env
# Start the HTTP listener for MCP clients (Open WebUI, MCPO, etc.)
docker compose up -d
# or
docker build -t dolibarr-mcp .
docker run -d \
설치
docker run -d \설정
{
"mcpServers": {
"dolibarr": {
"command": "C:\\path\\to\\dolibarr-mcp\\venv_dolibarr\\Scripts\\python.exe",
"args": ["-m", "dolibarr_mcp.dolibarr_mcp_server"],
"cwd": "C:\\path\\to\\dolibarr-mcp",
"env": {
"DOLIBARR_SHOP_URL": "https://your-dolibarr.example.com",
"DOLIBARR_API_KEY": "YOUR_API_KEY"
}
}
}
}