MemCell

ai.memcell由 memcell.ai 发布官方发布者v2.2.1更新于 Nov 7, 2026

Shared, persistent memory for AI agents: recall before acting, report outcomes to earn confidence.

已验证Streamable HTTP可网页运行知识与记忆AI 与机器学习

概览

AI 生成的概览

MemCell 为 AI 助手提供共享的持久工作区记忆:行动前召回指令与事实,事后回报结果以校准置信度。

可以做什么
  • 行动前召回持久指令、决策、事实、偏好、会话线索与知识图谱关系
  • 将新知识记录为原子记忆并关联进工作区知识图谱
  • 回报召回的记忆是否奏效、失败或被规避,并对单条记忆评分以更新置信度
  • 将 PDF、DOCX、CSV、HTML、JSON、Markdown 文档导入有据可依的知识库
  • 以语义与全文混合检索方式搜索文档片段
  • 查看工作区遥测、置信度校准指标与治理防护统计
适用场景
适合需要跨会话、跨客户端保持上下文的助手,或需要遵循工作区既定指令与决策、依据已索引文档作答的场景。也适合希望用结果反馈衡量并改进记忆质量、而非盲目存储的团队。
运行要求
需要一个 MemCell 工作区与 agent key,通过 Authorization bearer 请求头传递;密钥可用 memcell connect 命令或在工作区设置中创建。可连接远程 streamable HTTP 端点,也可通过 npx(需 Node.js)或带内嵌向量存储的本地独立服务器运行。
安装前请注意
Authorization bearer agent key 是访问工作区记忆的密钥,请勿写入共享配置。服务器会向工作区写入持久记忆与文档,导入的文档和记忆内容会保存在其中。召回查询据称不留存,但其他已存内容会长期保留。

安装

在 SourceWeft 中

  1. 打开 控制台中的 MemCell,将其添加到工作区。
  2. 连接 Authorization token 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/ai.memcell%2Fmemcell/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "memcell": {
      "type": "http",
      "url": "https://memcell.ai/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

README

[MemCell Logo]

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.

[License: Apache-2.0] [Documentation] [Smithery]

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):

bash
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):

bash
# 1. Start local server in backgroundmemcell start --daemon
# 2. Wire local MCP toolsmemcell connect --url http://localhost:3000

Client Configurations

1. Claude Desktop

Add to claude_desktop_config.json:

json
{  "mcpServers": {    "memcell": {      "command": "npx",      "args": ["-y", "memcell", "mcp"]    }  }}

2. Claude Code

Run:

bash
claude mcp add memcell -- npx -y memcell mcp

3. Cursor

Add to .cursor/mcp.json (or ~/.cursor/mcp.json):

json
{  "mcpServers": {    "memcell": {      "command": "npx",      "args": ["-y", "memcell", "mcp"]    }  }}

4. Antigravity

Add to ~/.gemini/antigravity/mcp_config.json:

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:

  1. 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.
  2. 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.
  3. report: Outcome feedback calibration. Reports whether recalled memory worked, failed, or was avoided, calibrating confidence dynamically over time.
  4. feedback: Direct evaluation of a specific memory ID (worked or failed) with supporting outcome notes.
  5. 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.
  6. search_documents: Hybrid semantic and full-text retrieval across grounded workspace document chunks.
  7. 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

License

Apache-2.0

来源:README.md,提交 c273c96

工具

7

recall

Ask the workspace's memory before acting. Evaluates intent against durable instructions, decisions, facts, preferences, active session threads, and grounded RAG documents. Zero conversation retention: query text is strictly ephemeral and never stored. Pass the recallId to 'report' so task outcomes sharpen what was recalled.

输入参数tagstypelimitqueryscopeintentscopesmetadata

remember

Record knowledge into MemCell. Accepts raw text, conversational excerpts, or structured hints. MemCell distills material into atomic memories, links them into the workspace Knowledge Graph, and checkpoints session threads.

输入参数rawtypescopetitlecontentcontextlearning

report

Close the recall loop. Reports whether a recalled memory worked, failed, or was avoided in practice. Strengthens what worked and surfaces what failed for correction.

输入参数reasonoutcome必填recallIdmemory_idrecall_idaction_taken

feedback

Evaluate a specific memory after execution: report whether its advice worked or failed in practice. Dynamically updates confidence and appends evidence.

输入参数reasonoutcome必填memory_id必填recall_id

ingest_document

Ingest a PDF, DOCX, CSV, HTML, JSON, or Markdown document into the workspace's grounded knowledge base and optionally distill atomic memories.

输入参数titlecontentdistillfilenamemimeTypefileBase64

search_documents

Search grounded workspace document chunks (PDF, DOCX, CSV, HTML, JSON, Markdown) using hybrid semantic and full-text retrieval.

输入参数limitquery必填

get_insights

Inspect workspace telemetry, empirical confidence calibration curve (predicted confidence vs observed worked rate, ECE, and Brier score), and governance shield metrics (enforced guards, quarantined user-scope memories, and demoted items).

输入参数timeframe

版本历史

7
  1. v2.2.1最新Nov 4, 2026
  2. v2.1.1Nov 1, 2026
  3. v2.1.0Nov 1, 2026
  4. v2.0.2Nov 1, 2026
  5. v2.0.0Oct 31, 2026
  6. v1.7.1Oct 29, 2026
  7. v0.8.0Sep 16, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分