GitHub logo

GitHub

Official

Devtools · MCP Archives

Overview

What is GitHub?

GitHub is where most software teams host code, review pull requests, track issues, and run CI. The official GitHub MCP server exposes those workflows to AI assistants so they can search repositories, inspect issues and PRs, and help you move work forward without leaving the chat.

You can run the official server locally with Docker (personal access token) or connect Cursor to the hosted Copilot MCP endpoint. Prefer fine-scoped tokens, read-only where possible, and never paste secrets into prompts.

About GitHub

Repos, issues, pull requests, and Actions.

GitHub ships an official MCP server (remote and local).

#devtools#official#mcp

Config

Add GitHub to your MCP client using the configuration below. Tabs appear only for clients this app supports.

Config file%APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "github": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GITHUB_PERSONAL_ACCESS_TOKEN",
        "ghcr.io/github/github-mcp-server"
      ],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "YOUR_GITHUB_PAT"
      }
    }
  }
}

Official GitHub MCP via Docker. Replace YOUR_GITHUB_PAT, then restart Claude Desktop.

Comments

Share tips, gotchas, or updates about connecting GitHub. Guests can post too — no account required.

Loading comments…

More in Devtools

Other apps in this category

View all