Can't you do some kind of static analysis instead?
m = importlib.import_module(requests.get("http://localhost:8000/package_name").content.strip().decode("ASCII"))
I guess you meant "a feature of MCP servers which is unkind", but I couldn't help but interpret "unkindness" as the collective noun for a group of MCP servers.