# === Supabase (Settings > API) ===
SUPABASE_URL=https://xxx.supabase.co
SUPABASE_SERVICE_KEY=your_service_role_key_here

# === OpenRouter (LLM) ===
OPENROUTER_API_KEY=your_openrouter_api_key_here

# === Server Config ===
AUTH_ENABLED=true

# === MCP Server ===
MCP_BASE_URL=https://mcp.tecjustica.com  # URL publica do MCP server

# =============================================================================
# CONFIGURACAO SIMPLIFICADA COM DCR (Dynamic Client Registration)
# =============================================================================
# O Supabase OAuth Server suporta DCR, permitindo que clientes MCP (como Claude)
# se registrem automaticamente. Isso elimina a necessidade de:
#   - SUPABASE_OAUTH_CLIENT_ID
#   - SUPABASE_OAUTH_CLIENT_SECRET
#   - JWT_SIGNING_KEY
#   - SUPABASE_JWT_SECRET
#
# REQUISITOS no Supabase Dashboard:
#   1. Authentication > OAuth Server > Habilitar
#   2. Authentication > OAuth Server > Dynamic OAuth Apps > Habilitar
#   3. Authentication > URL Configuration > Site URL = URL do seu frontend
#   4. Authentication > OAuth Server > Authorization Path = /oauth/consent
# =============================================================================
