Skip to content

Summary

GitHub's official MCP server — manage issues, pull requests, repositories, code search, and Actions from your agent.

Installation

Set up this MCP server in your favorite AI agent — copy a ready-made configuration below.

Any MCP-compatible agent

Most agents (Claude, Cursor, Windsurf, VS Code, and more) read a standard mcpServers configuration.

  1. Open your agent's MCP configuration file.
  2. Merge the snippet below into it, filling in the environment variables with your own values.
  3. Restart the agent — the "GitHub" tools will be available.
{
  "mcpServers": {
    "github": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GITHUB_PERSONAL_ACCESS_TOKEN",
        "ghcr.io/github/github-mcp-server"
      ],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "ghp_your_token_here"
      }
    }
  }
}

Description

GitHub's official MCP server. It connects an agent to the GitHub platform: reading and creating issues and pull requests, browsing and searching repositories and code, reviewing PRs, and inspecting Actions runs. Available as a hosted remote server and as a local Docker image.

Covered in the Weekly

Related MCP Servers

MCP: Snag

by Snag

Snag's official remote MCP server — hands a coding agent the session replay, console logs, network trace and annotated screenshots captured for a bug, then takes the fix PR link back.

Clerk's official remote MCP server feeds AI coding assistants verified Clerk SDK snippets and implementation patterns, so generated auth code matches the current API.

Nulab's official MCP server for Backlog — let an agent read and write projects, issues, comments, milestones, wiki pages, Git repositories and pull requests through the Backlog API.

MCP: Sourcegraph

by Sourcegraph

Sourcegraph's MCP server — cross-repository keyword and semantic code search, go-to-definition, find-references, commit and diff search, and Deep Search, served from your own instance.

Browse all MCP servers →