mcp-memory
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_MEMORY_DIR | No | Directory for Open Knowledge Format (OKF) .md files. Defaults to 'memory' relative to project root. | memory |
| MCP_MEMORY_DB_PATH | No | SQLite database file path. Defaults to .mcp_memory/memories.db relative to project root. | .mcp_memory/memories.db |
| MCP_MEMORY_PROJECT_ROOT | No | Project root directory. Defaults to process current working directory (cwd). | cwd |
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 |
|---|---|
| memory_get_lastA | AGENT DIRECTIVE - SESSION INITIALIZATION: Call this tool FIRST when starting work or opening a project session to retrieve the last recorded session checkpoint ('system/last_memory') and understand where work was left off. Parameters: project_root: REQUIRED. Absolute path to active project root directory. namespace: Logical namespace (default: 'default'). |
| memory_update_lastA | AGENT DIRECTIVE - MILESTONE & SESSION CHECKPOINTING: Call this tool whenever completing a milestone, making key project changes, or pausing work to update the canonical project checkpoint ('system/last_memory') so future sessions know where work was left off. Parameters: content: Brief note or structured dictionary summarizing progress and referencing key memory files (e.g. 'Goal Progress'). project_root: REQUIRED. Absolute path to active project root directory. namespace: Logical namespace (default: 'default'). summary: Optional one-sentence description of the milestone achieved. |
| memory_storeA | Stores or updates a persistent memory record in Open Knowledge Format (OKF v0.2). Parameters: key: Unique identifier or path for the memory (e.g. 'user/preferences/coding_style' or 'system/last_memory'). content: The core information to store (string text or structured dictionary). project_root: REQUIRED. Absolute path to active project root directory. tags: Optional classification tags for filtering (e.g. ['preferences', 'user']). namespace: Logical separation for contexts or users (default: 'default'). concept_type: OKF concept type (default: 'Agent Memory'). Options: 'Agent Memory', 'Checkpoint', 'Metric', 'Playbook', etc. title: Human-readable display name. description: Single-sentence summary of the concept. resource: Canonical URI for the underlying asset. status: Lifecycle status ('draft' | 'stable' | 'deprecated'). Default: 'stable'. stale_after: ISO date ('YYYY-MM-DD') when memory becomes stale. sources: Provenance sources list [{resource, id, title, author, usage_count, last_modified}]. usage_window: Sources usage window framing {from, to}. verified: Verification events list or mapping [{by, at}]. generated_by: Actor identifier string following actor convention ('/', 'human:', 'process:'). runtime: For Attested Computation concepts ('bigquery', 'postgres', 'dbt', 'python'). parameters: For Attested Computation concepts [{name, type, required}]. executor: For Attested Computation concepts {resource, receipt}. attester: For Attested Computation concepts {resource}. computation: Path to external computation file. |
| memory_retrieveA | Retrieves a specific memory record by key. Parameters: key: The exact memory key to look up (e.g. 'system/last_memory' for session checkpoint). project_root: REQUIRED. Absolute path to active project root directory. namespace: Logical namespace (default: 'default'). |
| memory_searchA | Searches persistent memories matching keywords, tags, or namespace patterns. Parameters: project_root: REQUIRED. Absolute path to active project root directory. query: Search string for full-text search across keys, frontmatter, and content. tags: Optional list of tags to filter by. namespace: Optional namespace filter. limit: Maximum number of results to return (default: 10). |
| memory_deleteB | Removes a specific memory entry. Parameters: key: The key of the memory to remove. project_root: REQUIRED. Absolute path to active project root directory. namespace: Logical namespace (default: 'default'). |
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/fellowgeek/mcp-memory'
If you have feedback or need assistance with the MCP directory API, please join our Discord server