← Claude MCP Servers Directory

🐙

GitHub MCP Server

Community

About

The GitHub MCP server allows AI assistants to interact with GitHub repositories, issues, pull requests, and more. Seamlessly manage your GitHub workflow without leaving your development environment.

Features

  • Create and manage issues
  • Review and comment on pull requests
  • Search repositories and code
  • Manage branches and commits
  • Access repository metadata
  • Interact with GitHub Actions

Installation

Prerequisites

You'll need a GitHub personal access token with appropriate permissions.

Using Claude Desktop

Add this configuration to your Claude Desktop config file:

{
  "mcpServers": {
    "github": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-github"
      ],
      "env": {
        "GITHUB_TOKEN": "your_github_token_here"
      }
    }
  }
}

Using Cursor

Configure in your Cursor settings (Settings > MCP):

{
  "github": {
    "command": "npx",
    "args": ["-y", "@modelcontextprotocol/server-github"],
    "env": {
      "GITHUB_TOKEN": "your_github_token_here"
    }
  }
}

How to Use

Once installed, you can ask your AI assistant to:

  • "Create an issue in my repository about the bug"
  • "Show me open pull requests"
  • "Search for files containing 'authentication'"
  • "List recent commits on the main branch"
  • "Comment on pull request #42"