MCP GitHub PR Reviewer
Provides automated security reviews of GitHub PR diffs using Cloudflare Workers AI as a fallback LLM provider.
Uses Cloudflare Workers AI as one of the LLM providers in the fallback pipeline for code review.
Provides automated security reviews for GitHub pull request diffs, returning structured vulnerability and architecture feedback.
Can be configured as a local LLM provider in the fallback pipeline for code review.
Uses OpenAI-compatible LLM endpoints as part of the fallback provider pipeline for code review.
Works with the Antigravity Telegram Agent to execute the MCP server for code reviews.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP GitHub PR ReviewerAudit this GitHub PR diff for security vulnerabilities and architecture issues"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
module_type: MCP Server status: Active protocol: MCP / JSON-RPC / stdio primary_capability: Automated security reviews for GitHub PR diffs with deep fallback redundancy requires: python 3.12+, Cloudflare Workers AI token, Poolside token works_with: Google Antigravity, Telegram Agent, Cloudflare, Poolside, OpenRouter last_verified: 2026-08-21
MCP GitHub PR Reviewer
A Universal Fallback MCP Server that provides highly resilient automated GitHub Pull Request security reviews.
Related MCP server: MCP Server PR Pilot
Status and Last Verified Date
Status: Active
Last Verified Date: 2026-08-21
What it does / does not do
What it does:
Implements an MCP Server exposing the
audit_prtool to AI agents.Processes code diffs and returns structured security vulnerabilities and architecture feedback in JSON format.
Automatically routes and cascades LLM requests across a 14-layer failover pipeline to ensure 100% uptime.
Balances load and failovers between Cloudflare Workers AI, Poolside Native, and OpenRouter API endpoints.
What it does not do:
It does not automatically merge PRs or act on the code itself (it acts purely as an analytical auditor).
It does not manage GitHub API tokens directly for fetching; diffs are expected to be provided by the calling agent.
Why an agent would use it
Agents use this MCP server to offload computationally heavy code review tasks to specialized external LLMs without having to manage tokens, fallback logic, or retry loops themselves. The agent simply provides the diff, and the MCP server guarantees a high-quality review.
Architecture and dependencies
Architecture:
Universal Fallback Engine: A state-machine (
engine.py) that iterates through any configured OpenAI-compatible LLM endpoints and key pools.Provider Pipeline (Configurable): You can configure your own cascading provider pipeline using the
FALLBACK_PROVIDERSenvironment variable (JSON array).Example Config: Try local Ollama first, then DeepSeek, then OpenRouter.
Legacy Lab Support: If
FALLBACK_PROVIDERSis empty, it automatically degrades to TheNovaNodes lab defaults (Cloudflare -> Poolside -> OpenRouter) using legacy regex parsing.MCP Protocol Layer: Uses standard
stdioJSON-RPC for MCP server execution (server.py).
Dependencies:
mcp(official Python SDK)Standard Python
urllib(no third-party HTTP clients required)pytest(for tests)
Compatibility
Python 3.12+
Linux/Unix environments
Quick start and health check
Quick Start:
git clone https://github.com/TheNovaNodes/mcp-gh-pr-reviewer.git
cd mcp-gh-pr-reviewer
python3 -m venv .venv
source .venv/bin/activate
pip install mcp
# Ensure vault tokens are populated in /dev/shm/agent_vault/
./run_mcp.shHealth Check: To verify the engine initialization and API connections, run:
python3 test_fallback.pyThis triggers a simulated PR diff audit to test the cascade without exposing the server to an MCP client.
Configuration and environment variables
Variable | Description |
| JSON array of providers. Example: |
| (Legacy Mode) Cloudflare tokens and Account IDs. |
| (Legacy Mode) Poolside API keys. |
| (Legacy Mode) OpenRouter API keys. |
Complete MCP tool/API table with side effects
Server Key | Name | Type | Plane | Side Effects / Actions |
| PR Auditor (Universal) | audit | data | Reads diffs, queries external LLMs via HTTP, returns JSON. |
Security model and trust boundaries
Secrets Management: The server reads secrets dynamically from the RAM disk (
/dev/shm/agent_vault/) via therun_mcp.shwrapper. No secrets are ever hardcoded in the Python source code or git history.Execution: Runs as a standard local process communicating over
stdio. Does not expose any open network ports locally.
Tests and exact commands
To run tests using pytest:
python3 -m pytest test_engine.pyThis suite tests the key extraction, parsing, and engine routing logic without burning actual LLM tokens.
Operations, logs, backup/restore, rollback
Operations: The server is executed contextually by the
antigravity-telegram-agentusingrun_mcp.sh.Logs: Engine logs (fallbacks, HTTP errors) are printed to
stderrand intercepted by the agent's MCP manager.Backup/Restore: No persistent state is stored by this server.
Rollback:
git checkout main && git reset --hard <hash>
Generic MCP-client example
Example JSON-RPC payload to trigger an audit:
{
"jsonrpc": "2.0",
"id": 1,
"method": "callTool",
"params": {
"name": "audit_pr",
"arguments": {
"diff_content": "+ def bypass_auth():\n+ return True"
}
}
}Limitations and roadmap
Limitations:
OpenRouter free models have strict rate limits and may fail frequently (handled gracefully by the engine).
Diffs larger than 128K tokens may be truncated by the LLM providers.
Roadmap:
Add native GitHub PR fetching capabilities (currently relying on the caller agent to provide the diff).
Related TheNovaNodes modules
Antigravity Telegram Agent
Google Jules MCP modules
License
MIT License
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn AI-powered server for code analysis, requirements validation, and automated fix proposals with human-in-the-loop confirmation. It supports multiple LLM providers and ensures safe file modifications through automatic backups and path validation.
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that generates pull request descriptions, commit messages, and code reviews from actual code changes using git diff.4MIT
- AlicenseNot gradedqualityCmaintenanceOpen-source AI code review MCP server for local git diff auditing with deterministic security rules and AI-powered analysis using any OpenAI-compatible model.4MIT
- AlicenseAqualityCmaintenanceResilient multi-CLI orchestration server for AI agents that routes tasks to Claude, Gemini, or Codex with automatic retry, circuit breaker, and fallback.421MIT
Related MCP Connectors
Pay-per-call cybersecurity for AI agents: vuln scans, threat intel, compliance, code security.
CVE lookups (NVD) and dependency-manifest audits (OSV) for AI agents. No API keys.
CVE lookups (NVD) and dependency-manifest audits (OSV) for AI agents. No API keys.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/TheNovaNodes/mcp-gh-pr-reviewer'
If you have feedback or need assistance with the MCP directory API, please join our Discord server