
Verified Repo Memory
io.github.cognitivemyriad由 GitHub 帳號 cognitivemyriad 發布v0.1.2更新於 Oct 24, 2026
Stale-proof repository memory with citations + just-in-time verification + TTL (repo-scoped).
發布方自己的服務:Memory.fit
概覽
本機 MCP 伺服器,為程式設計助理提供依儲存庫隔離的記憶庫,每筆記憶綁定程式碼引用,並在回傳前即時驗證。
- 可以做什麼
- 儲存帶檔案路徑與行號範圍引用的記憶,並對引用程式碼片段做雜湊
- 依關鍵字搜尋記憶,並依狀態(有效、過期、缺失)列出記憶
- 檢索時即時驗證,只回傳引用程式碼未變或已重新定位的記憶
- 手動刪除記憶,並讓長期未使用的記憶依 TTL 自動過期
- 適用情境
- 適合希望助理在特定儲存庫中跨工作階段記住專案慣例或注意事項,並在被引用程式碼變更後自動捨棄過時筆記的情境。
- 執行需求
- 透過 npx 從 npm 套件以 stdio 方式在本機執行,需安裝 Node.js,啟動時須傳入儲存庫路徑(--repo)。選用環境變數:VRM_DATA_DIR、VRM_MAX_FILE_BYTES、VRM_SECRET_SCAN、VRM_TTL_DAYS。不需帳號或 API 金鑰。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Verified Repo Memory,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Verified Repo Memory MCP v0.1.2
[CI] [TypeScript] [License: MIT]
Stale-proof repository memory with citations + just-in-time verification + TTL (repo-scoped).
An MCP server providing "safe memory" for AI coding agents. Memories are scoped per repository, backed by code citations, and verified just-in-time so an agent never receives stale information when the underlying code has changed.
Quickstart
Run via npx:
(Alternatively, run from source: npm ci && npm run build && node build/index.js --repo /path/to/repo)
Tools
vrm_store: Store a new memory with file citations.vrm_search: Search for candidate memories by keywords.vrm_retrieve: JIT-verify candidates and return only valid memories. (Main tool for agents)vrm_list: List memories by status (valid, stale, missing).vrm_forget: Manually delete a memory.
Example I/O
Store: Input:
Output:
Retrieve: Input:
Output:
How it works
- Citations: Every fact is linked to a file path and a line range. The exact code snippet is hashed and saved.
- JIT Verification: Before returning a memory to the agent in
vrm_retrieve, the server checks the physical file. If the snippet has moved, it relocates the citation. If it has been changed or deleted, the memory is marked STALE/MISSING and omitted from the results. - TTL (Time-To-Live): Memories expire automatically (default 28 days) unless they are successfully retrieved and utilized, which extends their life.
Data location
Data is strictly repo-scoped and saved in:
<repoRoot>/.verified-repo-memory
This includes memories.json and a fingerprint/metadata file to prevent accidental cross-repo pollution. Add this directory to your .gitignore.
Security
- No Network Transmissions: This is a
stdiolocal-only server without HTTP calls. - Path Security: Disallows any path traversal (
../) out of the repository root, as well as accessing.git/or.verified-repo-memory/. - No Stdout Pollution: Strict logging only to
stderr. - Secret Scan: Built-in heuristic secret scanning to reject memories that look like API keys/private keys (can be disabled via
--no-secret-scan).
Usage with Claude
Claude Desktop
To add this server to the Claude Desktop app, edit your configuration file:
- On macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - On Windows:
%APPDATA%\Claude\claude_desktop_config.json
Add the following configuration:
Claude Code
To add this server to Claude Code using stdio transport:
Note for Windows users: You may need to prepend cmd /c to the command:
Publishing Guide
This section explains how to publish the package to NPM and register it with the Anthropic MCP Registry so that it becomes publicly available.
Step 1: Publish to NPM
NPM (Node Package Manager) is the package distribution platform. Publishing here allows anyone to install your tool with a single command.
Prerequisites
- An NPM account (free)
- Two-factor authentication (2FA) enabled on your NPM account
- Node.js installed on your machine
Procedure
1. Log in to NPM from the terminal:
A browser window will open. Sign in with your NPM account. When prompted, enter your 2FA code from your authenticator app.
2. Publish the package:
This command does the following:
- Compiles TypeScript → JavaScript (
npm run build) - Creates a
.tgzarchive of the compiled files - Uploads the archive to
https://registry.npmjs.org/
3. Verify the publication:
Visit https://www.npmjs.com/package/@cognitivemyriad/vrm-local in your browser. Your package page should appear.
Note: If you need to re-publish, you must increment the version number in
package.jsonandserver.jsonfirst (npm version patch). NPM does not allow overwriting existing versions.
Step 2: Register with Anthropic MCP Registry
The MCP Registry is Anthropic's official directory of MCP servers. Registering here allows Claude Desktop, Claude Code, and other MCP clients to discover and install your server.
Important: The NPM package must be published first (Step 1). The MCP Registry validates that the NPM package exists before accepting the registration.
Prerequisites
- A GitHub account (used for authentication only)
- The
mcp-publisherCLI tool
Installing mcp-publisher
Procedure
1. Log in to the MCP Registry via GitHub:
A browser window will open. Authorize the application with your GitHub account.
2. Publish to the MCP Registry:
This command reads server.json in the current directory and registers the server with the MCP Registry. The registry will:
- Validate the
server.jsonschema - Check that the NPM package exists and is accessible
- Register the server metadata (name, description, version, environment variables)
3. Verify the registration:
Visit https://registry.modelcontextprotocol.io and search for your server name.
Note: Once a version is published to the MCP Registry, it is immutable and cannot be changed. To publish updates, increment the version in both
package.jsonandserver.json, publish to NPM first, then runmcp-publisher publishagain.
Version Management
When releasing a new version, always update the version number in all three locations:
來源:README.md,提交 37fd3da
工具
0版本歷史
1- v0.1.2最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Memory 整合

Memory.fit
fit.memory官方發布者
託管式 Memory.fit 伺服器,讓 AI 讀取你的訓練、睡眠、恢復與飲食資料,並寫回每週計畫、每日目標和飲食計畫。
pg.ddx.io: the PostgreSQL community's memory
io.ddx.pg官方發布者
pg.ddx.io: the PostgreSQL community's memory 的託管 MCP 服務,由 pg.ddx.io 發布;無需登入;Streamable HTTP;29 個工具。
var.gg Naming Memory
gg.var官方發布者
遠端 MCP 伺服器,可依領域概念推薦並檢索韓、日、中、越、英多語言的程式識別字名稱,並提供 ERD 結構查詢。

Counterparts
ai.counterparts
為 Claude Code 與 Claude Desktop 提供的本地優先長期記憶:助理自行寫下關於你與專案的筆記,並在之後的對話中回想起來。

LAHZE - Persian AI Memory Platform
由 GitHub 帳號 pedramgholizadeh 發布
以波斯語為先的地理記憶平臺:發現地點,起草併發布僅限波斯語的記憶。AI 翻譯