GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者提供的说明(英文原文)
Score and improve your AI coding agent setup. Local-only, open source.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"setup-doctor": {
"command": "npx",
"args": [
"-y",
"setup-doctor",
"mcp"
]
}
}
}在终端中运行这条命令
claude mcp add setup-doctor -- npx -y setup-doctor mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"setup-doctor": {
"command": "npx",
"args": [
"-y",
"setup-doctor",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"setup-doctor": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"setup-doctor",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日
注册名称已通过 GitHub 账户 saxenakapil 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.3.3)于36天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:GitHub, Desktop Commander, Cloudflare MCP
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Audits how AI coding agents are configured in your project and at the user level, scores the result from 0 to 100, and tells you exactly what to fix. It also summarizes your local usage into a shareable card.
The badge above is this repository's own score, produced by running setup-doctor against itself.
No install is needed. Run it from the root of a project:
npx setup-doctor
The default command audits the project and prints a report:
Setup Doctor score 85/100 (Good) rules v1.2.0
Instruction files 29/30 Skills n/a MCP n/a Plugins n/a Settings 5/10 Freshness n/a
Always-loaded context: about 0 tokens
HIGH SET-02 Hook PreToolUse in .claude/settings.json points to scripts/missing.sh which is missing or not executable Fix: Correct the path, make the script executable, or remove the hook. LOW INS-01 No instruction file found for claude Fix: Create CLAUDE.md (or the agent's equivalent) with build and test commands, code style rules and a short project layout.
2 findings
Absolute paths in the finding messages are shortened here for readability.
Read the getting started guide for how to interpret the score and each finding.
| Command | Purpose |
|---|---|
setup-doctor [doctor] [path] | Audit the setup and print the score. This is the default command. |
setup-doctor wrapped | Summarize local usage and write a shareable card. |
setup-doctor badge | Write a README badge file. |
setup-doctor rules | List every rule with its category, severity and enabled state. |
setup-doctor explain | Explain what a rule checks and how to fix it. |
setup-doctor diff | Explain how the score changed between two saved reports. |
setup-doctor mcp | Start an MCP server over stdio. |
Run setup-doctor --help for every flag, or see the command reference.
| Agent | Doctor | Wrapped |
|---|---|---|
| Claude Code | Full (all 30 rules) | Yes |
| Codex | Instructions and MCP rules | Yes |
| GitHub Copilot CLI | Instructions, skills, MCP, settings and hooks | Yes |
| Cursor | Instructions, MCP and project skills | Yes, requires Node 22.5 or later |
Other agents (.windsurfrules, .clinerules) | Instruction rules only | No |
Categories that do not apply to an agent (for example, plugins for Codex) are excluded from its score rather than counted as failures. Details are in agents.
| Method | Command or location |
|---|---|
| npm (no install) | npx setup-doctor |
| Homebrew | brew install saxenakapil/setup-doctor/setup-doctor |
| Claude Code plugin | Available in the Anthropic plugin directory. Exposes /setup-doctor:doctor and /setup-doctor:wrapped. |
| Cursor skills | Copy skills-cursor/ into your project's .cursor/skills/. See Cursor skills. |
| MCP client | Listed in the official MCP Registry as io.github.saxenakapil/setup-doctor. See MCP server. |
| GitHub Action | saxenakapil/setup-doctor-action@v1. See CI integration. |
| pre-commit | Add this repository as a hook source. See CI integration. |
| Option | Commands | Description | ||||
|---|---|---|---|---|---|---|
| `--agent claude\ | codex\ | cursor\ | copilot\ | all` | doctor, badge, wrapped | Which agent to read. Doctor and badge auto-detect by default. Wrapped defaults to claude. |
| `--scope project\ | global\ | all` | doctor, badge | Which locations to check. | ||
| `--format terminal\ | json\ | html` | doctor | Output format. | ||
--ci --fail-under | doctor | Exit with code 1 if the score is below n. | ||||
--ci --compare | doctor | Compare with the last recorded run and exit with code 1 on a drop. | ||||
--fix, --dry-run | doctor | Preview or apply safe, mechanical fixes. See fix mode. | ||||
| `--period 7d\ | 30d\ | ytd\ | all\ | YYYY-MM-DD:YYYY-MM-DD` | wrapped | Time window. Defaults to 30d. |
--anonymize, --show-projects, --no-cost | wrapped | Privacy and cost controls. See Wrapped. | ||||
--config | doctor, badge, rules, wrapped | Use a configuration file other than /.setupdoctorrc. See configuration. |
Full flag reference: doctor, wrapped.
Add your score to the README:
npx setup-doctor badge
This writes setup-doctor-badge.svg and prints a Markdown snippet with your current score. To keep the badge current automatically, publish a shields.io endpoint file from CI. See CI integration.
scripts/check-no-network.mjs).doctor --fix edits configuration files, and it shows a diff, requires confirmation, and writes a backup first. badge, wrapped and --out write new output files only.[REDACTED]..setupdoctorrc, disabling rules, thresholds, and ignore patternsReference documents:
Issues and pull requests are welcome. Before opening a pull request, run the full check:
npm install
npm run check # typecheck, tests, privacy guard, version sync, em dash guard npm run build # bundles src/bin.ts to dist/bin.js
Each rule lives in its own file under src/rules/ and has a trigger fixture and a clean fixture under test/fixtures/. Rules are pure functions of the normalized model: file system access happens only in adapters under src/adapters/.
MIT. See LICENSE. Bundled font licenses (SIL Open Font License 1.1) are in src/data/fonts/LICENSES.md.