GitHub
server ทางการของ GitHub ให้ AI อ่านและจัดการโค้ด issue และ pull request ในบัญชีของคุณได้ ใช้ผ่านคลาวด์ของ GitHub หรือรันในเครื่องด้วย Docker ก็ได้
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Score and improve your AI coding agent setup. Local-only, open source.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"setup-doctor": {
"command": "npx",
"args": [
"-y",
"setup-doctor",
"mcp"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
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"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"setup-doctor": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"setup-doctor",
"mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub saxenakapil ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.3.3) เข้า registry 34 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี GitHub, Desktop Commander, Cloudflare MCP
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
server ทางการของ GitHub ให้ AI อ่านและจัดการโค้ด issue และ pull request ในบัญชีของคุณได้ ใช้ผ่านคลาวด์ของ GitHub หรือรันในเครื่องด้วย Docker ก็ได้
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ 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.