Review Guard MCP server
{
"mcpServers": {
"eclipsesource-review-guard": {
"command": "npx",
"args": [
"-y",
"@eclipsesource/review-guard-mcp@latest"
],
"env": {
"GITHUB_TOKEN": "ghp_..."
}
}
}
}{
"mcpServers": {
"eclipsesource-review-guard": {
"command": "npx",
"args": [
"-y",
"@eclipsesource/review-guard-mcp@latest"
],
"env": {
"GITHUB_TOKEN": "ghp_..."
}
}
}
}{
"mcpServers": {
"eclipsesource-review-guard": {
"command": "npx",
"args": [
"-y",
"@eclipsesource/review-guard-mcp@latest"
],
"env": {
"GITHUB_TOKEN": "ghp_..."
}
}
}
}{
"servers": {
"eclipsesource-review-guard": {
"command": "npx",
"args": [
"-y",
"@eclipsesource/review-guard-mcp@latest"
],
"env": {
"GITHUB_TOKEN": "${input:github_token}"
}
}
},
"inputs": [
{
"id": "github_token",
"type": "promptString",
"description": "Github token",
"password": true
}
]
}{
"mcpServers": {
"eclipsesource-review-guard": {
"command": "npx",
"args": [
"-y",
"@eclipsesource/review-guard-mcp@latest"
],
"env": {
"GITHUB_TOKEN": "ghp_..."
}
}
}
}file .mcp.json (in your project root)file claude_desktop_config.jsonfile ~/.cursor/mcp.jsonfile .vscode/mcp.jsonfile ~/.codeium/windsurf/mcp_config.jsoninstall npx -y @eclipsesource/review-guard-mcpversion 0.3.0
What it does
ReviewGuard is an MCP server that manages GitHub PR reviews on behalf of AI agents while keeping the write-enabled GitHub token secure on the server side. The agent can draft reviews in pending mode (invisible until human submission) or submit reviews directly in opt-in mode, with configurable restrictions on what actions are allowed.
- Have an AI assistant draft PR review comments that a human reviewer can inspect and submit themselves before the comments become visible.
- Run an autonomous review bot that automatically submits comment-only or approval reviews to pull requests without exposing the GitHub token to the agent.
- Let an AI agent resolve its own review threads (marking them as fixed) while preventing it from modifying other reviewers' threads or accessing unrelated repositories.
Tools this server exposes
| Tool | Does |
|---|---|
| get_pr_review_context | Get PR author, message, submitted review summaries, inline review threads with resolved state, reactions, permalinks, and general PR comments. |
| list_pending_review | List the authenticated user's pending draft review including all current pending review comments and their permalinks. |
| add_review_comments | Add one or more comments to the authenticated user's pending review, creating the pending review if needed. |
| modify_review_comment | Update or delete one comment from the authenticated user's pending review. |
| delete_pending_review | Delete the authenticated user's pending review and all its comments. |
| submit | Submit the pending review as a posted review; available only when started with --allow-submit flag and limited to specified actions (approve, comment, reject). |
| resolve_review_thread | Resolve one of the authenticated user's own review threads; available only when started with --allow-resolve flag and does not allow resolving threads started b |
Before you enable it
An MCP server runs with whatever access you give it. Start with a development account rather than production, and check which tools the server exposes before you let an agent call them unattended.