Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
EMBEDDING_DIMNoEmbedding dimensions1024
GOOGLE_API_KEYNoGoogle Gemini API key (required if using Google as embedding provider or for LLM judge)
EMBEDDING_MODELNoEmbedding model nameqwen3-embedding:0.6b
OLLAMA_BASE_URLNoOllama API endpointhttp://localhost:11434
EMBEDDING_PROVIDERNoEmbedding provider to use: 'ollama' or 'google'ollama
LANCEDB_MEMORY_PATHNoDatabase location for storing memories~/.memory-mcp/lancedb-memory

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
memory_saveA

Save a memory with semantic embedding. Use after learning something valuable.

Args:
    content: Memory content. Format: '[CATEGORY] - [insight]. Context: [where]. Rationale: [why]'
    category: One of PATTERN, CONFIG, DEBUG, PERF, PREF, INSIGHT, API, AGENT
    tags: Optional tags for categorization (auto-extracted if summarize=True)
    summarize: Use LLM to intelligently summarize verbose content
memory_recallA

Hybrid search (vector + BM25) across ALL projects with neural reranking.

Args:
    query: Search query - works with both keywords and semantic concepts
    category: Optional filter: PATTERN, CONFIG, DEBUG, PERF, PREF, INSIGHT, API, AGENT
    limit: Max results (default 5, max 50)
memory_recall_projectA

Hybrid search in CURRENT project only with neural reranking.

Args:
    query: Search query - works with both keywords and semantic concepts
    category: Optional category filter
    limit: Max results (default 5, max 50)
memory_deleteA

Delete a memory by ID.

Args:
    memory_id: The ID of the memory to delete (full or partial UUID)
memory_updateA

Update an existing memory.

Args:
    memory_id: The ID of the memory to update (full or partial UUID)
    content: New content (re-embeds if changed)
    category: New category
    tags: New tags (replaces existing)
memory_statsA

Get memory system statistics - total, by category, by project.

memory_healthA

Get memory system health status - indexes, database size, configuration.

memory_session_startA

Get project context at session start: recent memories + AI summary.

Call this at the start of a session to recall project-specific context.
Includes:
- Project Highlights summary (architecture, tech stack, setup, patterns)
- Last 10 memories for immediate context

Use this instead of manually recalling memories.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
memory_stats_resourceMemory statistics as a read-only resource.

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/wb200/memory-mcp'

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