PRレビュー担当者設定ガイド
このガイドでは、GitHub および Notion との統合を含む PR Reviewer プロジェクトをセットアップするための手順を段階的に説明します。
前提条件
curl
(MacOS/Linux用)- システムにPython 3.xがインストールされている
セットアップ手順
ステップ1: uv
をインストールする
MacOS/Linux:
🔁 その後、ターミナルを再起動して、
uv
コマンドが使用できることを確認します。
ステップ2: プロジェクトの作成と設定
MacOS/Linux:
ステップ3: requirements.txt
を作成し、そこからインストールする
次の内容を含むrequirements.txt
というファイルを作成します。
パッケージをインストールします。
ステップ4: 環境変数を設定��る
ルート ディレクトリに.env
ファイルを作成し、以下を追加します。
GitHub トークン:
- GitHub → 設定 → 開発者設定 → 個人アクセストークンに移動します。
- **「新しいトークンを生成(クラシック)」**をクリックします。
- 次のスコープを有効にします。
read:org
read:repo_hook
repo
- トークンを
GITHUB_TOKEN
として.env
ファイルにコピーして貼り付けます。
Notion統合:
- Notion 統合に移動します。
- **「新しい統合」をクリックし、タイプを「内部」**に設定します。
- ワークスペースに追加します。
- 内部統合シークレットを
NOTION_API_KEY
としてコピーします。 - 統合 URL の末尾にある UUID を
NOTION_PAGE_ID
としてコピーします。
ステップ5: メインスクリプトを作成する
サーバー ロジック用の空のスクリプト ファイルを作成します。
このファイル内にアプリケーション ロジックを追加します。
ステップ6: アプリケーションを実行する
プロジェクトを実行するには、環境がアクティブ化され、 .env
が設定されていることを確認してください。
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
GitHub および Notion と統合してプル リクエストを分析およびレビューし、Notion での自動コード レビューとドキュメント化を可能にするツールです。
Related MCP Servers
- -securityFlicense-qualityEnables interaction with GitHub through the GitHub API, supporting file operations, repository management, advanced search, and issue tracking with comprehensive error handling and automatic branch creation.Last updated -91TypeScript
- AsecurityAlicenseAqualityA TypeScript server that analyzes GitHub Pull Requests using the Model-Controller-Presenter pattern.Last updated -15TypeScriptMIT License
- -securityFlicense-qualityAn MCP service that enables creating GitHub Pull Requests and adding code review comments using GitHub CLI, eliminating the need to manually handle authentication and permissions.Last updated -JavaScript
- -securityFlicense-qualityEnables comprehensive GitHub operations through natural language including file management, repository administration, issue tracking, and advanced code searching.Last updated -22,5731TypeScript