PR Reviewer
PRレビュー担当者設定ガイド
このガイドでは、GitHub および Notion との統合を含む PR Reviewer プロジェクトをセットアップするための手順を段階的に説明します。
前提条件
curl(MacOS/Linux用)システムにPython 3.xがインストールされている
Related MCP server: GitHub PR Analyzer with Notion Integration
セットアップ手順
ステップ1: uvをインストールする
MacOS/Linux:
curl -LsSf https://astral.sh/uv/install.sh | sh🔁 その後、ターミナルを再起動して、
uvコマンドが使用できることを確認します。
ステップ2: プロジェクトの作成と設定
MacOS/Linux:
# Create a new directory for the project
uv init pr_reviewer
cd pr_reviewer
# Create and activate a virtual environment
uv venv
source .venv/bin/activate
# Install core dependencies
uv add "mcp[cli]" requests python-dotenv notion-clientステップ3: requirements.txtを作成し、そこからインストールする
次の内容を含むrequirements.txtというファイルを作成します。
# Core dependencies for PR Analyzer
requests>=2.31.0 # For GitHub API calls
python-dotenv>=1.0.0 # For environment variables
mcp[cli]>=1.4.0 # For MCP server functionality
notion-client>=2.3.0 # For Notion integrationパッケージをインストールします。
uv pip install -r requirements.txt
pip install -r requirements.txtステップ4: 環境変数を設定する
ルート ディレクトリに.envファイルを作成し、以下を追加します。
GITHUB_TOKEN=your_github_token
NOTION_API_KEY=your_notion_api_key
NOTION_PAGE_ID=your_notion_page_idGitHub トークン:
GitHub → 設定 → 開発者設定 → 個人アクセストークンに移動します。
**「新しいトークンを生成(クラシック)」**をクリックします。
次のスコープを有効にします。
read:orgread:repo_hookrepo
トークンを
GITHUB_TOKENとして.envファイルにコピーして貼り付けます。
Notion統合:
Notion 統合に移動します。
**「新しい統合」をクリックし、タイプを「内部」**に設定します。
ワークスペースに追加します。
内部統合シークレットを
NOTION_API_KEYとしてコピーします。統合 URL の末尾にある UUID を
NOTION_PAGE_IDとしてコピーします。
ステップ5: メインスクリプトを作成する
サーバー ロジック用の空のスクリプト ファイルを作成します。
touch pr_reviewerこのファイル内にアプリケーション ロジックを追加します。
ステップ6: アプリケーションを実行する
プロジェクトを実行するには、環境がアクティブ化され、 .envが設定されていることを確認してください。
python pr_reviewer.pyThis server cannot be installed
Maintenance
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 intelligent assistant for Pull Request analysis that integrates GitHub with Notion for automated review documentation through an MCP (Model-Controller-Provider) server architecture.1
- FlicenseNot gradedqualityDmaintenanceFetches GitHub pull request information including file changes, diffs, and metadata, then creates analysis summaries in Notion pages.1
- FlicenseNot gradedqualityDmaintenanceEnables 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.
- FlicenseNot gradedqualityDmaintenanceAnalyzes GitHub pull requests and creates detailed reports in Notion via MCP.3
Related MCP Connectors
Screens public GitHub repos and PRs to generate risk maps, findings, and merge-readiness signals.
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
A Model Context Protocol (MCP) application for automated GitHub PR analysis and issue management.…
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/KalyankumarKonduru/MCP_test'
If you have feedback or need assistance with the MCP directory API, please join our Discord server