GitHub
server ทางการของ GitHub ให้ AI อ่านและจัดการโค้ด issue และ pull request ในบัญชีของคุณได้ ใช้ผ่านคลาวด์ของ GitHub หรือรันในเครื่องด้วย Docker ก็ได้
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Safety boundary for agent written GitHub PR reviews: pending and invisible, submitting is opt-in
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
GITHUB_TOKENค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"review-guard": {
"command": "npx",
"args": [
"-y",
"@eclipsesource/review-guard-mcp",
"--stdio"
],
"env": {
"GITHUB_TOKEN": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add review-guard --env GITHUB_TOKEN='ใส่ค่าของคุณ' -- npx -y @eclipsesource/review-guard-mcp --stdioเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"review-guard": {
"command": "npx",
"args": [
"-y",
"@eclipsesource/review-guard-mcp",
"--stdio"
],
"env": {
"GITHUB_TOKEN": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"review-guard": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@eclipsesource/review-guard-mcp",
"--stdio"
],
"env": {
"GITHUB_TOKEN": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันโดเมน eclipsesource.com แล้ว (registry ตรวจความเป็นเจ้าของโดเมน)
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: GITHUB_TOKEN
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.3.0) เข้า registry 3 เดือนที่ผ่านมา
โปรแกรมที่รองรับ 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 รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
MCP server (review-guard-mcp) that lets AI agents work on GitHub PR reviews behind a safety boundary. The server holds the write-enabled GitHub token and exposes only review operations, so the agent never sees the token. What those operations are allowed to do is fixed at server start, not negotiable by the agent.
A write-enabled GitHub token is needed to create review comments, but giving that token directly to an agent risks accidental or prompt-injected actions: submitting approvals, requesting changes, closing other people's review threads, or touching unrelated repositories. This server sits in between and narrows the token down to exactly the review capabilities you opt into.
The server supports two modes of use:
The agent reads PR discussion context and builds a pending (draft) review. Nothing it writes is visible to anyone else until a human opens the PR, inspects the draft comments, and submits the review themselves. Submission is structurally unreachable: the submit tool is not even registered, and the underlying client refuses every submit action.
Use this when an agent assists a human reviewer, for example in IDE setups (Claude Code, Codex, Theia) where the agent drafts inline comments and the human stays the reviewer of record.
--allow-submit)Started with --allow-submit, the server additionally registers a submit tool so the agent can post the review itself. Guardrails stay in place:
--allow-resolve lets the agent resolve its own review threads (never anyone else's), and --repo/--pr pin the server to a single pull request.Use this for unattended, autonomous review bots, for example a watcher that reviews every PR where a review is requested from the bot account and posts a real (comment-only) review.
Requires Node.js >= 22.
Install globally (makes review-guard-mcp available in PATH):
npm install -g @eclipsesource/review-guard-mcp
Or pin to a specific version:
npm install -g @eclipsesource/review-guard-mcp@<version>
The server is also listed in the MCP Registry as com.eclipsesource/review-guard, so clients that browse the registry can find and install it from there. The entry is metadata only, there is no hosted instance to connect to: it describes the npm package above, which your client installs and runs locally in the default pending mode.
Requires npm >= 12 and a Node version supported by it (see CONTRIBUTING.md):
git clone https://github.com/eclipsesource/review-guard.git
cd review-guard npm ci npm run build npm link # creates a global symlink to the binary
| Tool | Availability | Description |
|---|---|---|
get_pr_review_context | always | Get PR author/message, submitted review summaries, inline review threads with resolved state, reactions and permalinks, and general PR comments |
list_pending_review | always | List the authenticated user's pending draft review, including all current pending review comments and their permalinks |
add_review_comments | always | Add one or more comments to the authenticated user's pending review, creating the pending review if needed |
modify_review_comment | always | Update or delete one comment from the authenticated user's pending review |
delete_pending_review | always | Delete the authenticated user's pending review and all its comments |
submit | --allow-submit | Submit the pending review as a real, posted review. The action is limited to the allowed set and the review summary always starts with the fixed, server-configured disclaimer |
resolve_review_thread | --allow-resolve | Resolve one of the authenticated user's own review threads (e.g. a prior finding the latest push fixed). Refuses threads started by anyone else |
By default the server cannot submit reviews. To allow it, start the server with --allow-submit listing one or more of approve, comment, reject:
review-guard-mcp --port 4000 \
--allow-submit approve,comment \ --submit-body "This is an autonomous, AI-based review and may contain mistakes."
--allow-submit enables the submit tool and restricts its action enum to exactly these values. approve maps to APPROVE, comment to COMMENT, and reject to REQUEST_CHANGES. Invalid actions abort startup.--submit-body sets the fixed review summary prefix posted with every submission. The agent cannot change or remove it and may only append its own summary below it. If omitted while --allow-submit is set, a built-in default disclaimer is used. Its wording adapts to the allowed actions (when approve is not allowed it states the review is not an approval, rather than caveating one). Requires --allow-submit and must not be empty.--allow-resolve registers the resolve_review_thread tool. The client resolves only threads whose first comment was authored by the authenticated user, so a bot can tidy up its own now-fixed findings on a re-review but never close another reviewer's conversation.Without --allow-submit, the submit tool is not registered and the submitReview client method refuses every action, so submission is structurally unreachable.
Start the server with --repo --pr to pin it to one pull request:
review-guard-mcp --port 4000 --repo eclipsesource/some-repo --pr 123
When scoped, every tool drops its owner/repo/pull_number arguments and acts on that PR only. resolve_review_thread additionally checks that the thread belongs to it. The client (github.ts) enforces this independently of the tool schemas, so a caller cannot reach a different PR or repo the token can otherwise write to. Use this whenever the server backs an automated review of a known PR (typically together with submit mode), so a prompt-injected agent cannot post to or resolve threads on unrelated PRs. Both flags are required together. Omitting them leaves the server unscoped (the caller supplies the PR per call).
The server runs as a child process managed by the IDE. No port configuration needed.
For MCP clients that use the common JSON config shape (Claude Code, VS Code, Theia):
{
"mcpServers": { "review-guard": { "command": "npx", "args": ["-y", "@eclipsesource/review-guard-mcp", "--stdio"] } } }
For Codex, add the server to ~/.codex/config.toml or a trusted project-local .codex/config.toml:
[mcp_servers.review-guard]
command = "npx" args = ["-y", "@eclipsesource/review-guard-mcp", "--stdio"]
Or pin to a specific version:
{
"mcpServers": { "review-guard": { "command": "npx", "args": ["-y", "@eclipsesource/review-guard-mcp@ ", "--stdio"] } } }
The server runs standalone and exposes a Streamable HTTP endpoint.
Start the server:
review-guard-mcp --port 4000 # bind to 127.0.0.1 (localhost only)
review-guard-mcp --port 4000 --host 172.17.0.1 # bind to a specific address instead
Then point your MCP client at the printed URL (e.g. http://127.0.0.1:4000/mcp). Each POST is an independent stateless request.
Codex HTTP configuration uses the same TOML shape:
[mcp_servers.review-guard]
url = "http://127.0.0.1:4000/mcp"
--host flagBy default the HTTP server binds to 127.0.0.1, which makes it unreachable from containers and other machines. Pass --host to bind one specific address instead. Because the endpoint is unauthenticated, the unspecified addresses (0.0.0.0, ::) are rejected at startup.
The main use case is a reviewing agent that runs inside a container (e.g. a sandboxed agent runtime) and needs to reach the MCP server on the host. On Linux, bind the container network's gateway IP, e.g. for Docker's default bridge (typically 172.17.0.1):
review-guard-mcp --port 4000 \
--host "$(docker network inspect bridge --format '{{(index .IPAM.Config 0).Gateway}}')"
The host firewall must also allow traffic on the MCP port from the container subnet, e.g. with ufw:
sudo ufw allow from 172.17.0.0/16 to any port 4000 proto tcp
From inside the container you can point the client at whichever local name reaches the host: the gateway IP itself, host.docker.internal (Docker) or host.containers.internal (Podman), or a localhost/127.0.0.1 alias that your runtime maps to the host. With a non-loopback --host the server accepts the Host header for any of these while still rejecting unknown hosts, so DNS-rebinding protection stays on.
If the GitHub CLI is installed and authenticated (gh auth login), no token configuration is needed. The server automatically retrieves the token via gh auth token.
If gh is not available, provide a token explicitly via the MCP config:
{
"mcpServers": { "review-guard": { "command": "npx", "args": ["-y", "@eclipsesource/review-guard-mcp", "--stdio"], "env": { "GITHUB_TOKEN": "ghp_..." } } } }
The full resolution order is:
A fine-grained personal access token scoped to the repositories you review is recommended.
Host header against the bound address (DNS rebinding protection), so a malicious website cannot reach the server through a victim's browser.--host restrict the port to the intended subnet via firewall, because every machine or container on that network can otherwise reach it. Unspecified bind addresses (0.0.0.0, ::) are refused at startup.ตัดมาแค่ช่วงต้น อ่านต่อใน repo