highlight-github-mcp
1
This project is a GitHub MCP server that extracts diff information from pull requests by interacting with the GitHub REST API. It features error handling and requires authentication via a GitHub token.
GitHub Integration
The GitHub MCP server provides functionality to extract diffs from Pull Requests.
Available Tools
- get_diff_pr: Retrieves the diff content from a GitHub Pull Request.
Authentication
Set the GitHub Personal Access Token as an environment variable with necessary permissions.
Error Handling
Includes standard error handling for token issues, invalid parameters, and failed fetch attempts.
Technical Details
Built with Highlight AI MCP SDK, uses GitHub REST API v3, input validation via Zod, and runs as a stdio-based MCP server.
Limitations
Subject to GitHub API rate limits and diff size constraints depending on token permissions.