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.

コメント

「その他」の他のコンテンツ