Engram
OfficialIntegration with OpenAI Codex CLI for persistent memory across sessions.
Engram
Memory infrastructure for AI agents. Store every conversation verbatim. Search by meaning.
Engram is an MCP-native memory server that stores complete, uncompressed conversation transcripts and makes them searchable via semantic search. Connect any MCP-compatible client — Claude Desktop, Claude Code, Cursor, Windsurf, Zed — and your agent remembers everything across sessions.
Quick start
Sign up at getengram.app and get your API key
Add to your MCP config (Claude Desktop, Claude Code, Cursor, etc.):
{
"mcpServers": {
"engram": {
"command": "npx",
"args": ["-y", "@getengram/cli@latest", "mcp"],
"env": {
"ENGRAM_API_KEY": "engram_sk_live_..."
}
}
}
}Start using it. Your agent now has persistent memory.
Related MCP server: Memsolus MCP Server
How it works
Verbatim storage — every message stored exactly as sent, no summarization or compression
Semantic search — find relevant context by meaning using bge-base-en-v1.5 embeddings
MCP-native — speaks the Model Context Protocol natively, works with any compatible client
Multi-tenant — per-organization isolation, team seats, and API key management
Architecture
Runs entirely on Cloudflare's developer platform:
Workers — Hono.js API and MCP server
D1 — SQLite at the edge for messages and metadata
Vectorize — semantic search index
Workers AI — embedding generation
Read the full architecture deep-dive.
MCP tools
Engram exposes 6 tools via MCP:
Tool | Description |
| Start a new conversation with optional title, tags, metadata |
| Add messages to an existing conversation |
| Semantic search across all conversations |
| Retrieve a conversation with its messages |
| List conversations with filtering and pagination |
| Remove a conversation and its data |
See the API reference for full parameters and examples.
Packages
Package | Description |
Cloudflare Worker — MCP server and REST API | |
CLI and MCP bridge ( | |
TypeScript SDK ( | |
Database queries and migrations | |
Shared constants, types, and utilities |
Integration guides
Pricing
Plan | Price | Messages/month |
Free | $0 | 1,000 |
Pro | $9/mo | 100,000 |
Team | $27/seat/mo | 500,000 |
Enterprise | Custom | Unlimited |
Links
Website: getengram.app
Documentation: getengram.app/docs
Blog: getengram.app/blog
npm: @getengram/cli
License
Business Source License 1.1 — see LICENSE for details.
This server cannot be installed
Maintenance
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/get-engram/engram'
If you have feedback or need assistance with the MCP directory API, please join our Discord server