
latinogino/dolibarr-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
Dolibarr MCP サーバー
概要
Dolibarr MCP は、Dolibarr ERP/CRM のモデルコンテキストプロトコル (MCP) インターフェイスを提供します。 プロジェクトは、prestashop-mcp のプロジェクト構造をミラーリングします。非同期の API クライアント、生産準備の STDIO サーバー、および集中されたドキュメント。 同じアーキテクチャを共有している間、このサーバーは単一の統一された get ツールの代わりに、search products by ref, resolve product ref を実装します。 この設計選択は、DelibarrのSQL APIを介して効率的なサーバーサイドフィルタリングを保証します。これにより、エージェントが誤って数千のレコードをロードし、コンテキスト制限を超えるのを防ぐことができます。 Claudeデスクトップやその他のMCP-awareツールは、サーバーを使用して、Dolibarrインスタンスで顧客、製品、請求書、注文、および連絡先を管理できます。 バンドルされたドキュメントのインデックスを構成、API のカバレッジ、コントリビューターのワークフローに深く分割します。 - - - ユーザー、顧客、製品、請求書、注文、連絡先、プロジェクト、および未加工APIアクセス用のCRUDツール.
概要(AI 翻訳)
Dolibarr MCP は Dolibarr のモデルコンテキストプロトコル (MCP) インターフェイスを Dolibarr
ERP/CRM. プロジェクトは[prestashop-mcpのプロジェクト構造を映します。
async API クライアント、プロダクション対応の STDIO サーバー、およびフォーカス
ドキュメント。
設計ノート: 同じアーキテクチャを共有している間、このサーバーは、単一の統一された[get_]ツールではなく、**特化検索ツール([search_products_by_ref])を実装しています。 この設計選択は、DelibarrのSQL APIを介して効率的なサーバーサイドフィルタリングを保証します。これにより、エージェントが誤って数千のレコードをロードし、コンテキスト制限を超えるのを防ぐことができます。
Claude デスクトップやその他の MCP-aware ツールは、サーバーをサーバーに使用できます。 Dolibarrの顧客、製品、請求書、注文、および連絡先の管理 インスタンス。
埋め込まれた文書インデックスを深く掘り下げる 設定、API のカバレッジ、コントリビューターのワークフロー。
✨ 機能
-フルERPカバレッジ - ユーザー、顧客、製品、請求書のクラウドツール、 注文、連絡先、プロジェクト、および未加工 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"
}
}
}
}