Pygithub MCP Server

A Model Context Protocol server that provides tools for interacting with the GitHub API through PyGithub. This server enables AI assistants to

Local serverstdioPython

What is the Pygithub MCP Server?

Pygithub mcp server connects Pygithub to AI assistants that speak the Model Context Protocol. A Model Context Protocol server that provides tools for interacting with the GitHub API through PyGithub. This server enables AI assistants to perform GitHub operations like managing issues, repositories, and pull requests.

What Pygithub does

A Model Context Protocol server that provides tools for interacting with the GitHub API through PyGithub. This server enables AI assistants to perform GitHub operations like managing issues, repositories, and pull requests.

Key capabilities

  • Modular Tool Architecture:
  • Configurable tool groups that can be enabled/disabled
  • Domain-specific organization (issues, repositories, etc.)
  • Flexible configuration via file or environment variables
  • Clear separation of concerns with modular design
  • Easy extension with consistent patterns
  • Complete GitHub Issue Management:
  • Create and update issues

Practical notes

  • Maintained by AstroMined, written in Python.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Pygithub MCP Server

{
  "mcpServers": {
    "github": {
      "command": "/path/to/repo/.venv/bin/python",
      "args": [
        "-m",
        "pygithub_mcp_server"
      ],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "YOUR_GITHUB_PERSONAL_ACCESS_TOKEN"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
GITHUB_PERSONAL_ACCESS_TOKENDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

  • “Use Pygithub to Testing.”
  • “Use Pygithub to Troubleshooting.”

Frequently asked questions

A Model Context Protocol server that provides tools for interacting with the GitHub API through PyGithub. This server enables AI assistants to perform GitHub Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.