Montycat MCP - Shared Memory for AI Agents

io.github.MontyGovernance由 GitHub 账号 MontyGovernance 发布v1.1.6更新于 Oct 24, 2026

Shared, persistent memory for AI agents, with semantic recall and live updates.

发布方自己的服务:Memory.fit

已验证STDIO仅桌面数据库知识与记忆

概览

AI 生成的概览

自托管的 MCP 服务器,为 AI 智能体提供持久、共享的记忆,支持语义、关键词与混合检索,可跨会话和客户端使用。

可以做什么
在命名作用域和键空间中单条或批量存储、更新和删除记忆,并可在结构化写入或过滤检索前检查字段模式。通过语义搜索、关键词或混合检索、精确键与元数据查找,或直接列出记忆来召回内容。等待其他智能体的写入到达,无需轮询。管理命名空间与键空间,包括调整缓存容量、创建和删除键空间。运行语义索引、快照与策略等管理工具。
适用场景
适合希望决策、偏好和项目背景能延续到下一次会话的场景,也适合让 Claude、Codex、Cursor 等多个 MCP 客户端共用同一套事实。同样适合希望把记忆保存在本机而非托管服务的团队。
运行要求
以 stdio 方式在本地运行,可安装 PyPI 包 montycat-mcp(Python 3.10+)、Docker 镜像或 Claude Desktop 安装包。默认自动启动本地 Montycat 引擎;也可用 MONTYCAT_URI 指向已有引擎,并可选设置 MONTYCAT_TLS、MONTYCAT_TLS_VERIFY、MONTYCAT_TLS_CERTIFICATE_PATH 或 MONTYCAT_TLS_CERTIFICATE_FINGERPRINT。仅限桌面端。
安装前请注意
MONTYCAT_URI 在连接字符串中包含用户名和密码,应作为机密处理。作用域只是命名空间,不是安全边界;如需真正隔离,应为每个服务器使用单独的最小权限凭据。forget 和删除键空间等破坏性工具已声明为破坏性操作,客户端会弹出确认提示。仅设置 MONTYCAT_TLS=true 时连接虽加密但不校验,需另加校验设置。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Montycat MCP - Shared Memory for AI Agents,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

[Montycat logo]

Montycat MCP - Shared Memory for AI Agents

A self-hosted MCP server that gives AI agents persistent, searchable memory. Claude, Codex, Cursor, and any Model Context Protocol client write to one memory and read each other's.

[PyPI] [Python] [License]

  • Memory that survives the chat. Decisions, preferences, and project context carry into the next session.
  • One memory, many agents. Every MCP client you use works from the same facts.
  • Recall by meaning, keyword, or both. Vector search finds a memory when the wording differs, BM25 nails exact identifiers, and hybrid mode fuses the two. Exact-key and metadata lookup too.
  • Yours. Server, engine, and embeddings run on your machine. No hosted memory service, no cloud embedding API.

Install

Claude Desktop — download montycat-mcp.mcpb and drag it into Claude Desktop. No Python needed. That link always serves the current release; every release also carries a version-named copy and a .sha256 to check it against.

Claude Code — install uv, then:

text
/plugin marketplace add MontyGovernance/montycat-mcp/plugin install montycat-mcp@montygovernance

/mcp confirms the montycat server is connected.

Codex, Cursor, other MCP clients — point your client's stdio config at uvx montycat-mcp (Python 3.10+). For Codex:

bash
codex mcp add montycat -- uvx montycat-mcp

The engine

Memory lives in a Montycat Semantic engine. Montycat MCP starts a local one for you, so most people can stop reading here.

Point it at an engine you already run:

bash
export MONTYCAT_URI="montycat://memory-agent:password@localhost:21210/memories"export MONTYCAT_TLS=true   # remote engines only

Or start one yourself with Docker:

bash
docker run -d --name montycat -p 21210:21210 -p 21211:21211 \  -e MONTYCAT_SUPEROWNER=admin -e MONTYCAT_PASSWORD=change-me \  -v montycat_data:/var/lib/.montycat \  montygovernance/montycat:semantic

On Apple Silicon use the arm64-semantic tag instead — semantic is the amd64 image, and it crashes under emulation. Port 21211 carries live memory watches.

Use it

Talk to your agent normally; it picks the tool.

Remember that the team chose PostgreSQL for the billing service.

What did we decide about the billing database?

Save this to the shared engineering scope.

scope decides where a memory lives — alice for private, engineering for a team, shared for common. It is a namespace, not a security boundary: for real isolation, give each MCP server its own least-privilege Montycat credential.

Tools

NeedTools
Storemontycat_remember, montycat_remember_bulk, montycat_update, montycat_forget
Recallmontycat_semantic_search, montycat_recall, montycat_list_memories
Inspect schemasmontycat_list_enforced_schemas — check field names and data types before structured writes or filtered retrieval
Collaboratemontycat_await_memory_change — wait for another agent's write, no polling
Namespacesmontycat_list_keyspaces, montycat_create_keyspace, montycat_update_cache, montycat_remove_keyspace
Adminsemantic index, snapshot, and policy tools — see the plugin guide

For persistent namespaces, cache is a capacity in MB and compression is chosen by montycat_create_keyspace. Compression cannot be changed after the keyspace is created; migrate into a new keyspace to use a different setting. Cache capacity can be changed later with montycat_update_cache.

Destructive tools are declared as such, so your client's confirmation prompts apply.

Configuration

VariablePurpose
MONTYCAT_URIConnection string: montycat://user:password@host:port/store
MONTYCAT_TLStrue for a remote TLS engine
MONTYCAT_TLS_VERIFYOptional: true to verify with the platform trust store
MONTYCAT_TLS_CERTIFICATE_PATHOptional PEM certificate path for exact certificate pinning
MONTYCAT_TLS_CERTIFICATE_FINGERPRINTOptional SHA-256 certificate fingerprint as an alternative pin

All three verification settings are optional. With only MONTYCAT_TLS=true, MCP retains the historical encrypted-but-unverified behavior; with TLS unset or false, existing plaintext configurations are unchanged. | MONTYCAT_DEFAULT_KEYSPACE | Memory namespace; memory by default | | MONTYCAT_SCOPE | Default scope when a call omits one | | MONTYCAT_AUTO_PROVISION | Create a permitted scope on first use; true by default | | MONTYCAT_AUTOSTART | off to require an already-running engine |

Compose setup and the full variable list: compose.yaml and the plugin guide.

More

Changelog · Privacy · Issues · Docs · Docker Hub

Existing MemoCat installs keep working: memocat-mcp, MEMOCAT_*, and memocat:// are still supported. New setups should use the Montycat names.

MIT

来源:README.md,提交 c904d61

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

3
  1. v1.1.6最新Oct 4, 2026
  2. v1.1.5Sep 19, 2026
  3. v1.1.4Sep 16, 2026

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Memory 集成