Skip to main content
Glama

Codebase MCP Server

by Ravenight13

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_FILENoLog file location/tmp/codebase-mcp.log
LOG_LEVELNoLogging level (DEBUG, INFO, WARNING, ERROR)INFO
DATABASE_URLYesPostgreSQL database connection URL
OLLAMA_BASE_URLNoOllama API base URLhttp://localhost:11434
DATABASE_POOL_SIZENoDatabase connection pool size20
EMBEDDING_BATCH_SIZENoBatch size for embedding generation50
DATABASE_MAX_OVERFLOWNoMaximum overflow connections for database pool10
DATABASE_POOL_TIMEOUTNoDatabase connection timeout in seconds30
OLLAMA_EMBEDDING_MODELNoOllama embedding model to useembeddinggemma
MAX_CONCURRENT_REQUESTSNoMaximum parallel Ollama requests10

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

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