def get_lindorm_table_host()

in src/lindorm_mcp_server/utils.py [0:0]


def get_lindorm_table_host(instance_id: str, using_vpc: bool = False):
    base_url = "lindorm.aliyuncs.com"
    if using_vpc:
        endpoint = "proxy-lindorm-vpc"
    else:
        endpoint = "proxy-lindorm-pub"
    return f"{instance_id}-{endpoint}.{base_url}"