MCP.so
登录

PyGithub MCP Server

@AstroMined

关于 PyGithub MCP Server

暂无概览

基本信息

分类

其他

许可证

MIT

运行时

python

传输方式

stdio

发布者

AstroMined

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "pygithub-mcp-server": {
      "command": "uv",
      "args": [
        "venv"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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.

评论

其他 分类下的更多 MCP 服务器