
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 翻译