Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOG_FILE | No | Log file location | /tmp/codebase-mcp.log |
| LOG_LEVEL | No | Logging level (DEBUG, INFO, WARNING, ERROR) | INFO |
| DATABASE_URL | Yes | PostgreSQL database connection URL | |
| OLLAMA_BASE_URL | No | Ollama API base URL | http://localhost:11434 |
| DATABASE_POOL_SIZE | No | Database connection pool size | 20 |
| EMBEDDING_BATCH_SIZE | No | Batch size for embedding generation | 50 |
| DATABASE_MAX_OVERFLOW | No | Maximum overflow connections for database pool | 10 |
| DATABASE_POOL_TIMEOUT | No | Database connection timeout in seconds | 30 |
| OLLAMA_EMBEDDING_MODEL | No | Ollama embedding model to use | embeddinggemma |
| MAX_CONCURRENT_REQUESTS | No | Maximum parallel Ollama requests | 10 |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |