GitHub PR Review Server

GitHub PR Review Server

Enables automated GitHub Pull Request reviews using local Ollama, Cursor CLI, or Gemini CLI as AI providers. Supports customizable review prompts, comprehensive PR analysis, and optional auto-posting of reviews to GitHub.

Category
Visit Server

README

GitHub MCP Server

Minimal Model Context Protocol (MCP) server that exposes GitHub-focused tools for AI assistants.


🔧 Quick Start (Local)

# 1. Clone & install
 git clone <repo-url>
 cd github-review-mcp
 pnpm install

# 2. Add credentials
 echo "GITHUB_TOKEN=ghp_your_token_here" > .env

# 3. Run the server
 pnpm start

The server listens on the port specified by your MCP client (default 3000).


🖥️ Using from an MCP Client

Cursor IDE

Add this to Settings → Extensions → MCP (or your mcp-servers.json):

{
  "mcpServers": {
    "github-review-server": {
      "command": "node",
      "args": ["/absolute/path/github-review-mcp/src/index.js"],
      "env": { "GITHUB_TOKEN": "ghp_your_token_here" }
    }
  }
}

Generic MCP Client

Point the client to node /absolute/path/github-review-mcp/src/index.js and pass GITHUB_TOKEN in the environment.


🐳 Docker (Hosted)

A Dockerfile mirroring the hosted image is included.

# Build
 docker build -t gh-mcp .

# Run
 docker run -e GITHUB_TOKEN=ghp_your_token_here -p 3000:3000 gh-mcp

Attach the container to your MCP client using http://localhost:3000 (or the mapped port) as the command.


⚙️ Environment Variables

Variable Description Default
GITHUB_TOKEN GitHub Personal Access Token (required) -
MAX_PATCH_SIZE Maximum diff patch size (chars) 2000
MAX_FILES_TO_REVIEW Maximum files processed per PR 50
REQUEST_TIMEOUT HTTP request timeout (ms) 30000
LOG_LEVEL Logging level (debug, info, …) info
ENABLE_DEBUG Verbose logging (true/false) false

🛠️ Available Tools

Core PR utilities plus advanced analysis modules:

  • get_review_prompts ⭐ (call this first!)
  • get_pr_details
  • get_pr_files
  • get_pr_commits
  • get_file_content
  • post_pr_review
  • get_repo_info

Advanced analysis (🚀):

  • analyze_code_quality
  • analyze_diff_impact
  • detect_security_issues
  • detect_code_patterns
  • analyze_dependencies
  • analyze_test_coverage
  • generate_suggestions

For detailed usage examples, see the original README history or the inline JSDoc in src/tools/.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured