Context Fabric usesDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/exegia/corpora-py/llms.txt
Use this file to discover all available pages before exploring further.
pydantic-settings to load configuration from .env.{ENVIRONMENT} files — for example, .env.development or .env.production. The active file is resolved from the ENVIRONMENT environment variable at import time, before any module-level constants are evaluated.
Environment Files
Start by copying the provided example file:.env.{ENVIRONMENT}— the file matching the currentENVIRONMENTvalue (e.g..env.production).env.development— the fallback when the named file does not exist on disk
All Environment Variables
| Variable | Required | Description |
|---|---|---|
SUPABASE_URL | Auth only | Supabase project URL (e.g. https://<ref>.supabase.co). Stored in settings.supabase_url; for local OrbStack setups the internal client URL is constructed from PROJECT_REF instead. |
SUPABASE_ANON_KEY | Auth only | Public/anonymous API key for client-side operations |
SUPABASE_SERVICE_ROLE_KEY | Auth only | Service-role key used by the server-side client (bypasses RLS). Maps to SUPABASE_SECRET_KEY in the Settings class. |
SUPABASE_STORAGE_BUCKET | Auth only | Storage bucket name for file uploads |
DATABASE_URL | Auth only | Full PostgreSQL connection URL |
DATASETS_BASE_PATH | Optional | Base directory path for local dataset files |
ENVIRONMENT | Optional | Active environment name: development, staging, or production |
CORS_ORIGINS | Optional | Comma-separated list of allowed CORS origins |
OPEN_AI_KEY | Optional | OpenAI API key for AI-powered features |
MCP Server: No Auth Required
Thecf-mcp server reads corpora from the --corpus flag only and does not use Supabase at runtime. Supabase environment variables are not required to run the MCP server.
Setting the Active Environment
PassENVIRONMENT inline or export it before running any command: