GitHub MCP Server

Official GitHub MCP server — gives Copilot agents access to GitHub APIs: issues, PRs, repos, code search, and more.

Authorgithub
Updated
mcpgithubofficial

Overview

The official GitHub MCP server from GitHub. Enables Copilot agents to:

  • Read/create/update issues and pull requests
  • Search code across repositories
  • Manage branches and commits
  • Access GitHub Actions workflows

Installation

npx @github/github-mcp-server

Or configure in VS Code settings:

{
  "mcp": {
    "servers": {
      "github": {
        "command": "npx",
        "args": ["-y", "@github/github-mcp-server"],
        "env": {
          "GITHUB_PERSONAL_ACCESS_TOKEN": "<your-token>"
        }
      }
    }
  }
}

Raw content

Copy this into your project — e.g. .instructions.md, .agent.md, or SKILL.md

## Overview

The official GitHub MCP server from GitHub. Enables Copilot agents to:

- Read/create/update issues and pull requests
- Search code across repositories
- Manage branches and commits
- Access GitHub Actions workflows

## Installation

```bash
npx @github/github-mcp-server
```

Or configure in VS Code settings:

```json
{
  "mcp": {
    "servers": {
      "github": {
        "command": "npx",
        "args": ["-y", "@github/github-mcp-server"],
        "env": {
          "GITHUB_PERSONAL_ACCESS_TOKEN": "<your-token>"
        }
      }
    }
  }
}
```