Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Architecture docs from a repo: overview, modules, API surface, routes, dependency graph, diffs.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
REPOLENS_WORKSPACEต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"repolens": {
"command": "npx",
"args": [
"-y",
"@chappibunny/repolens"
],
"env": {
"REPOLENS_WORKSPACE": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add repolens --env REPOLENS_WORKSPACE='ใส่ค่าของคุณ' -- npx -y @chappibunny/repolensเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"repolens": {
"command": "npx",
"args": [
"-y",
"@chappibunny/repolens"
],
"env": {
"REPOLENS_WORKSPACE": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"repolens": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@chappibunny/repolens"
],
"env": {
"REPOLENS_WORKSPACE": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
REPOLENS_WORKSPACE envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub CHAPIBUNNY ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.16.2) เข้า registry 3 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, FlyDocs
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Spec-driven development workflow: your agent works issues, sessions and the status lifecycle.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
██████╗ ███████╗██████╗ ██████╗ ██╗ ███████╗███╗ ██╗███████╗
██╔══██╗██╔════╝██╔══██╗██╔═══██╗██║ ██╔════╝████╗ ██║██╔════╝ ██████╔╝█████╗ ██████╔╝██║ ██║██║ █████╗ ██╔██╗ ██║███████╗ ██╔══██╗██╔══╝ ██╔═══╝ ██║ ██║██║ ██╔══╝ ██║╚██╗██║╚════██║ ██║ ██║███████╗██║ ╚██████╔╝███████╗███████╗██║ ╚████║███████║ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═════╝ ╚══════╝╚══════╝╚═╝ ╚═══╝╚══════╝ Repository Intelligence CLI
Links: Gallery · npm · MCP Registry · MCP Rush · VS Code extension · GitHub Action
Your architecture docs are already outdated. RepoLens fixes that.
RepoLens scans your repository, generates living architecture documentation, and publishes it to Notion, Confluence, GitHub Wiki, Obsidian, or Markdown — automatically on every push. Engineers get technical docs. Stakeholders get readable system overviews. Nobody writes a word.
Stable as of v1.0 — API guarantees · Security hardened · version from
package.json
Try it now — no installation required.
npx @chappibunny/repolens demopreviews the repository you point it at. It detects common languages (Python, Go, Rust, Java, JavaScript/TypeScript, and others). If the scan matches no source files, demo exits 2 and does not write empty docs. Code health scores JavaScript/TypeScript, Python, and Go.
[See it on real repos](https://chapibunny.github.io/repolens/) — architecture pages RepoLens generated for Express, FastAPI, Django, Gin, mdBook, and other public projects. Deterministic mode, no API keys.
🎬 [Watch Demo Video](https://www.loom.com/share/8e077624e69f41319fd93acbbe03871e) — See RepoLens generate docs in 60 seconds
Notion Confluence
🔍 Supported Languages (16 auto-detected)
JavaScript TypeScript Python Go Rust Java C C++ C# Ruby PHP Swift Kotlin Scala Shell SQL
Plus framework detection: Django · FastAPI · Flask · Gin · Echo · Fiber · Actix · Rocket — and all major JS frameworks (React, Next.js, Vue, Angular, Express, NestJS, Svelte, etc.)
Step 1: Install (Node.js 18+)
npm install @chappibunny/repolens
Step 2: Initialize (creates config + GitHub Actions workflow)
npx @chappibunny/repolens init
Step 3: Configure Publishing (optional, skip if using Markdown only)
For Notion:
# Edit .env and add:
NOTION_TOKEN=secret_xxx NOTION_PARENT_PAGE_ID=xxx
For Confluence:
# Edit .env and add:
CONFLUENCE_URL=https://your-company.atlassian.net/wiki CONFLUENCE_EMAIL=your-email@example.com CONFLUENCE_API_TOKEN=your-token CONFLUENCE_SPACE_KEY=DOCS
Step 4: Publish
npx @chappibunny/repolens publish
Done! Numbered notes and the Markdown publisher’s files are in .repolens/. Notion, Confluence, GitHub Wiki, and Obsidian publish only when you configure them. Obsidian needs obsidian.vault in .repolens.yml and does not use an API key.
🔄 Upgrading from v0.3.0 or earlier? Run npx @chappibunny/repolens migrate to automatically update your workflow files. See MIGRATION.md for details.
17 document types for three audiences — no manual writing required. Route Map and GraphQL Schema are skipped when the repository has no routes or GraphQL schema:
| Audience | Documents |
|---|---|
| Stakeholders | Executive Summary |
| Mixed | System Overview · Business Domains · Route Map · Data Flows · Change Impact · System Map · Architecture Drift · Code Health |
| Engineers | Architecture Overview · Module Catalog · API Surface · Developer Onboarding · GraphQL Schema · TypeScript Type Graph · Dependency Graph · Security Hotspots |
Two modes: Deterministic (free, fast, always works) or AI-Enhanced (optional — GitHub Models, OpenAI, Anthropic, Google, Azure, Ollama).
| 🤖 Autonomous | Runs on every push via GitHub Actions — docs stay evergreen |
| 👥 Multi-Audience | Technical docs + stakeholder-readable overviews from one scan |
| 📤 Multi-Publisher | Notion, Confluence, GitHub Wiki, Obsidian, Markdown — together or one at a time |
| 🗺️ Shows what you didn't ask | An LLM only answers the question it is given, and a newcomer doesn't know what to ask. RepoLens publishes the whole map (every module, cycle and hub) on every PR, the same way each time, with no tokens spent per question |
| 🧠 AI-Assisted | Optional AI with zero-hallucination policy (structured context only) |
| 🔍 Smart Detection | Frameworks, domains, data flows, dependencies, drift — all automatic |
| 🔌 Extensible | Plugin system for custom renderers, publishers, and hooks |
| 🛡️ Secure | Secret detection, injection prevention, rate limiting, supply chain hardening |
| ⚡ Fast | Handles repos up to 50k files with performance guardrails |
npm install @chappibunny/repolens
Or try instantly without installing: npx @chappibunny/repolens demo
For alternative methods, see INSTALLATION.md.
View your architecture directly in VS Code — browse modules, visualize dependencies, and explore your codebase structure without leaving the editor.
Install from Marketplace:
ext install repolensdox.repolensdox
→ Get it on Visual Studio Marketplace
Features:
The extension reads your .repolens.yml configuration and provides an interactive UI for exploring the documentation that RepoLens generates.
Step-by-step setup for publishers, AI features, Notion, Confluence, GitHub Wiki, Obsidian, Discord, and CI/CD automation.
[→ Full Onboarding Guide](docs/ONBOARDING.md)
| Command | Description |
|---|---|
npx @chappibunny/repolens | Show help. A bare invocation does not publish |
npx @chappibunny/repolens init | Interactive wizard — configure publishers, AI, credentials |
npx @chappibunny/repolens init --quick | Markdown-only setup. Globs follow the detected language |
npx @chappibunny/repolens init --help | Flags for that command. Same pattern for every command below |
npx @chappibunny/repolens publish | Scan, generate, and publish documentation |
npx @chappibunny/repolens publish --strict | Exit 2 when a configured publisher is missing credentials |
npx @chappibunny/repolens demo | Local preview — no API keys. Exits 2 when 0 files match |
npx @chappibunny/repolens doctor | Validate your setup, including that scan globs match files |
npx @chappibunny/repolens watch | Auto-regenerate docs on file changes. Exits 2 if module_roots are missing or scan.include matches no files |
npx @chappibunny/repolens migrate | Upgrade from v0.3.0 workflows (details) |
npx @chappibunny/repolens uninstall | Remove all RepoLens files (config, docs, workflow) |
npx @chappibunny/repolens uninstall --force | Remove without confirmation prompt |
npx @chappibunny/repolens feedback | Send feedback to the team |
npx @chappibunny/repolens mcp | Start the stdio MCP server (repolens-mcp is the same server) |
npx @chappibunny/repolens badge | shields.io code-health JSON, SVG, or markdown. Exits 2 when nothing is scored |
npx @chappibunny/repolens comment --base --head | Architecture diff (files, modules, dependencies, health delta, new hotspots) |
npx @chappibunny/repolens app | Self-host the GitHub App webhook. --manifest prints the manifest |
Note: If you installed globally with
npm install -g @chappibunny/repolens, you can use the shorterrepolensform. Init's next-steps text uses that shorter form when the command on your PATH is the global install.
Warning: Do not run bare
npx repolens— there is an unrelatedrepolens@0.0.1placeholder package on npm. Always use the scoped name@chappibunny/repolens.
| Code | Meaning |
|---|---|
0 | Success, including a cancelled wizard or help with no other work |
1 | Runtime error, or an unknown command |
2 | Invalid flags, missing config, target directory not found, a failed doctor check (including 0 files matched), demo or publish scanned 0 files, watch has nothing to watch (missing module_roots, or scan.include matches no files), badge scored 0 source files, comment is missing a base or head ref, publish --strict is missing publisher credentials, app is missing its id, webhook secret, or private key, or feedback has no terminal |
--target must already exist. A missing path exits 2 with Target directory not found: before any scan. repolens --help prints that command's flags. The ASCII banner is omitted when stdout is not a terminal or CI is set.
Cursor, Cline, Claude Desktop, Claude Code, and VS Code Copilot can call RepoLens over stdio. The server is read-only except for generate_docs, which writes Markdown inside the workspace. Deterministic mode does not use the network. Paths cannot leave the workspace root.
ตัดมาแค่ช่วงต้น อ่านต่อใน repo