MemCell
UnexploredShared, persistent memory for AI agents: recall before acting, report outcomes to earn confidence.
Install
Terminal
$npx -y memcell mcpmcp_config.json
{
"mcpServers": {
"ai-memcell-memcell": {
"args": [
"-y",
"memcell",
"mcp"
],
"command": "npx"
}
}
}Documentation
MemCell MCP Server
The official Model Context Protocol (MCP) server & registry manifest for MemCell. Living, persistent memory for AI agents: recall before acting, report outcomes so confidence is earned.
MemCell provides persistent, adaptive memory, working thread continuity, knowledge graph traversal, and grounded document RAG for AI agents across any client harness. This repository contains the official MCP registry manifest, Smithery configuration, and connection guides.
Quickstart
Option A: Local stdio (Recommended)
Run via npx (requires memcell CLI installed or accessible via npm):
npx -y memcell mcp
Option B: Remote Streamable HTTP
Connect directly to the hosted or self-hosted MemCell streamable HTTP endpoint:
- Endpoint:
https://memcell.ai/mcp - Header:
Authorization: Bearer <agent-key>
Option C: Local Standalone Server (PGlite)
Run MemCell on your local machine with embedded PGlite vector storage (once cached or pointed at MEMCELL_SERVER_PATH, memcell start runs completely offline without network access):
# 1. Start local server in background
memcell start --daemon
# 2. Wire local MCP tools
memcell connect --url http://localhost:3000
Client Configurations
1. Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"memcell": {
"command": "npx",
"args": ["-y", "memcell", "mcp"]
}
}
}
2. Claude Code
Run:
claude mcp add memcell -- npx -y memcell mcp
3. Cursor
Add to .cursor/mcp.json (or ~/.cursor/mcp.json):
{
"mcpServers": {
"memcell": {
"command": "npx",
"args": ["-y", "memcell", "mcp"]
}
}
}
4. Antigravity
Add to ~/.gemini/antigravity/mcp_config.json:
{
"mcpServers": {
"memcell": {
"command": "npx",
"args": ["-y", "memcell", "mcp"]
}
}
}
5. Windsurf / Cline / OpenCode / Goose
Configure the MCP server command as:
- Command:
npx - Args:
["-y", "memcell", "mcp"]
How It Works
MemCell exposes seven workspace tools over MCP:
recall: Pre-flight memory retrieval before taking action. Fetches relevant instructions, decisions, facts, preferences, active or resumed session threads, 1-hop knowledge graph relations, and grounded workspace document chunks.remember: Durable memory storage. Files atomic instructions, decisions, facts, and preferences—including detailed operational specifications (content), affected resources (resources), and enforcement moments (appliesAt)—directly into the active workspace or user profile.report: Outcome feedback calibration. Reports whether recalled memory worked, failed, or was avoided, calibrating confidence dynamically over time.feedback: Direct evaluation of a specific memory ID (workedorfailed) with supporting outcome notes.ingest_document: Multi-format document ingestion. Indexes PDF, DOCX, CSV, TSV, HTML, JSON, and Markdown documents into grounded workspace chunks and optionally distills atomic memories.search_documents: Hybrid semantic and full-text retrieval across grounded workspace document chunks.get_insights: Live workspace telemetry, empirical Confidence Calibration Curve (ECE, Brier score, and bucketed observed success rates), and Governance Shield metrics (enforced guards, quarantined user-scope memories, and demoted items).
Custom Agent SDK Integrations
Building custom agents in TypeScript or Python? Official drop-in adapters ship inside @memcell/sdk (@memcell/sdk/vercel, @memcell/sdk/openai, @memcell/sdk/langgraph) and Python memcell.integrations (OpenAI Agents, LangGraph, PydanticAI, CrewAI) alongside MCP.
Ecosystem
- DevKit: TypeScript SDK, Python SDK, and CLI in memcell-ai/devkit
- Engine: Core memory service backend in memcell-ai/memcell
- Documentation: memcell.ai/docs
License
Apache-2.0
Sourced from the repository README.
More in AI & Agents
- PonytailMakes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.109,599
- AgentsMulti-harness agentic plugin marketplace for Claude Code, Codex, Cursor, OpenCode, GitHub Copilot, and Google Antigravity39,079
- Frontend SlidesCreate beautiful slides on the web using a coding agent's frontend skills28,060
- Agent Skills Search ServerSearch and discover Agent Skills from the skills.sh registry. Powered by HAPI MCP server.27,534
- Agency Agents Zh🎭 267 个即插即用的 AI 专家角色 — 支持 Hermes Agent/Claude Code/Cursor/Copilot 等 18 种工具,覆盖工程/设计/营销/金融等 20 个部门。含 52 个中国市场原创智能体(小红书/抖音/微信/飞书/钉钉等)。搭配编排器 agency-orchestrator,一句话即可让多位专家按 DAG 自动协作。19,868
- Watermarks RemoverStrip multi-vendor AI provenance marks: Unicode text hygiene, statistical rewrite hooks, and C2PA/metadata from PNG/JPEG/SVG/PDF/DOCX/HTML/MD17,822