export async function syncMcpServerToApps(server, adapters) {
    await Promise.all(Object.keys(adapters).map(async (appId) => {
        if (server.apps[appId]) {
            await adapters[appId].syncServer(server);
            return;
        }
        await adapters[appId].removeServer(server);
    }));
}
