Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BRAIN_SCOPENoltree scope for isolating thoughts (default: personal).
OLLAMA_HOSTNoOllama host URL (required if provider is ollama).
DATABASE_URLYesPostgreSQL connection URL (must have pgvector and ltree extensions).
OLLAMA_MODELNoOllama model name (default: gte-qwen2-1.5b-instruct).
MYBRAIN_QUIETNoSuppress shell wrapper output.
EMBEDDING_PROVIDERNoEmbedding provider: ollama (local) or openrouter (cloud).
OPENROUTER_API_KEYNoOpenRouter API key (required if provider is openrouter).
MYBRAIN_ASYNC_STORAGENoEnable async embedding storage (default: false).
MYBRAIN_HEALTH_TIMEOUTNoHealth check timeout in seconds (shell wrapper).

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/robertsfeir/mybrain'

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