Angular PR Review MCP
Angular PR Review MCP
複数のAngularリポジトリにわたる自動プルリクエストレビューのワークフローのための再利用可能なMCPサーバーです。
このパッケージは3つのMCPツールを公開しています:
get_pr_review_templategenerate_pr_diffread_pr_diffsave_pr_review
このパッケージはターゲットリポジトリのコンテキスト(現在の作業ディレクトリ)で実行されるため、公開済みの1つのパッケージを任意のAngularアプリで再利用できます。
要件
Node.js 20+
Gitがインストールされ、PATHで利用可能であること
Copilot Chat MCPサポートを備えたVS Code
Related MCP server: GitHub PR Review Server
ローカル開発
npm install
npm run build
npm run devnpmへの公開
公開パッケージとして公開する場合:
npm login
npm publish --access publicスコープ付きパッケージとして公開する場合(アカウント/組織所有には推奨):
package.json の
nameフィールドを自分のスコープに変更します。例:@your-scope/angular-pr-review-mcp公開します:
npm login
npm publish --access public個別のGitHubリポジトリを作成する
このフォルダから、アカウント内の専用リポジトリを作成してプッシュします:
git init
git branch -M main
git remote add origin https://github.com/<your-username>/angular-pr-review-mcp.git
git add .
git commit -m "Initial reusable Angular PR review MCP package"
git push -u origin main任意のAngularリポジトリから使用する
各Angularリポジトリの .vscode/mcp.json に追加または更新します:
{
"servers": {
"angular-pr-review": {
"type": "stdio",
"command": "npx",
"args": ["-y", "angular-pr-review-mcp"],
"cwd": "${workspaceFolder}",
"env": {
"PR_REVIEW_BASE_BRANCH": "main",
"PR_REVIEW_OUTPUT_DIR": "pr_review"
}
}
}
}スコープ付きパッケージの場合は、angular-pr-review-mcp を公開した名前に置き換えます。
環境変数
PR_REVIEW_BASE_BRANCH: 比較対象の基準ブランチ(デフォルトはmain)PR_REVIEW_OUTPUT_DIR: レビュー成果物のディレクトリ(デフォルトはリポジトリルート直下のpr_review)PR_REVIEW_REPO_ROOT: リポジトリルートの上書き(デフォルトは現在の作業ディレクトリ)PR_REVIEW_SERVER_NAME: MCPサーバー名(デフォルトはangular-pr-review)
ツールのワークフロー
generate_pr_diffをコミットSHA付きで実行します。read_pr_diffで差分コンテンツを取得します。save_pr_reviewでMarkdownのレビューコメントを保存します。
推奨フロー:
まず
get_pr_review_templateを実行して、ローカルのレビュールーブリックを読み込み、毎回ルールを再導出しないようにします。generate_pr_diffとread_pr_diffでエビデンスを収集します。save_pr_reviewで最終レポートを保存します。
生成されたファイルは、各利用リポジトリの設定済み出力フォルダに書き込まれます。
ローカルテンプレートの成果物
このリポジトリには pr_review_prompt_template.md が含まれているため、チームはレビューガイドラインをソース管理でバージョン管理できます。
get_pr_review_template ツールは同じポリシーテキストを返します(オプションでコミットトークンを置き換え可能)。これにより、レビューを決定論的に保ち、トークン消費を削減できます。
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
- FlicenseCqualityDmaintenanceProvides automated Git workflow tools for committing, creating pull requests, and merging with proper GitHub authentication handling. Supports complete Git workflows from commit to merge with dry run capabilities and conventional commit formatting.41
- AlicenseNot gradedqualityCmaintenanceEnables 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.105MIT
- AlicenseAqualityCmaintenanceGenerates commit messages, PR titles and descriptions, and release notes from git changes, with automatic domain detection for appropriate PR templates.10191MIT
- FlicenseAqualityBmaintenanceEnables fetching Pull Request diffs from GitHub and posting inline review comments directly on PRs, either as pending drafts or published immediately.2
Related MCP Connectors
A Model Context Protocol (MCP) application for automated GitHub PR analysis and issue management.…
Screens public GitHub repos and PRs to generate risk maps, findings, and merge-readiness signals.
Generate SBOMs, scan vulnerabilities, and analyze dependencies from local projects or Git repos.
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/chetanraj-r/angular-pr-review-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server