Skip to main content
Glama

MCP AI Memory

by scanadi

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CACHE_TTLNoCache TTL in seconds3600
LOG_LEVELNoLogging levelinfo
REDIS_URLNoRedis connection string (optional)
DATABASE_URLNoPostgreSQL connection string
MEMORY_DB_URLNoPostgreSQL connection string
EMBEDDING_MODELNoTransformers.js modelXenova/all-MiniLM-L6-v2
BULL_CONCURRENCYNoWorker concurrency3
MAX_CONTENT_SIZENoMaximum content size1048576
MEMORY_CACHE_TTLNo2 hours for individual memories7200
SEARCH_CACHE_TTLNo1 hour for search results3600
ENABLE_REDIS_CACHENoEnable Redis cachingtrue
EMBEDDING_CACHE_TTLNo24 hours for embeddings86400
DEFAULT_SEARCH_LIMITNoDefault search limit20
MIN_SIMILARITY_SCORENoMin similarity threshold0.5
MAX_MEMORIES_PER_QUERYNoMax results per search10
ENABLE_ASYNC_PROCESSINGNoEnable background job processingtrue
DEFAULT_SIMILARITY_THRESHOLDNoDefault similarity threshold0.7

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

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