export const HOSTED_MCP_OAUTH_PROVIDER_PREFIX = 'mcp:';
export function getHostedMcpOAuthConfig(config) {
    return config.oauth ?? {};
}
export function getHostedMcpOAuthProviderId(serverName, config) {
    return (getHostedMcpOAuthConfig(config).providerId ?? `${HOSTED_MCP_OAUTH_PROVIDER_PREFIX}${serverName}`);
}
//# sourceMappingURL=hosted-oauth-id.js.map