[build-system]
requires = ["setuptools>=45", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "dolibarr-mcp"
version = "2.1.0"
description = "Optimized Model Context Protocol server for Dolibarr ERP/CRM - Universal AI agent compatible"
readme = "README.md"
requires-python = ">=3.8"
authors = [
{name = "Dolibarr MCP Team"}
]
keywords = [
"dolibarr", "mcp", "model-context-protocol", "erp", "crm", "api",
"business-management", "automation", "unified-api",
"invoice-management", "customer-management", "product-management"
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Office/Business",
"Topic :: System :: Systems Administration",
]
dependencies = [
"mcp>=1.0.0",
"aiohttp>=3.9.0",
"pydantic>=2.5.0",
"pydantic-settings>=2.0.0",
"click>=8.1.0",
"python-dotenv>=1.0.0",
"uvicorn>=0.25.0",
]
[project.optional-dependencies]
cache = [
"redis>=5.0.0", # For DragonflyDB/Redis cache support
]
dev = [
"pytest>=7.4.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.1.0",
"redis>=5.0.0",
]
[project.urls]
"Homepage" = "https://github.com/latinogino/dolibarr-mcp"
"Bug Reports" = "https://github.com/latinogino/dolibarr-mcp/issues"
"Source" = "https://github.com/latinogino/dolibarr-mcp"
"Documentation" = "https://github.com/latinogino/dolibarr-mcp#readme"
[project.scripts]
dolibarr-mcp = "dolibarr_mcp.cli:main"
dolibarr-mcp-server = "dolibarr_mcp.server.main:run"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-dir]
"" = "src"
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --tb=short --cov=src/dolibarr_mcp"
markers = [
"integration: tests that require a real Dolibarr instance and valid credentials",
]
[tool.coverage.run]
source = ["src/dolibarr_mcp"]
omit = ["tests/*"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
]
show_missing = true
precision = 2