The Engram MCP server exposes a single resource at the URIDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/xantorres/engram/llms.txt
Use this file to discover all available pages before exploring further.
memory://recall. Unlike the recall tool — which an agent calls explicitly during a session — this resource is designed for automatic context injection: MCP clients that support resource auto-loading fetch it once at session start and attach the rendered block to the system prompt or context window before any tool calls happen.
Resource details
| Property | Value |
|---|---|
| URI | memory://recall |
| Transport | stdio (same process as the MCP server) |
| MIME type | text/plain |
| Content | Delimited plain-text block of promoted memories |
| Refresh | Fetched fresh on each session start; not streamed or cached by the server |
Rendered block format
The resource returns a compact plain-text block wrapped in HTML-style delimiter comments. The delimiters are stable and machine-readable, making it easy for post-processors or context managers to locate and update the block.[<kind>] <fact>. Only memories with status: promoted are included; pending, rejected, and stale memories are silently omitted. The ordering mirrors the default recall ranking: most relevant and most recent memories appear first.
The block intentionally omits IDs, confidence scores, and dates. This keeps it as compact as possible for injection into a context window. Use the
recall tool if the agent needs the full metadata for a specific memory.How clients auto-load the resource
MCP clients that implement resource subscriptions or startup resource fetching will requestmemory://recall automatically. The Engram server handles this with a dedicated resource handler:
render_block function filters to promoted memories and formats each one as [kind] fact, then wraps the block in the <!-- engram:begin --> / <!-- engram:end --> delimiters.
Client behaviour by harness
| Client | Auto-load behaviour |
|---|---|
| Claude Code | Attaches resource content to system context when listed in .mcp.json |
| Codex | Attaches resource content to system context when listed in ~/.codex/config.toml |
| opencode | Attaches resource content to system context when listed in opencode.json |
| Generic MCP client | Depends on client implementation; resource is always available for explicit fetch |
Full example output
Below is a representative block for a user with a variety of promoted memories across multiple kinds:Relationship to context files
For agents that do not support MCP resources, Engram can generate equivalent static context files (AGENTS.md, CLAUDE.md) with the same rendered block embedded. These files are updated by engram sync and serve as a fallback for clients that read project-level context files instead of querying MCP at runtime. See the Context Files guide for details.