GitHub MCP Server

GitHub's official MCP server: code, issues, pull requests, Actions and security alerts straight from the agent

  • 34,064 ★ on the repository
  • Last commit
  • MIT
MCP serverEditors’ pick

Broad access

Why this level

  • Can create and modify issues, pull requests and repository files
  • Operates with an access token to the GitHub account
All reasons and checks

github/github-mcp-server

Install

Manual install

{
  "servers": {
    "github": {
      "type": "http",
      "url": "https://api.githubcopilot.com/mcp/"
    }
  }
}

Remote server with OAuth login, requires VS Code 1.101 or later.

Access and checks

How we review

Broad accessThe tool can change data, run commands or handle secrets.

  • Can create and modify issues, pull requests and repository files
  • Operates with an access token to the GitHub account

This is third-party code. Review the repository files before installing.

What it does

The server gives the agent GitHub tools: read files and commit history, search repositories, create and update issues and pull requests. The agent can inspect GitHub Actions runs and dig into build failures, read Dependabot alerts and code scanning results, and work with discussions and notifications. Tools are grouped into toolsets that can be enabled separately. There is a remote version hosted by GitHub and a local Docker version that also covers GitHub Enterprise Server.

Who it is for. For developers and maintainers who run projects on GitHub and want the agent to handle repository chores.

Good fit when

  • You need to analyze a failed workflow and propose a fix
  • You need to triage or close many issues
  • You need to open a pull request and respond to review comments

Not a fit when

  • Your code lives in GitLab, Bitbucket or a self-hosted Gitea
  • Local git and the gh CLI are enough for the agent

Example request

Check why the latest CI run failed on this pull request and suggest a fix

MCP

Transport
http
Authentication
key is optional

Environment variables

GITHUB_PERSONAL_ACCESS_TOKEN secret
GitHub personal access token for the local server; OAuth login is used without it
GITHUB_HOST
GitHub Enterprise Server or ghe.com hostname, https only

Limitations

The remote server lives at api.githubcopilot.com and needs a host that supports remote MCP and OAuth. The local version needs Docker plus a personal access token or OAuth login. GitHub Enterprise Server is supported only by the local server.

How to disable. Remove the github server from the client's MCP config, in Claude Code with claude mcp remove github. Revoke the issued token in GitHub settings.

FAQ

Which version should I pick?

Remote is simpler: no Docker, and OAuth handles the token. Local is for GitHub Enterprise Server and hosts without remote MCP.

What scopes should the token have?

The README advises minimal scopes: repo for repositories, read:packages and read:org only if needed.

Discussion

No questions or reviews yet.

Azure DevOps MCP server

Azure DevOps MCP Server

Official

Official Microsoft MCP server for Azure DevOps: work items, repositories, builds, test plans, and wiki from the agent

MCP serverBroad access2.1KRepository stars

A GitLab MCP with 86 tools: issues, merge requests, pipelines, wikis and files, a read-only mode and a launch both locally and remotely with OAuth

MCP serverBroad access65Repository stars
Official

Official Docker MCP server: image search, tags, repositories and Docker Hardened Images on Docker Hub

MCP serverExtended access171Repository stars

A Node.js manager for MCP servers: it starts local servers, connects remote ones and gives a client one address, with a REST API for control

MCP serverBroad access524Repository stars

A secure MCP runtime through which an agent operates local machines, servers and containers

MCP serverBroad access1.3KRepository stars
Official

Microsoft's official MCP server for Azure: the agent sees subscription resources and works with Azure services on your behalf

MCP serverBroad access3.8KRepository stars

Comparison with similar tools

Entries that share the main search query, and how they differ.

EntryOfficialAuthenticationRepository starsMain difference
GitHub MCP Server (this entry)nokey is optional34,064
gh-axino349a GitHub CLI wrapper for agents
GitLab MCP Server (Yoda Digital)noAPI key65a GitLab MCP with 86 tools
Paws-on-MCPnonot required326a teaching MCP server in Python

README in short

The README lists use cases: repository management, issue and PR automation, CI and code analysis, team collaboration. For the remote server it gives VS Code JSON snippets with OAuth and with a token, an Insiders mode and ghe.com setup, with separate guides for other clients. The local server runs from the ghcr.io/github/github-mcp-server image, with advice on storing tokens safely and a GITHUB_HOST variable for Enterprise. MIT licensed.

README badge

Report a problem

Foxx AIGitHub MCP Server
Foxx AI

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.