The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
import type { SecretProviderHint } from './McpSecrets.types'
const PROVIDER_HINTS: ReadonlyArray<{ match: string; hint: SecretProviderHint }> = [
{
match: 'openai',
hint: {
name: 'OpenAI',
prefix: 'sk-',
dashboardUrl: 'https://platform.openai.com/api-keys',
},
},
{
match: 'anthropic',
hint: {
name: 'Anthropic',
prefix: 'sk-ant-',
dashboardUrl: 'https://console.anthropic.com/settings/keys',
},
},
{
match: 'resend',
hint: {
name: 'Resend',
prefix: 're_',
dashboardUrl: 'https://resend.com/api-keys',
},
},
{
match: 'stripe',
hint: {
name: 'Stripe',
dashboardUrl: 'https://dashboard.stripe.com/apikeys',
},
},
]
export function getProviderHint(keyName: string): SecretProviderHint | undefined {
const needle = keyName.toLowerCase()
return PROVIDER_HINTS.find(({ match }) => needle.includes(match))?.hint
}