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.

コメント

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