pygithub-mcp-server
The PyGithub MCP Server is a Model Context Protocol server designed to interact with the GitHub API via PyGithub. It provides robust operations for managing issues, repositories, and pull requests using a modular tool architecture and smart parameter handling.
PyGithub MCP Server
A Model Context Protocol server that facilitates interactions with the GitHub API using PyGithub. It enables AI assistants to manage GitHub operations such as issues, repositories, and pull requests effectively.
Features
- Modular Tool Architecture: Configurable tool groups with easy extensions and separate concerns.
- Complete GitHub Issue Management: Manage issues, comments, labels, assignees, and milestones.
- Smart Parameter Handling: Dynamic parameter handling with validations and type conversions.
- Robust Implementation: Centralized client management, error handling, and logging.
Documentation
Comprehensive guides in docs/guides
including error handling, security, and tool references.
Installation
Create and activate a virtual environment, then install dependencies with UV.
Configuration
Add server to MCP settings and configure using JSON files or environment variables.
Development
Includes testing instructions and project structure details.
Dependencies
- Python 3.10+
- MCP Python SDK
- Pydantic
- PyGithub
- UV package manager
License
MIT