import sys
import os

# Ensure the 'src' directory is in the Python search path
# PyInstaller will pick up everything in src/qingflow_mcp as the package
src_path = os.path.abspath(os.path.join(os.path.dirname(__file__), "src"))
if src_path not in sys.path:
    sys.path.insert(0, src_path)

from qingflow_mcp.server_app_user import main

if __name__ == "__main__":
    main()
