OSVauco/opax-mcp/quick_verify.py
Chris Christiansen 9fcb9c354a
Some checks are pending
Check Python Version Consistency / Check Python Version (push) Waiting to run
feat(core): Fresh initialization - Deploy v3.6.1 Singularity Architecture
2026-09-03 04:03:09 +00:00

17 lines
588 B
Python

from importlib.util import module_from_spec, spec_from_file_location
from pathlib import Path
import logging
# Suppress logger during import to avoid printing config values
logging.getLogger("osvx_mcp_server_under_test").setLevel(logging.WARNING)
SERVER_PATH = Path(__file__).with_name("server.py")
spec = spec_from_file_location("osvx_mcp_server_under_test", SERVER_PATH)
server = module_from_spec(spec)
spec.loader.exec_module(server)
print(f"REGISTERED_TOOL_COUNT={len(server.TOOLS)}")
print("--- REGISTERED_TOOL_NAMES ---")
for name in sorted(server.TOOLS.keys()):
print(name)