memcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MEMCP_RRF_K | No | RRF fusion smoothing constant | 60 |
| MEMCP_DATA_DIR | No | Data storage directory | ~/.memcp |
| MEMCP_MAX_INSIGHTS | No | Max insight count before auto-pruning | 10000 |
| MEMCP_SEARCH_ALPHA | No | Hybrid search blend (0=BM25 only, 1=semantic only) | 0.6 |
| MEMCP_HEBBIAN_BOOST | No | Weight boost per co-retrieval event | 0.05 |
| MEMCP_MAX_MEMORY_MB | No | Max total memory usage | 2048 |
| MEMCP_SEMANTIC_DEDUP | No | Enable semantic deduplication | false |
| MEMCP_DEDUP_THRESHOLD | No | Cosine similarity threshold for semantic dedup | 0.95 |
| MEMCP_EDGE_MIN_WEIGHT | No | Minimum edge weight before pruning | 0.05 |
| MEMCP_HEBBIAN_ENABLED | No | Enable/disable Hebbian co-retrieval strengthening | true |
| MEMCP_SECRET_DETECTION | No | Enable/disable secret detection | true |
| MEMCP_EMBEDDING_PROVIDER | No | model2vec, fastembed, or auto | auto |
| MEMCP_MAX_CONTEXT_SIZE_MB | No | Max size per context variable | 10 |
| MEMCP_EDGE_DECAY_HALF_LIFE | No | Half-life in days for edge weight decay | 30 |
| MEMCP_RETENTION_PURGE_DAYS | No | Days before purging archived items | 180 |
| MEMCP_IMPORTANCE_DECAY_DAYS | No | Half-life for importance decay | 30 |
| MEMCP_RETENTION_ARCHIVE_DAYS | No | Days before archiving stale items | 30 |
| MEMCP_CONSOLIDATION_THRESHOLD | No | Similarity threshold for consolidation grouping | 0.85 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| memcp_pingA | Health check. Returns server status and memory statistics. |
| memcp_rememberA | Save an important insight to persistent memory. |
| memcp_recallA | Retrieve insights from memory. |
| memcp_forgetB | Remove an insight from memory by ID. |
| memcp_statusA | Current memory statistics — insight count, categories, importance distribution. |
| memcp_load_contextA | Store content as a named context variable on disk. |
| memcp_inspect_contextA | Inspect a stored context — metadata and preview without loading full content. |
| memcp_get_contextB | Read a stored context's content or a line range. |
| memcp_chunk_contextA | Split a stored context into navigable numbered chunks. |
| memcp_peek_chunkB | Read a specific chunk from a chunked context. |
| memcp_filter_contextA | Filter context content by regex pattern. |
| memcp_list_contextsB | List all stored context variables. |
| memcp_clear_contextA | Delete a stored context and its chunks. |
| memcp_searchA | Search across memory insights and context chunks. |
| memcp_relatedA | Traverse graph from an insight — find connected knowledge. |
| memcp_graph_statsB | Graph statistics — node count, edge counts by type, top entities. |
| memcp_retention_previewA | Preview what would be archived or purged — dry-run, no changes made. |
| memcp_retention_runA | Execute retention actions — archive old items, optionally purge. |
| memcp_restoreA | Restore an archived context or insight back to active. |
| memcp_projectsA | List all projects with insight/context/session counts. Shows every project that has data in MemCP. |
| memcp_sessionsB | List sessions, optionally filtered by project. |
| memcp_reinforceA | Provide feedback on an insight — mark it as helpful or misleading. |
| memcp_consolidation_previewA | Preview groups of similar insights that could be merged. |
| memcp_consolidateA | Merge a group of similar insights into one. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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