P

Pygithub MCP Server

An MCP server based on PyGithub, providing a complete toolset for managing GitHub repositories, issues, pull requests, etc. through an AI assistant
2 points
23

What is the PyGithub MCP Server?

The PyGithub MCP Server is a tool based on the Model Context Protocol (MCP) designed to simplify interactions with the GitHub API. It allows users to create, update, and manage issues, labels, milestones, and other content in GitHub repositories through the MCP protocol.

How to Use the PyGithub MCP Server?

First, ensure that Python 3.10 or a higher version is installed and set up a GitHub personal access token. Then start the server and configure the relevant toolset to begin operations.

Applicable Scenarios

Suitable for development teams and individual users who need to frequently interact with GitHub repositories, such as automated issue management and repository maintenance.

Main Features

GitHub Issue ManagementSupports creating, updating, and deleting GitHub issues, and handling comments, labels, and milestones.
Repository ManagementManages the basic information and permission settings of GitHub repositories.
Pull Request ManagementSupports creating, merging, and closing pull requests.
Discussion Area ManagementManages the content of the GitHub discussion area.
Search FunctionSearches for content within GitHub repositories based on keywords.

Advantages and Limitations

Advantages
Modular design, easy to expand and customize.
Powerful error handling mechanism to ensure stable operation.
Flexible configuration options to meet different needs.
Detailed log records for easy debugging and monitoring.
Limitations
It has a certain dependence on the network environment, which may affect performance.
Some advanced functions require higher GitHub API permissions.
The initial configuration may be slightly complicated, but the documentation is complete.

How to Use

Install Dependencies
Install the required dependencies in a virtual environment, such as PyGithub and other MCP tools.
Configure the Server
Edit the configuration file or set environment variables to enable the required toolset.
Start the Server
Run the server script to listen for requests from MCP clients.

Usage Examples

Create an IssueAdd an issue to a GitHub repository.
Update an IssueModify the title and status of an existing issue.

Frequently Asked Questions

How to verify that the server is working properly?
Why did my GitHub API request fail?
How to disable a certain toolset?

Related Resources

Official Documentation
Official documentation for the GitHub REST API.
GitHub MCP Project Homepage
The main repository of the GitHub MCP project.
YouTube Tutorial
A quick-start video tutorial.
Installation
Copy the following command to your Client for configuration
{
  "mcpServers": {
    "github": {
      "command": "/path/to/repo/.venv/bin/python",
      "args": ["-m", "pygithub_mcp_server"],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "your-token-here"
      }
    }
  }
}
Note: Your key is sensitive information, do not share it with anyone.
Featured MCP Services
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
864
4.3 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
175
4.5 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.8K
5 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
124
4.3 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
594
5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.7K
4.5 points
C
Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
5.3K
4.7 points
G
Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
312
4.5 points
AIbase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIbase