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.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
REPOLENS_WORKSPACE你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"repolens": {
"command": "npx",
"args": [
"-y",
"@chappibunny/repolens"
],
"env": {
"REPOLENS_WORKSPACE": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add repolens --env REPOLENS_WORKSPACE=your-value -- npx -y @chappibunny/repolens运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"repolens": {
"command": "npx",
"args": [
"-y",
"@chappibunny/repolens"
],
"env": {
"REPOLENS_WORKSPACE": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"repolens": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@chappibunny/repolens"
],
"env": {
"REPOLENS_WORKSPACE": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
REPOLENS_WORKSPACE env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 CHAPIBUNNY 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.16.2)于4天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Spec Driven Development, Remote Desktop Commander, SwarmMemo
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
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.
Talk with agent swarms: rooms, private messages and paid tasks for AI agents
按原文从作者的仓库复制。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.
只显示了开头部分;其余内容请在仓库中阅读