Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MEMCP_RRF_KNoRRF fusion smoothing constant60
MEMCP_DATA_DIRNoData storage directory~/.memcp
MEMCP_MAX_INSIGHTSNoMax insight count before auto-pruning10000
MEMCP_SEARCH_ALPHANoHybrid search blend (0=BM25 only, 1=semantic only)0.6
MEMCP_HEBBIAN_BOOSTNoWeight boost per co-retrieval event0.05
MEMCP_MAX_MEMORY_MBNoMax total memory usage2048
MEMCP_SEMANTIC_DEDUPNoEnable semantic deduplicationfalse
MEMCP_DEDUP_THRESHOLDNoCosine similarity threshold for semantic dedup0.95
MEMCP_EDGE_MIN_WEIGHTNoMinimum edge weight before pruning0.05
MEMCP_HEBBIAN_ENABLEDNoEnable/disable Hebbian co-retrieval strengtheningtrue
MEMCP_SECRET_DETECTIONNoEnable/disable secret detectiontrue
MEMCP_EMBEDDING_PROVIDERNomodel2vec, fastembed, or autoauto
MEMCP_MAX_CONTEXT_SIZE_MBNoMax size per context variable10
MEMCP_EDGE_DECAY_HALF_LIFENoHalf-life in days for edge weight decay30
MEMCP_RETENTION_PURGE_DAYSNoDays before purging archived items180
MEMCP_IMPORTANCE_DECAY_DAYSNoHalf-life for importance decay30
MEMCP_RETENTION_ARCHIVE_DAYSNoDays before archiving stale items30
MEMCP_CONSOLIDATION_THRESHOLDNoSimilarity threshold for consolidation grouping0.85

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/maydali28/memcp'

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