MCP.so
登录

PyGithub MCP Server

@AstroMined

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

AstroMined

关于 PyGithub MCP Server

暂无概览

PyGithub MCP Server 配置

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

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

PyGithub MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 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.

常见问题

1

What are the dependencies?

Python 3.10+, MCP Python SDK, Pydantic, PyGithub, and the UV package manager.

2

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.

3

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.

4

Does the server support rate limiting and pagination?

Yes, it includes rate limit handling and automatic pagination for API calls.

5

Are there any known test suite issues?

Yes, many tests are currently failing and under investigation.

评论

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