# Codebase MCP Server Configuration
# Copy this file to .env and update values for your environment
# Database Configuration
# Registry database (tracks all projects and their isolated databases)
REGISTRY_DATABASE_URL=postgresql+asyncpg://cliffclarke@localhost:5432/codebase_mcp_registry
# LEGACY: DATABASE_URL is optional and only needed for backward compatibility
# Modern deployments use database-per-project architecture via registry
# DATABASE_URL=postgresql+asyncpg://cliffclarke@localhost:5432/cb_proj_default_00000000
# Ollama Configuration
OLLAMA_BASE_URL=http://localhost:11434
OLLAMA_EMBEDDING_MODEL=nomic-embed-text
# Performance Tuning
EMBEDDING_BATCH_SIZE=50
MAX_CONCURRENT_REQUESTS=10
# Logging
LOG_LEVEL=INFO
LOG_FILE=/tmp/codebase-mcp.log