from __future__ import annotations from mcp_service_cli import main from mcp_service_config import ( API_BASE_URL_ENV, API_TOKEN_ENV, DEFAULT_CONFIG_PATH, DEFAULT_HOST, DEFAULT_NB_BIN, DEFAULT_NB_ENV, DEFAULT_PATH, DEFAULT_PORT, DEFAULT_TOKEN_BYTES, DEFAULT_UPLOAD_MAX_BYTES, DEFAULT_UV_CACHE_DIR, ENABLE_UPLOADS_ENV, ENV_RELATIVE_PATH, LEGACY_API_BASE_URL_ENV, LEGACY_API_TOKEN_ENV, MANAGED_ENV_NAMES, SERVICE_NAME, ServiceConfig, ServicePaths, find_uv_path, read_service_env_file, render_service_unit, resolve_service_paths, saved_service_config, systemd_quote, write_token_env_file, ) from mcp_service_runtime import ( detect_remote_hosts, find_nb_path, generate_token, new_token, probe_http_service, render_remote_config, restart_service_if_installed, run_systemctl, service_state, service_status, show_config, start_service, stop_service, uninstall_service, wait_for_http_service, write_service_unit, ) __all__ = [ "SERVICE_NAME", "ENV_RELATIVE_PATH", "DEFAULT_HOST", "DEFAULT_PORT", "DEFAULT_PATH", "DEFAULT_NB_ENV", "DEFAULT_CONFIG_PATH", "DEFAULT_NB_BIN", "DEFAULT_TOKEN_BYTES", "DEFAULT_UV_CACHE_DIR", "DEFAULT_UPLOAD_MAX_BYTES", "ENABLE_UPLOADS_ENV", "API_BASE_URL_ENV", "API_TOKEN_ENV", "LEGACY_API_BASE_URL_ENV", "LEGACY_API_TOKEN_ENV", "MANAGED_ENV_NAMES", "ServicePaths", "ServiceConfig", "systemd_quote", "find_uv_path", "resolve_service_paths", "render_service_unit", "write_token_env_file", "read_service_env_file", "saved_service_config", "generate_token", "find_nb_path", "write_service_unit", "detect_remote_hosts", "render_remote_config", "show_config", "run_systemctl", "service_state", "probe_http_service", "wait_for_http_service", "restart_service_if_installed", "new_token", "start_service", "stop_service", "uninstall_service", "service_status", "main", ] if __name__ == "__main__": raise SystemExit(main())