Skip to main content
Glama
BADARRASHEED

github-pr-reviewer

by BADARRASHEED

GitHub PR Reviewer MCP Server

A lightweight Model Context Protocol (MCP) server that connects Codex with GitHub and Notion. It allows Codex to fetch pull request changes, review code, and save approved reviews to Notion.

Architecture Diagram

GitHub PR Reviewer MCP Server Architecture

Related MCP server: GitHub Code Review Assistant

Features

  • Fetch pull request details and changed files from GitHub

  • Analyse code using Codex

  • Identify bugs, security risks, performance issues, and maintainability concerns

  • Provide severity levels and recommended fixes

  • Save approved reviews to Notion

  • Integrate with Codex through FastMCP

Tech Stack

  • Python

  • FastMCP

  • Codex CLI

  • GitHub API

  • Notion API

  • uv

  • python-dotenv

Setup

Create a .env file in the project root:

GITHUB_TOKEN=your_github_token
NOTION_API_KEY=your_notion_api_key
NOTION_PAGE_ID=your_notion_page_id

Install the project dependencies:

uv sync

Add the MCP server to Codex:

codex mcp add github-pr-reviewer -- uv --directory "C:\path\to\pr_reviewer" run python "src\pr_reviewer\pr_analyzer.py"

Verify the MCP server:

codex mcp list

Usage

Start Codex:

codex

Then provide a GitHub pull request URL:

Use the github-pr-reviewer MCP server to review this pull request:

https://github.com/OWNER/REPOSITORY/pull/PR_NUMBER

Fetch the pull request changes and review the code for bugs, security issues,
performance problems, and maintainability concerns. Do not save the review
to Notion until I approve it.

After reviewing the result:

I approve this review. Save the complete review to Notion using the
github-pr-reviewer MCP server.

Security

Never commit API tokens or the .env file.

Add the following entries to .gitignore:

.env
.venv/
__pycache__/

Author

Badar Rasheed Butt

AI Engineer

Install Server
F
license - not found
B
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

View all related MCP servers

Related MCP Connectors

  • Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

  • Screens public GitHub repos and PRs to generate risk maps, findings, and merge-readiness signals.

  • Pull change requests from your Amendor board into your coding agent to build and open PRs.

View all MCP Connectors

Latest Blog Posts

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/BADARRASHEED/github_pr_reviewer'

If you have feedback or need assistance with the MCP directory API, please join our Discord server