github-pr-reviewer
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., "@github-pr-reviewerReview pull request #23 for bugs and security, then save to Notion."
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.
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

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_idInstall the project dependencies:
uv syncAdd 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 listUsage
Start Codex:
codexThen 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
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- Flicense-qualityDmaintenanceA tool that integrates with GitHub and Notion to analyze and review pull requests, enabling automated code reviews and documentation in Notion.Last updated
- Alicense-qualityDmaintenanceEnables AI assistants to perform comprehensive GitHub pull request code reviews, including analysis of code patterns, complexity, and security issues, while managing review comments and ensuring compliance with team coding standards.Last updated2MIT
- Flicense-qualityDmaintenanceFetches GitHub pull request information including file changes, diffs, and metadata, then creates analysis summaries in Notion pages.Last updated1
- Flicense-qualityDmaintenanceEnables the analysis of GitHub Pull Requests to extract metadata, commits, and code changes for structured AI insights. It also supports the optional creation of Notion pages to store and organize the resulting analysis.Last updated
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.
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/BADARRASHEED/github_pr_reviewer'
If you have feedback or need assistance with the MCP directory API, please join our Discord server