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 整合