tai-mcp-github
Provides tools for managing GitHub pull requests, including listing, viewing details, comments, and review threads.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@tai-mcp-githubList unresolved review threads in PR #42"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
tai-mcp-github
A minimal MCP (Model Context Protocol) server that exposes a focused set of GitHub PR review tools to AI agents.
Why
The official github/github-mcp-server exposes 60+ tools (Actions, Discussions, Dependabot, secret scanning, gists, etc.). This inflates the MCP schema sent to the LLM on every request, increasing token usage and noise. This server limits the surface to exactly what is needed for a PR review workflow — nothing more.
Related MCP server: mcp-gitpro
Tools
Tool | Description |
| List open (or closed/all) PRs for a repository |
| Get full details of a specific PR |
| List general thread comments on a PR (conversation tab) |
| List unresolved inline review threads (diff comments) |
| Mark an inline review thread as resolved |
Requirements
Python 3.12+
A GitHub Personal Access Token with Pull requests: Read (and Write if you want to resolve threads)
Setup
git clone <repo-url>
cd tai-mcp-github
cp .env.example .env
# Edit .env and set GITHUB_TOKEN=your_pat_hereUsage
Run the server
uv run server.pyUse with Claude Code
Add to your MCP configuration (e.g. ~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"github-pr-review": {
"command": "uv",
"args": ["run", "server.py"],
"cwd": "/path/to/tai-mcp-github"
}
}
}Development
Run tests
uv run --with pytest --with pytest-asyncio pytest tests/ -vLint and type-check
uv run --with ruff ruff check .
uv run --with ruff ruff format --check .
uv run --with mypy mypy server.pyGit hooks
Pre-commit (ruff + mypy) and pre-push (tests) hooks are provided. Install them once:
cp .git/hooks/pre-commit .git/hooks/pre-commit # already in place after cloneNote: git hooks are local only. Run the script below on a fresh clone to activate them.
chmod +x .git/hooks/pre-commit .git/hooks/pre-pushTech stack
fastmcp — MCP server framework
PyGithub — GitHub REST API client
httpx — HTTP client used for GitHub GraphQL API calls
python-dotenv —
.envfile supportruff — linting and formatting
mypy — static type checking
pytest — testing
Architecture
server.py # Single-file MCP server — all tools live here
tests/
└── test_server.py # Unit tests (fully mocked, no GitHub calls)The server is intentionally stateless — no caching, sessions, or background tasks. Each tool maps directly to one GitHub API call:
PR listing and detail use the GitHub REST API via PyGithub
Review thread listing and resolving use the GitHub GraphQL API via a single
httpxPOST (the GraphQLresolveReviewThreadmutation is not available on the REST API)
Authentication is via a GitHub Personal Access Token passed through the GITHUB_TOKEN environment variable. No OAuth or GitHub App flows are needed.
Scope
This server is read-focused. Explicitly out of scope:
Git operations (commits, pushes, branch management) — do these locally
Any GitHub feature outside the PR review workflow (Actions, Issues, Releases, etc.)
This server cannot be installed
Maintenance
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
- AlicenseAqualityDmaintenanceAn MCP server that enables AI agents to retrieve detailed GitHub Pull Request information using git commit hashes, branch names, or PR numbers. It automatically detects repositories and extracts comprehensive PR data including descriptions, labels, and reviews via the GitHub CLI.Last updated117ISC
- Flicense-quality-maintenanceA context-efficient GitHub MCP server designed for AI agents to manage repositories, issues, pull requests, and actions directly via cloud workflows. It focuses on a compact tool surface to minimize context waste while providing comprehensive read and write coverage without requiring a local Git CLI.Last updated
- Alicense-qualityCmaintenanceMCP server exposing a shared pr-review skill with tools to list, get, run, and evaluate skills, enabling AI assistants to perform code review tasks.Last updatedMIT
- AlicenseBqualityAmaintenanceMCP server that exposes GitHub operations as tools for AI agents, enabling code search, issue management, and PR review.Last updated12MIT
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
MCP server exposing the Backtest360 engine API as tools for AI agents.
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/pxl-research/tai-mcp-github-pr'
If you have feedback or need assistance with the MCP directory API, please join our Discord server