Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BRAIN_DBNoPath to the SQLite database file<repo>/data/knowledge.db
BRAIN_CODE_DIRNoDirectory that brain_scan_projects scans for projects~/code
BRAIN_EMBEDDINGS_URLNoBase URL of a local Ollama-compatible embeddings server. Setting this is the opt-in switch for hybrid vector search.
BRAIN_EMBEDDINGS_MODELNoEmbedding model to request from the embeddings servernomic-embed-text
BRAIN_EMBEDDINGS_TIMEOUT_MSNoTimeout per embeddings request (AbortSignal)4000

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/Marcin-Stanczyk/brain-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server