"""Import wrapper for ../mcp-server/server.py.""" import importlib.util from pathlib import Path _source = Path(__file__).resolve().parents[1] / "mcp-server" / "server.py" _spec = importlib.util.spec_from_file_location("_local_context7_mcp_server", _source) _module = importlib.util.module_from_spec(_spec) assert _spec and _spec.loader _spec.loader.exec_module(_module) for _name, _value in vars(_module).items(): if not _name.startswith("__"): globals()[_name] = _value