Files
dolibarr-mcp/src/dolibarr_mcp/__main__.py
2025-09-25 13:45:52 +02:00

16 lines
378 B
Python

#!/usr/bin/env python3
"""Main entry point for the Dolibarr MCP server module."""
import sys
import os
# Add the src directory to the Python path if needed
src_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
if src_dir not in sys.path:
sys.path.insert(0, src_dir)
from dolibarr_mcp.dolibarr_mcp_server import main
if __name__ == "__main__":
main()