A Go-based Anthropic MCP server that helps developers self-review their GitHub pull requests.
- List all your open pull requests across owned GitHub repositories
- Comment on your pull requests
- Designed to work with Claude AI using the Model Control Protocol (MCP)
- Go 1.24.0 or higher
- GitHub personal access token with appropriate permissions
git clone https://github.com/alesr/gh-self-reviewer.git
cd gh-self-reviewer
go build -o gh-self-reviewer main.go-
Generate a GitHub personal access token with
reposcope -
Add the following configuration to your Claude AI config:
{
"mcpServers": {
"github_tools": {
"command": "/path/to/gh-self-reviewer",
"args": [],
"env": {
"GITHUB_TOKEN_MCP_APP_REVIEW": "your_github_token_here"
}
}
}
}Replace /path/to/gh-self-reviewer with the actual path to the executable and your_github_token_here with your GitHub personal access token.
Once set up, you can instruct Claude to:
-
List your open pull requests:
Could you list my open GitHub pull requests? -
Review and comment on a specific PR:
Please review my PR at https://github.com/username/repo/pull/123 and add a comment
MIT