PyGithub MCP Server
@AstroMined
About PyGithub MCP Server
No overview available yet
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"pygithub-mcp-server": {
"command": "uv",
"args": [
"venv"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is PyGithub MCP Server?
A Model Context Protocol server that provides tools for interacting with the GitHub API through PyGithub. It enables AI assistants to perform GitHub operations such as managing issues, repositories, and pull requests.
How to use PyGithub MCP Server?
Install dependencies with uv pip install -e ., then configure the server by setting the GITHUB_PERSONAL_ACCESS_TOKEN environment variable and adding the server to your MCP settings file (e.g., claude_desktop_config.json). Optionally, enable or disable tool groups via a JSON configuration file or environment variables.
Key features of PyGithub MCP Server
- Modular tool architecture with configurable tool groups.
- Complete GitHub issue management (create, update, comments, labels).
- Smart parameter handling with validation and type conversion.
- Object-oriented GitHub API interactions via PyGithub.
- Centralized client management with error handling and rate limiting.
- Comprehensive pagination support and detailed logging.
Use cases of PyGithub MCP Server
- Create and manage GitHub issues in a repository.
- Add, update, list, and delete comments on issues.
- Manage labels, assignees, and milestones on issues.
- Retrieve issue details and list all issues in a repository.
- Configure specific tool groups to limit available operations.
FAQ from PyGithub MCP Server
What are the dependencies?
Python 3.10+, MCP Python SDK, Pydantic, PyGithub, and the UV package manager.
How do I configure which tool groups are enabled?
Use a JSON configuration file set via the PYGITHUB_MCP_CONFIG environment variable, or set environment variables like PYGITHUB_ENABLE_ISSUES=true. By default, only the issues tool group is enabled.
The server fails to start. What should I check?
Verify the venv Python path in your MCP settings, ensure all dependencies are installed in the venv, and confirm that the GITHUB_PERSONAL_ACCESS_TOKEN is set and valid.
Does the server support rate limiting and pagination?
Yes, it includes rate limit handling and automatic pagination for API calls.
Are there any known test suite issues?
Yes, many tests are currently failing and under investigation.
More Other MCP servers
Awesome Mcp Servers
punkpeyeA collection of MCP servers.
Maestro
mobile-dev-incPainless E2E Automation for Mobile and Web
XcodeBuildMCP
cameroncookeA Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
Awesome-MCP-ZH
yzflyMCP 资源精选, MCP指南,Claude MCP,MCP Servers, MCP Clients
ghidraMCP
LaurieWiredMCP Server for Ghidra
Comments