We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/marioser/dolibarr-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
__main__.py•566 B
#!/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)
# Try new modular import first, fall back to legacy
try:
from dolibarr_mcp.server.main import run
except ImportError:
from dolibarr_mcp.dolibarr_mcp_server import main
import asyncio
def run():
asyncio.run(main())
if __name__ == "__main__":
run()