原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

RepoLens

作者:CHAPIBUNNY版本 1.16.2i★ –i在你的电脑上运行
注册名称io.github.CHAPIBUNNY/repolens

安装

概览

作者提供的说明(英文原文)

Architecture docs from a repo: overview, modules, API surface, routes, dependency graph, diffs.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: REPOLENS_WORKSPACE

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 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 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "repolens": {
      "command": "npx",
      "args": [
        "-y",
        "@chappibunny/repolens"
      ],
      "env": {
        "REPOLENS_WORKSPACE": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "repolens": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@chappibunny/repolens"
      ],
      "env": {
        "REPOLENS_WORKSPACE": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • REPOLENS_WORKSPACE env
    Absolute path of the repository to read. Defaults to the process working directory. Every tool path must stay inside this directory.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 CHAPIBUNNY 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 32709 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 32709 个服务器的 89% 更新
  • 基础检查结果等于或优于此分类中其他 32709 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

RepoLens 安全吗?

它在 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

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 211前天更新
安装

SwarmMemo

作者:Hugo0

Talk with agent swarms: rooms, private messages and paid tasks for AI agents

在云端运行今天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。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


🎬 Demo

Try it now — no installation required. npx @chappibunny/repolens demo previews 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.)


🚀 Quick Start (60 seconds)

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.


📋 What It Generates

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:

AudienceDocuments
StakeholdersExecutive Summary
MixedSystem Overview · Business Domains · Route Map · Data Flows · Change Impact · System Map · Architecture Drift · Code Health
EngineersArchitecture 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).


✨ Why RepoLens

🤖 AutonomousRuns on every push via GitHub Actions — docs stay evergreen
👥 Multi-AudienceTechnical docs + stakeholder-readable overviews from one scan
📤 Multi-PublisherNotion, Confluence, GitHub Wiki, Obsidian, Markdown — together or one at a time
🗺️ Shows what you didn't askAn 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-AssistedOptional AI with zero-hallucination policy (structured context only)
🔍 Smart DetectionFrameworks, domains, data flows, dependencies, drift — all automatic
🔌 ExtensiblePlugin system for custom renderers, publishers, and hooks
🛡️ SecureSecret detection, injection prevention, rate limiting, supply chain hardening
⚡ FastHandles repos up to 50k files with performance guardrails

📦 Installation

npm install @chappibunny/repolens

Or try instantly without installing: npx @chappibunny/repolens demo

For alternative methods, see INSTALLATION.md.


🎨 VS Code Extension

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:

  • 🏗️ Architecture Explorer — Tree view of your system structure
  • 📊 Dependency Visualizer — Interactive dependency graphs
  • 📁 Module Browser — Navigate modules by domain and function
  • 🔍 Command Palette — Quick access to architecture insights
  • 📈 System Metrics — Real-time architecture health indicators

The extension reads your .repolens.yml configuration and provides an interactive UI for exploring the documentation that RepoLens generates.


🎓 Onboarding Guide

Step-by-step setup for publishers, AI features, Notion, Confluence, GitHub Wiki, Obsidian, Discord, and CI/CD automation.

[→ Full Onboarding Guide](docs/ONBOARDING.md)


🎮 Commands

CommandDescription
npx @chappibunny/repolensShow help. A bare invocation does not publish
npx @chappibunny/repolens initInteractive wizard — configure publishers, AI, credentials
npx @chappibunny/repolens init --quickMarkdown-only setup. Globs follow the detected language
npx @chappibunny/repolens init --helpFlags for that command. Same pattern for every command below
npx @chappibunny/repolens publishScan, generate, and publish documentation
npx @chappibunny/repolens publish --strictExit 2 when a configured publisher is missing credentials
npx @chappibunny/repolens demoLocal preview — no API keys. Exits 2 when 0 files match
npx @chappibunny/repolens doctorValidate your setup, including that scan globs match files
npx @chappibunny/repolens watchAuto-regenerate docs on file changes. Exits 2 if module_roots are missing or scan.include matches no files
npx @chappibunny/repolens migrateUpgrade from v0.3.0 workflows (details)
npx @chappibunny/repolens uninstallRemove all RepoLens files (config, docs, workflow)
npx @chappibunny/repolens uninstall --forceRemove without confirmation prompt
npx @chappibunny/repolens feedbackSend feedback to the team
npx @chappibunny/repolens mcpStart the stdio MCP server (repolens-mcp is the same server)
npx @chappibunny/repolens badgeshields.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 appSelf-host the GitHub App webhook. --manifest prints the manifest

Note: If you installed globally with npm install -g @chappibunny/repolens, you can use the shorter repolens form. 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 unrelated repolens@0.0.1 placeholder package on npm. Always use the scoped name @chappibunny/repolens.

Exit codes
CodeMeaning
0Success, including a cancelled wizard or help with no other work
1Runtime error, or an unknown command
2Invalid 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.


MCP server

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.

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx