ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

RepoCanon

โดย awalhadiรุ่น 0.7.1i★ –iรันบนเครื่อง
ชื่อใน registryio.github.awalhadi/repocanon

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

AGENTS.md and project memory for AI coding agents that stays correct: rules checked against git

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: ค้นข้อมูลและความจำของ AI

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

ต้องเตรียมก่อน

  • npmติดตั้ง Node.js (มีคำสั่ง npx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "repocanon": {
      "command": "npx",
      "args": [
        "-y",
        "repocanon",
        "mcp"
      ]
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add repocanon -- npx -y repocanon mcp

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "repocanon": {
      "command": "npx",
      "args": [
        "-y",
        "repocanon",
        "mcp"
      ]
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "repocanon": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "repocanon",
        "mcp"
      ]
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub awalhadi ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด ค้นข้อมูลและความจำของ AIi

  • ดาวมากกว่า 0% ของอีก 7270 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 88% ของอีก 7270 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 7270 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

RepoCanon ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.7.1) เข้า registry 5 วันที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Context7, Codebase Memory, Exa

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Context7

โดย upstash

ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว

บนเครื่องหรือคลาวด์★ 64,224MITอัปเดต เมื่อวาน
ติดตั้ง

Codebase Memory

โดย DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

รันบนเครื่อง★ 48,148MITอัปเดต 21 วันที่ผ่านมา
ติดตั้ง

Exa

โดย exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

รันบนคลาวด์★ 5,213MITอัปเดต เดือนที่แล้ว
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

RepoCanon

Verified AGENTS.md and project memory for AI coding agents. One small .ai/ folder tells Claude Code, Cursor, GitHub Copilot, OpenAI Codex, Gemini CLI, Windsurf and Cline how your project works, and git checks that it is still true.

Sponsored by [Framimo](https://framimo.com) — turn any clip into GIF, WebP, AVIF or MP4, right in your browser.

In 30 seconds

  • What it is: a small, local project-memory layer (AGENTS.md + .ai/) that every AI coding agent reads: the rules, decisions and gotchas your code can't show.
  • What it does: one command sets it up for all your tools, delivers each module's rules to the agent while it works, and checks every rule against the code with git, so stale ones are flagged, not trusted.
  • How it helps: agents follow your project's rules instead of guessing (8% → 100% of tasks passed once the rules were written down), and they keep the docs correct as they work. It runs locally, calls no LLM and has zero dependencies.

Why

  • Agents re-learn your repo on every task. They scan files, burn tokens, and still miss the rules code doesn't show: state machines, money and permission invariants, why a choice was made.
  • Hand-written `CLAUDE.md` and rules files rot silently. Nobody notices when they stop matching the code.
  • Every tool wants its own file. CLAUDE.md, .cursor/rules, Copilot instructions, GEMINI.md, .windsurfrules, .clinerules…

RepoCanon keeps one knowledge layer (AGENTS.md + .ai/), points every tool you use at it, and uses git to tell you which docs went stale after a code change. It runs locally, calls no LLM and has zero dependencies.

Quick start

Requires Node.js 18+ and a git repository.

cd your-project

npx repocanon init # pick your AI tools (↑/↓, space, enter)

What you'll see

◆ repocanon init · shop

Stack Node.js, Express Tools Claude Code, Cursor

Files

  • .repocanon.json created
  • .ai/.gitignore created
  • .ai/INDEX.md created
  • .ai/PROJECT.md created
  • .ai/DOMAIN.md created
  • .ai/CONVENTIONS.md created
  • .ai/DECISIONS.md created
  • .ai/STATE.md created
  • .ai/prompts/update.md created
  • .ai/modules/_TEMPLATE.md created
  • AGENTS.md created
  • CLAUDE.md created
  • .cursor/rules/project.mdc created

Generated ✓ Module map 2 module(s) → .ai/INDEX.md · Scoped rules up to date ✓ Skills 3 file(s) updated: .ai/skills/rc-verify-change/SKILL.md, .claude/skills/rc-verify-change/SKILL.md, .agents/skills/rc-verify-change/SKILL.md

✓ Knowledge layer created

Next npx repocanon setup connect the MCP server to your tools npx repocanon prompt fill brief for your agent to fill the docs (or ask it over MCP) npx repocanon doctor check the result

Then let your agent fill the docs. Either:

  • With MCP (npx repocanon setup, details): tell your agent *"Fill the RepoCanon docs"*. It calls rc_prepare_fill and writes .ai/*.md itself.
  • Without MCP: run npx repocanon prompt fill and paste the output into your agent.

Finally, check the result and commit:

npx repocanon doctor        # lint: size caps, TODOs, broken paths, token budget, content agents can infer

git add -A && git commit -m "Add RepoCanon knowledge layer" npx repocanon stamp --all # mark the docs verified at that commit git commit -am "Verify RepoCanon docs"

What doctor shows

◆ repocanon doctor · shop

Warnings (1) ! scoped rule files are out of date (2: .cursor/rules/rc-billing.mdc, AGENTS.md) — run: npx repocanon rules

Info (1) i 27 TODO placeholder(s) remain in .ai/ — run: repocanon prompt fill

Token budget Entry context (AGENTS + PROJECT + INDEX) ~662 tokens Whole repo source ~820 tokens Entry share of the repo 80.73% → estimates: word-aware for docs, bytes/4 for code

Freshness █████████░ 91/100

! 1 warning · 1 note(s)

Next npx repocanon prompt fill npx repocanon rules npx repocanon doctor run again after fixing

Reading the output

Every command prints the same shape: a header, rows, a one-line verdict, then Next: the exact commands to run. Symbols always come with a word, so the output also works without colour (NO_COLOR=1, --no-color, CI logs, screen readers).

SymbolMeansSymbolMeans
✓ok / fresh+file created
!warning / stale~file updated
✗error / broken-file removed
iinfo / unverified= / ·unchanged

Every command has --help with options and examples: npx repocanon status --help. --json and --format=github give machine-readable output for scripts and CI.

Already have CLAUDE.md, Cursor rules or a Cline memory bank?
npx repocanon adopt --dry-run   # preview: what goes where, what gets removed

npx repocanon adopt # import into .ai/ (creates it if needed) git add -A && git commit -m "Adopt RepoCanon" npx repocanon adopt --move # originals become pointers, so tools stop reading two copies

adopt reads CLAUDE.md, GEMINI.md, .windsurfrules, .clinerules, .github/copilot-instructions.md, .cursorrules, always-on .cursor/rules/*.mdc, repo-wide Copilot instructions and Cline's memory-bank/. It routes each section to the right doc (glossary → DOMAIN, decisions → DECISIONS, progress → STATE, overview → PROJECT, the rest → CONVENTIONS), drops directory trees, dependency lists, pasted code and secrets, and tells you how many tokens that saved. Rules that are already scoped to certain files stay where they are. Re-running skips what was already imported; --move never touches a file with uncommitted changes.

What you get

AGENTS.md                 entry point every agent reads: commands, a digest of your rules and decisions, Definition of Done

.ai/ PROJECT.md purpose, stack, boundaries INDEX.md path → module map (auto block refreshed by analyze) DOMAIN.md business rules, states, invariants, glossary CONVENTIONS.md coding style and patterns DECISIONS.md why things are built this way STATE.md current focus and recent changes modules/ .md one doc per module: purpose, invariants, flow, code map, gotchas .repocanon.json config (presets, modules, excludes, chosen tools) CLAUDE.md, .cursor/… small pointer files, only for the tools you pick

Docs are a semantic index, never a copy of the code. When docs and code disagree, code wins and the doc gets fixed.

Choosing tools

init opens a picker for the AI tools that should read the knowledge layer. AGENTS.md is always written; each tool you pick gets a small pointer file:

idToolFile written
claudeClaude CodeCLAUDE.md (@AGENTS.md import)
cursorCursor.cursor/rules/project.mdc
copilotGitHub Copilot.github/copilot-instructions.md
geminiGemini CLI / AntigravityGEMINI.md
windsurfWindsurf.windsurfrules
clineCline.clinerules
codexOpenAI Codex / ChatGPTnothing extra — reads AGENTS.md natively
  • Re-run any time. init reopens the picker with your saved choice and marks each tool set up or detected. If nothing changed it prints Up to date.
  • Untick a tool and init offers to remove its RepoCanon block. Only that block goes: your own text stays, and a file is deleted only if nothing else is in it.
  • Scripts and CI (no terminal): --targets=claude,cursor, --targets=all or --targets=none; --yes keeps the saved choice; --prune removes blocks of tools you no longer select.

Scoped rules: module knowledge exactly where the agent is editing

npx repocanon rules turns each filled module doc into rule files that a tool loads only while the agent edits that module's files — no tool call, no extra tokens anywhere else:

ToolFileLoaded when editing
Cursor.cursor/rules/rc- .mdc (globs, alwaysApply: false)files under the module's code_paths
GitHub Copilot.github/instructions/rc- .instructions.md (applyTo)the same files
Codex, Claude Code (opt-in) /AGENTS.md with a pointer to the module docanything in that folder
  • .ai/modules/ .md stays the single source. Generated files say so in their header; edit the doc, then run rules again.
  • Files are written only for the tools you selected in init. Nested AGENTS.md pointers are off by default; turn them on with "nestedAgents": true in .repocanon.json.
  • Modules whose doc is still the empty template get nothing. Removed docs and deselected tools have their generated files cleaned up; your own rule files are never touched.
  • init runs rules for you, doctor warns when the files are out of date, and rules --check fails CI until they're regenerated.

Skills: the repo's own checks, loaded only when needed

npx repocanon skills (also run by init) writes an Agent Skill that tells agents how to verify a change in *this* repo: .ai/skills/rc-verify-change/SKILL.md. Only its one-line description sits in the agent's context; the body loads when the agent is about to say "done".

  • Commands come from the repo itself: package.json / composer.json scripts (run with your package manager), Makefile, justfile, Taskfile.yml, and the run: steps of .github/workflows/*.yml or .gitlab-ci.yml. Each one says where it was found, duplicates are merged, and steps run in order: format → lint → typecheck → test (an aggregate make check comes first).
  • Installs, deploys, publishes, lines using CI secrets, and watch or dev servers are never included.
  • .ai/skills/ is the one place to edit. Change the generated skill and RepoCanon stops regenerating it; add your own .ai/skills/ /SKILL.md and it is copied out too.
ToolSkills folder
Claude Code.claude/skills/ /SKILL.md
Cursor, Codex, Gemini CLI, GitHub Copilot (VS Code).agents/skills/ /SKILL.md

Copies are written only for the tools you chose, carry a "Generated by RepoCanon" header, and are removed when you deselect the tool. A skill of the same name that RepoCanon didn't write is never overwritten. Skills with an invalid name (lowercase, hyphens, must match the folder), a missing description or a secret are not copied, a

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx