Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CTX_MEMORY_DB_PATHNoOverride the default database path.~/.ctx-memory/store.db

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
store_message

Buffer a conversation message for session-end processing.

store_event

Record a tool call event (file edit, bash command, etc.) for the current session.

search_context

Search past sessions for context relevant to a query. Uses embedding similarity, falls back to keyword search.

get_project_memory

Return the full project memory document (architecture, conventions, recent work, known issues).

list_sessions

List recent sessions for a project with their goals and outcomes.

end_session

Signal session end — runs Layer 1→2→3 pipeline, stores digest, updates project memory.

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/GhadiSaab/ctx-memory'

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