Skip to main content
Glama

Angular PR Review MCP

複数のAngularリポジトリにわたる自動プルリクエストレビューのワークフローのための再利用可能なMCPサーバーです。

このパッケージは3つのMCPツールを公開しています:

  • get_pr_review_template

  • generate_pr_diff

  • read_pr_diff

  • save_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 dev

npmへの公開

公開パッケージとして公開する場合:

npm login
npm publish --access public

スコープ付きパッケージとして公開する場合(アカウント/組織所有には推奨):

  1. package.json の name フィールドを自分のスコープに変更します。例:@your-scope/angular-pr-review-mcp

  2. 公開します:

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

ツールのワークフロー

  1. generate_pr_diff をコミットSHA付きで実行します。

  2. read_pr_diff で差分コンテンツを取得します。

  3. save_pr_review でMarkdownのレビューコメントを保存します。

推奨フロー:

  1. まず get_pr_review_template を実行して、ローカルのレビュールーブリックを読み込み、毎回ルールを再導出しないようにします。

  2. generate_pr_diffread_pr_diff でエビデンスを収集します。

  3. save_pr_review で最終レポートを保存します。

生成されたファイルは、各利用リポジトリの設定済み出力フォルダに書き込まれます。

ローカルテンプレートの成果物

このリポジトリには pr_review_prompt_template.md が含まれているため、チームはレビューガイドラインをソース管理でバージョン管理できます。 get_pr_review_template ツールは同じポリシーテキストを返します(オプションでコミットトークンを置き換え可能)。これにより、レビューを決定論的に保ち、トークン消費を削減できます。

Install Server
A
license - permissive license
A
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

  • F
    license
    C
    quality
    D
    maintenance
    Provides 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.
    4
    1
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables 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.
    10
    5
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Generates commit messages, PR titles and descriptions, and release notes from git changes, with automatic domain detection for appropriate PR templates.
    10
    19
    1
    MIT

View all related MCP servers

Related MCP Connectors

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/chetanraj-r/angular-pr-review-mcp'

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