Back to MCP Servers
🐙

GitHub MCP Server

by GitHub

The official GitHub MCP Server (public preview, rewritten in Go with Anthropic) enables integration with GitHub repositories, issues, pull requests, code scanning, and more. Perform code searches, manage workflows, and automate repository tasks using natural language.

Official
Company Integration
Developer Tools
Deployment Type
💻Local

Runs on your local machine

Authentication
🔑API Key

Requires API key

Installation
Easy

Quick setup, minimal config

Use Cases
Common ways to use this MCP server
Code review
Issue management
PR automation
Repository search
Workflow automation
Ideal For
This server is perfect for these roles and teams
Developers
Engineering Managers
DevOps Engineers
Open Source Maintainers
Installation
Quick start guide for setting up this MCP server

1. Install via npx

npx -y @modelcontextprotocol/github

2. Add to Claude Desktop config

Edit claude_desktop_config.json

{
  "mcpServers": {
    "github": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/github"],
      "env": {
        "API_KEY": "your-api-key-here"
      }
    }
  }
}

3. Restart Claude Desktop

Close and reopen Claude Desktop to load the new MCP server.

Learn More About Model Context Protocol
Understand how MCP works and how to build your own servers