G

GitHub

Official
Featured

Issues, PRs, code search, and repository operations across GitHub.

by GitHub· 21.4k·Development·Updated 2 days ago

Install

Add this command to your MCP client config to connect GitHub.

npx -y @modelcontextprotocol/server-github

About GitHub

The GitHub MCP server exposes the GitHub API as a toolset: search code, read and create issues, open and review pull requests, manage branches, and inspect repositories — all through your AI client.

You authenticate with a personal access token (or a fine-grained token scoped to specific repos). Once connected, the assistant can do things like "find the function that handles webhook retries and open a PR moving it behind a feature flag" without leaving the chat.

A particularly useful pattern is combining it with the filesystem server: the assistant clones locally, edits, runs your tests, then opens a PR — all in one conversation.

Tags

Other MCP servers in Development and beyond.