# Codebase MCP Server Configuration
# Copy this file to .env and update values for your environment
# Database Configuration
# Registry database (required) - tracks all project databases
REGISTRY_DATABASE_URL=postgresql+asyncpg://user:password@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://user:password@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
# Background Indexing Configuration
# Maximum number of concurrent background indexing jobs
MAX_CONCURRENT_INDEXING_JOBS=2
# Timeout per indexing job (seconds) - 1 hour default
INDEXING_JOB_TIMEOUT_SECONDS=3600
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Ravenight13/codebase-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server