GitHub
server ทางการของ GitHub ให้ AI อ่านและจัดการโค้ด issue และ pull request ในบัญชีของคุณได้ ใช้ผ่านคลาวด์ของ GitHub หรือรันในเครื่องด้วย Docker ก็ได้
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
MCP server that helps AI coding agents interact with AI code reviewers on GitHub PRs
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"codereviewbuddy": {
"command": "uvx",
"args": [
"codereviewbuddy"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add codereviewbuddy -- uvx codereviewbuddyวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"codereviewbuddy": {
"command": "uvx",
"args": [
"codereviewbuddy"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"codereviewbuddy": {
"type": "stdio",
"command": "uvx",
"args": [
"codereviewbuddy"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub detailobsessed ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.37.0) เข้า registry 7 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย
ในหมวดเดียวกันมี 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 รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
An MCP server that helps your AI coding agent manage PR review comments from any AI reviewer that uses GitHub's PR review infrastructure.
triage_review_comments filters to only actionable inline threads and includes direct GitHub URLs for each commentget_thread fetches full conversation history for any thread by node IDPRRT_), PR-level reviews (PRR_), and bot issue comments (IC_) all routed to the correct GitHub APIdiagnose_ci collapses 3-5 sequential gh commands into one call: finds the failed run, identifies failed jobs/steps, and extracts actionable error linesstack_activity shows a chronological timeline of pushes, reviews, labels, merges across all PRs in a stack with a settled flag for deciding when to proceedlist_recent_unresolved catches late review comments on already-merged PRsnext_steps suggestions guiding agents to the right follow-up tool callcomment_url so agents can link users directly to the comment on GitHubquery, command, or discovery for MCP clients that support filteringgh CLI, no PAT tokens or .env filesFastMCP v3 gives you terminal testing of the server with no extra code:
# List all tools with their signatures
fastmcp list codereviewbuddy.server:mcp
fastmcp call codereviewbuddy.server:mcp triage_review_comments pr_numbers='[42]'
fastmcp inspect codereviewbuddy.server:mcp
fastmcp dev codereviewbuddy.server:mcp
gh) installed and authenticated (gh auth login)This project uses uv. No install needed — run directly:
uvx codereviewbuddy
Or install permanently:
uv tool install codereviewbuddy
One command configures your MCP client — no manual JSON editing:
uvx codereviewbuddy install claude-desktop
uvx codereviewbuddy install claude-code uvx codereviewbuddy install cursor uvx codereviewbuddy install windsurf uvx codereviewbuddy install windsurf-next
With optional environment variables:
uvx codereviewbuddy install windsurf \
--env CRB_SELF_IMPROVEMENT__ENABLED=true
For any other client, generate the JSON config:
uvx codereviewbuddy install mcp-json # print to stdout
uvx codereviewbuddy install mcp-json --copy # copy to clipboard
Restart your MCP client after installing. See uvx codereviewbuddy install --help for all options.
If you prefer manual setup, add the following to your MCP client's config JSON:
{
"mcpServers": { "codereviewbuddy": { "command": "uvx", "args": ["codereviewbuddy@latest"], "env": { // All CRB_* env vars are optional — zero-config works out of the box. // See Configuration section below for the full list. } } } }
All options enabled:
{
"mcpServers": { "codereviewbuddy": { "command": "uvx", "args": ["codereviewbuddy@latest"], "env": { // GitHub logins considered "ours" for triage filtering (comma-separated) "CRB_OWNER_LOGINS": "alice,bob", // Enable PR description quality checks "CRB_PR_DESCRIPTIONS__ENABLED": "true", // Agents suggest Linear issues when they hit server gaps "CRB_SELF_IMPROVEMENT__ENABLED": "true" } } } }
The server auto-detects your project from MCP roots (sent per-window by your client). This works correctly with multiple windows open on different projects — no env vars needed.
Why `@latest`? Without it,
uvxcaches the first resolved version and never upgrades automatically.
For local development, use uv run --directory to run the server from your checkout instead of the PyPI-published version. Changes to the source take effect immediately — just restart the MCP server in your client.
{
"mcpServers": { "codereviewbuddy": { "command": "uv", "args": ["run", "--directory", "/path/to/codereviewbuddy", "codereviewbuddy"], "env": { // Same CRB_* env vars as above, plus dev-specific settings: "CRB_SELF_IMPROVEMENT__ENABLED": "true" } } } }
If your MCP client reports No module named 'fastmcp.server.tasks.routing', the runtime has an incompatible FastMCP. Fixes:
uvx codereviewbuddy@latest in MCP client config.uv run --directory /path/to/codereviewbuddy codereviewbuddy.uv tool install --reinstall codereviewbuddy.| Tool | Tags | Description |
|---|---|---|
summarize_review_status | query, discovery | Lightweight stack-wide overview — start here |
triage_review_comments | query | Only actionable inline threads needing attention |
get_thread | query | Full thread details by node ID — use after triage for conversation history |
reply_to_comment | command | Reply to inline threads (PRRT_), PR-level reviews (PRR_), or bot comments (IC_) |
diagnose_ci | query | Diagnose CI failures — finds the failed run, jobs, steps, and error lines in one call |
check_ci_status | query | Lightweight CI pass/fail/pending check for a PR — use before merging |
stack_activity | query | Chronological activity feed across a PR stack with a settled flag |
list_recent_unresolved | query | Scan recently merged PRs for unresolved review threads |
review_pr_descriptions | query | Analyze PR descriptions for quality issues (empty body, boilerplate, missing linked issues) |
show_config | discovery | Show active configuration with human-readable explanation |
| Resource | Description |
|---|---|
pr://{owner}/{repo}/{pr_number}/reviews | Read-only review summary for a single PR |
| Prompt | Description |
|---|---|
review_stack | Full review pass workflow — summarize, triage, fix, reply, verify |
pr_review_checklist | Pre-merge quality checklist (review threads, PR hygiene, CI, tests) |
ship_stack | Pre-merge sanity check workflow before merging a PR stack |
codereviewbuddy works zero-config with sensible defaults. All configuration is via CRB_* environment variables in the "env" block of your MCP client config — no config files needed. Nested settings use __ (double underscore) as a delimiter. See the dev setup above for a fully-commented example.
| Env var | Type | Default | Description |
|---|---|---|---|
CRB_PR_DESCRIPTIONS__ENABLED | bool | true | Whether review_pr_descriptions tool is available |
CRB_SELF_IMPROVEMENT__ENABLED | bool | false | Agents suggest Linear issues when they encounter server gaps |
CRB_OWNER_LOGINS | comma-separated | [] | GitHub usernames considered "ours" for triage filtering (e.g. alice,bob) |
1. summarize_review_status() # Stack-wide overview — start here
Each tool response includes next_steps hints guiding the agent to the right follow-up call. For stacked PRs, all query tools auto-discover the stack when pr_numbers is omitted.
git clone https://github.com/detailobsessed/codereviewbuddy.git
cd codereviewbuddy uv sync
poe test # Run tests (excludes slow)
poe test-cov # Run with coverage report poe test-all # Run all tests including slow
poe lint # ruff check
poe typecheck # ty check poe check # lint + typecheck poe prek # run all pre-commit hooks
The server is built on FastMCP v3 with a clean separation:
CRB_* env vars via pydantic-settings)comments.py, stack.py, ci.py, descriptions.py)gh CLI for GraphQL and REST callsnext_steps and message fields for agent guidanceAll blocking gh CLI calls are wrapped with call_sync_fn_in_threadpool to avoid blocking the async event loop.
This project was generated with copier-uv-bleeding. To pull the latest template changes:
copier update --trust .