github-pr-review-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DEBUG | No | Set to 'true' to enable debug logging. | |
| GITHUB_TOKEN | Yes | Your GitHub Personal Access Token with repo and read:user scopes. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
| logging | {} |
| completions | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_pr_reviewsA | Get all reviews for a GitHub pull request |
| get_pr_commentsB | Get all comments on a GitHub pull request |
| analyze_pr_codeC | Analyze code changes in a PR for issues and suggestions |
| get_pr_filesB | Get list of files changed in a pull request |
| submit_pr_reviewC | Submit a review to a pull request |
| add_pr_commentC | Add a comment to a PR (general or line-specific) |
| update_prB | Update PR title, description, or state |
| get_pr_detailsC | Get detailed information about a pull request |
| get_pr_diff_hunksA | Get diff hunks with line mapping for all changed files in a PR. Returns per-file hunks with oldStart/oldLines, newStart/newLines, and patch content for accurate inline comment placement. |
| validate_pr_comment_targetA | Validate if a comment target (path, line, side) is valid for the PR diff. Returns validation status, reason for invalidity, and nearest valid line suggestion if applicable. |
| ensure_pending_reviewA | Ensure a pending review exists for the PR. Creates a new pending review if none exists, or returns the existing one. Returns reviewId and commitId for adding inline comments. |
| get_pending_reviewA | Get the current pending review for the PR (if any). Returns null if no pending review exists. |
| list_pending_review_commentsA | List all draft comments in the pending review for the PR. Returns empty array if no pending review exists. Each comment includes path, line, side, body, and metadata. |
| review_pr_with_promptA | Get PR context and review prompt for AI-powered code review. Returns formatted PR data and review guidelines that can be used with an LLM to generate a comprehensive review. The LLM can then use submit_pr_review to submit the review. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
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/jamesjfoong/github-pr-review-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server