Skip to main content
Glama
radireddy

GitHub MCP Server

by radireddy

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GITHUB_TOKENYesGitHub Personal Access Token with appropriate permissions (repo, read:org, read:user)

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription
github.getAuthoredPRs

Fetch all pull requests authored by a given user within a time range. Returns PRs with metadata including state (OPEN/MERGED/CLOSED), creation/merge dates, code statistics (files changed, additions, deletions), and repository information. Optionally filter by specific repositories. Automatically filters out auto-generated PRs (e.g., backmerge PRs). Use this tool to analyze a user's code contribution activity.

Example use cases:

  • Assess developer productivity by counting PRs authored in a time period

  • Analyze code contribution trends over time

  • Get detailed metrics for performance reviews

  • Track PR merge rates and code change statistics

Returns: Array of PR objects with id, repo, title, createdAt, mergedAt, state, filesChanged, additions, deletions

github.getPRReviews

Fetch all PR reviews submitted by a user within a time range, filtered by repository. Returns review state (APPROVED, CHANGES_REQUESTED, COMMENTED), PR details, and submission timestamps. Automatically filters out reviews on auto-generated PRs. Use this tool to assess code review participation and review quality.

Example use cases:

  • Measure code review engagement (how many PRs reviewed)

  • Analyze review patterns (approval vs. change requests)

  • Track review activity over time

  • Assess code review contribution for performance evaluations

Returns: Array of review objects with id, state, prId, prNumber, prTitle, prRepo, submittedAt

github.getReviewComments

Fetch all inline and general review comments authored by a user within a time range, filtered by repository. Returns structured JSON with PR-level grouping, total PRs reviewed, total comments, user ID, date range, and for each PR: array of comment bodies and total comments count. Automatically filters out auto-generated comments and comments on auto-created PRs. All comment bodies are properly JSON-escaped. Use this tool to analyze review comment quality and quantity.

Example use cases:

  • Count review comments to assess review thoroughness

  • Analyze comment patterns across different PRs

  • Track review engagement metrics

  • Extract review feedback for analysis

Returns: Object with userId, dateRange, totalPRsReviewed, totalComments, and array of PR objects (each with prId, prNumber, prTitle, prRepo, prUrl, prCreatedAt, comments array, totalComments)

github.getCommentImpact

Analyze whether review comments resulted in subsequent code changes. Examines PR timeline data to determine if commits were made after comments were submitted. Returns impact assessment with confidence scores (0.0-1.0) and evidence (e.g., "Commit abc1234 modified files after comment"). Only includes comments with actual impact (commits found after comment). Includes statistics: totalComments, totalPRsReviewed, totalImpacts. Filters by repository. Use this tool to measure the effectiveness of code reviews.

Example use cases:

  • Measure review impact (how often comments lead to code changes)

  • Assess review quality and influence

  • Track review effectiveness metrics

  • Identify high-impact reviewers

Returns: Object with impacts array (commentId, prId, hadImpact, confidence, evidence) and optional stats object (totalComments, totalPRsReviewed, totalImpacts)

github.getUserComments

Fetch all comments (review comments and issue comments) added by a user for a given repository within a time duration. Combines PR review comments (inline comments from PR reviews) and PR issue comments (general comments on PRs), normalizes them into a unified format, and deduplicates by comment ID. Filters by comment.createdAt and author. Automatically filters out auto-generated comments and comments on auto-created PRs. Use this tool to get a complete view of all user comments in a repository.

Example use cases:

  • Get all comments by a user in a repository for analysis

  • Track comment activity and engagement

  • Analyze comment patterns and types

  • Extract all user feedback for sentiment analysis

Returns: Array of comment objects with id, body, createdAt, author, prId, prNumber, prTitle, prRepo, commentType (review/issue), filePath, lineNumber, reviewId

github.getUserRepoStats

Get comprehensive repository statistics for a user within a time frame. Aggregates all activity metrics in a single call: PRs authored (with state breakdown: merged/open/closed), comments (total with review/issue breakdown), PR reviews (total with state breakdown: approved/changesRequested/commented, plus unique PRs reviewed), and code changes (files changed, additions, deletions, net change). This is the most efficient tool for getting a complete overview of user activity in a repository. Combines data from multiple sources internally.

Example use cases:

  • Get complete activity overview for performance reviews

  • Generate comprehensive developer metrics reports

  • Compare user activity across different repositories

  • Track overall contribution metrics in a single call

Returns: Object with stats containing username, repo, timeRange, prs (count, merged, open, closed), comments (total, review, issue), reviews (total, totalPRsReviewed, approved, changesRequested, commented), codeChanges (filesChanged, additions, deletions, netChange)

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/radireddy/github-mcp'

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