import importlib def is_mcp_available() -> bool: """ Returns True if the MCP module is available, False otherwise """ try: importlib.import_module("mcp") return True except ImportError: return False