The GitHub MCP Server exposes GitHub as a Model Context Protocol server so AI assistants can safely act on repos, issues, pull requests, gists, and more through a consistent tool interface. It’s designed to run locally or remotely and then be attached to MCP-capable clients (for example, Copilot Chat) so an LLM can search code, open files, create branches, draft PRs, label or triage issues, and query metadata without hard-coding GitHub APIs. The server defines tools and resources with fine-grained scopes, leaning on GitHub’s auth to enforce least privilege and auditable access. It supports both stdio and HTTP transports, enabling IDE and headless integrations, and adopts common MCP behaviors like prompts, schemas, and tool definitions to keep agent calls predictable. Documentation covers setup, tokens, and client configuration, highlighting native editor integrations. Its design goal is to give AI agents first-class, governed access to GitHub workflows.
Features
- Fine-grained GitHub scopes mapped to MCP tools
- Read/write repo operations with auditable actions
- Issue and PR management tools for triage and review
- Dual transports (stdio and HTTP) for IDE or server use
- Typed schemas for safe tool inputs and outputs
- Drop-in setup for MCP-capable chat and agent clients