Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Stale-proof repository memory with citations + just-in-time verification + TTL (repo-scoped).
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
VRM_TTL_DAYS, VRM_DATA_DIR, VRM_MAX_FILE_BYTES, VRM_SECRET_SCANต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"verified-repo-memory": {
"command": "npx",
"args": [
"-y",
"@cognitivemyriad/vrm-local"
],
"env": {
"VRM_TTL_DAYS": "ใส่ค่าของคุณ",
"VRM_DATA_DIR": "ใส่ค่าของคุณ",
"VRM_MAX_FILE_BYTES": "ใส่ค่าของคุณ",
"VRM_SECRET_SCAN": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add verified-repo-memory --env VRM_TTL_DAYS='ใส่ค่าของคุณ' --env VRM_DATA_DIR='ใส่ค่าของคุณ' --env VRM_MAX_FILE_BYTES='ใส่ค่าของคุณ' --env VRM_SECRET_SCAN='ใส่ค่าของคุณ' -- npx -y @cognitivemyriad/vrm-localเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"verified-repo-memory": {
"command": "npx",
"args": [
"-y",
"@cognitivemyriad/vrm-local"
],
"env": {
"VRM_TTL_DAYS": "ใส่ค่าของคุณ",
"VRM_DATA_DIR": "ใส่ค่าของคุณ",
"VRM_MAX_FILE_BYTES": "ใส่ค่าของคุณ",
"VRM_SECRET_SCAN": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"verified-repo-memory": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cognitivemyriad/vrm-local"
],
"env": {
"VRM_TTL_DAYS": "ใส่ค่าของคุณ",
"VRM_DATA_DIR": "ใส่ค่าของคุณ",
"VRM_MAX_FILE_BYTES": "ใส่ค่าของคุณ",
"VRM_SECRET_SCAN": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
VRM_TTL_DAYS envVRM_DATA_DIR envVRM_MAX_FILE_BYTES envVRM_SECRET_SCAN envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 8 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub cognitivemyriad ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.2) เข้า registry 9 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Context7, Codebase Memory, Exa
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
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.
Run via npx:
npx -y @cognitivemyriad/vrm-local --repo /path/to/repo
*(Alternatively, run from source: npm ci && npm run build && node build/index.js --repo /path/to/repo)*
Store: Input:
{
"subject": "API version sync", "fact": "When changing API version, update client/server/docs together.", "citations": [{ "path": "src/api.ts", "startLine": 10, "endLine": 15 }] }
Output:
{
"stored": true, "memoryId": "uuid-...", "expiresAt": "2026-03-21T00:00:00Z" }
Retrieve: Input:
{ "query": "API version" }
Output:
{
"query": "API version", "valid": [ ... ], "stats": { "verified": 1, "validCount": 1 } }
graph TD
A[Agent] -->|Store Fact + Citation| B(Verified Repo Memory) B --> C{Save to Disk} C -->|Hash Code Snippet| D[(memories.json)]
A -->|Retrieve Fact| B B --> E{JIT Verification} E -->|Check File Hash| F{Unchanged or Relocated?} F -->|Yes| G[Return VALID Memory] F -->|No| H[Return STALE/MISSING]
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.Data is strictly repo-scoped and saved in: /.verified-repo-memory
This includes memories.json and a fingerprint/metadata file to prevent accidental cross-repo pollution. Add this directory to your .gitignore.
stdio local-only server without HTTP calls.../) out of the repository root, as well as accessing .git/ or .verified-repo-memory/.stderr.--no-secret-scan).To add this server to the Claude Desktop app, edit your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonAdd the following configuration:
{
"mcpServers": { "verified-repo-memory": { "command": "npx", "args": [ "-y", "@cognitivemyriad/vrm-local", "--repo", "/absolute/path/to/your/repo" ] } } }
To add this server to Claude Code using stdio transport:
claude mcp add mcp-verified-repo-memory --transport stdio -- npx -y @cognitivemyriad/vrm-local
*Note for Windows users:* You may need to prepend cmd /c to the command:
claude mcp add mcp-verified-repo-memory --transport stdio -- cmd /c npx -y @cognitivemyriad/vrm-local
This section explains how to publish the package to NPM and register it with the Anthropic MCP Registry so that it becomes publicly available.
NPM (Node Package Manager) is the package distribution platform. Publishing here allows anyone to install your tool with a single command.
1. Log in to NPM from the terminal:
npm login
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:
npm publish --access public
This command does the following:
npm run build).tgz archive of the compiled fileshttps://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.
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.
mcp-publisher CLI tool# macOS (Homebrew)
brew install nicholasgriffintn/tap/mcp-publisher
npx @anthropic-ai/mcp-publisher
1. Log in to the MCP Registry via GitHub:
mcp-publisher login github
A browser window will open. Authorize the application with your GitHub account.
2. Publish to the MCP Registry:
mcp-publisher publish
This command reads server.json in the current directory and registers the server with the MCP Registry. The registry will:
server.json schema3. 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.
When releasing a new version, always update the version number in all three locations:
# 1. Bump version in package.json
npm version patch # 0.1.2 → 0.1.3
npm publish --access public mcp-publisher publish
| File | Field | Must Match |
|---|---|---|
package.json | version | ✅ |
server.json | version (top-level) | ✅ |
server.json | packages[0].version | ✅ |