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.
Latest Blog Posts
- 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