GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者による説明(英語の原文)
Safety boundary for agent written GitHub PR reviews: pending and invisible, submitting is opt-in
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っている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": "your-value"
}
}
}
}ターミナルでこれを実行します
claude mcp add review-guard --env GITHUB_TOKEN=your-value -- 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": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"review-guard": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@eclipsesource/review-guard-mcp",
"--stdio"
],
"env": {
"GITHUB_TOKEN": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック
レジストリ名はドメイン eclipsesource.com で確認済みです(レジストリがドメインの所有を確認しています)
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
入力が必要なもの:GITHUB_TOKEN
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(0.3.0)がレジストリに届いたのは3 か月前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
同じカテゴリには:GitHub, Desktop Commander, Cloudflare MCP
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況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
Cloudflare MCP servers
作者のリポジトリから書かれたとおりにコピーしたものです。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.冒頭だけを表示しています。続きはリポジトリで読めます