MCP Catalogs
Homegithub-mcp-server screenshot

github-mcp-server

by github·29,881·Score 64

GitHub's official MCP Server connects AI tools to GitHub's platform for repository management, issue automation, and code analysis.

githubdeveloper-toolsproductivity
4,195
Forks
328
Open issues
this month
Last commit
2d ago
Indexed

Overview

The GitHub MCP Server is a robust implementation of the Model Context Protocol that enables AI agents, assistants, and chatbots to interact directly with GitHub's ecosystem. It provides comprehensive access to repositories, code files, issues, pull requests, and GitHub Actions workflows. The server supports both remote and local deployment options, with detailed documentation for various MCP hosts including VS Code, Claude Desktop, Cursor, and more. Implementation is in Go with strong code quality signals as evidenced by the high star count and recent commits.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Browse and analyze code repositories from within AI assistants
you:Automate creation and management of GitHub issues and pull requests
you:Monitor and analyze CI/CD pipelines and GitHub Actions workflows
you:What authentication methods are supported?
you:Does it work with GitHub Enterprise Server?

When to choose this

Choose this when you need direct GitHub integration for AI tools, especially if you're already using GitHub Copilot or want to leverage GitHub's official implementation for better compatibility.

When NOT to choose this

Avoid if you need self-hosting without internet access, require offline functionality, or need to integrate with other version control systems beyond GitHub.

Tools this server exposes

12 tools extracted from the README
  • browse_repository

    Browse and query code, search files, and understand project structure across a repository

  • create_issue

    Create a new GitHub issue in a repository

  • update_issue

    Update an existing GitHub issue with new information

  • manage_pull_request

    Create, update, or manage pull requests in a repository

  • monitor_workflows

    Monitor GitHub Actions workflow runs and analyze build status

  • analyze_security_findings

    Examine security findings in a repository

  • create_release

    Create a new release on GitHub

  • analyze_commits

    Analyze commit history and changes in a repository

  • manage_team_discussions

    Access and manage team discussions and notifications

  • query_codebase

    Query code and understand patterns in the codebase

  • analyze_activity

    Analyze team activity and repository statistics

  • dependabot_alerts

    Review and manage Dependabot alerts for dependencies

Note: Tool names were inferred from use cases and feature descriptions in the README rather than from an explicit tools section. The server documentation was not fully accessible in the provided text.

Comparable tools

git-mcpgithub-cli-mcpoctokit-mcp

Installation

Installation Options

Remote Installation (Recommended)

Add to your MCP host configuration (e.g., VS Code 1.101+):

{
  "servers": {
    "github": {
      "type": "http",
      "url": "https://api.githubcopilot.com/mcp/"
    }
  }
}

For Claude Desktop, add to your claude_desktop_config.json:

{
  "mcpServers": {
    "github": {
      "command": "http",
      "args": ["https://api.githubcopilot.com/mcp/"]
    }
  }
}

Local Installation

Using Docker:

docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN=your_token ghcr.io/github/github-mcp-server

Or install from source after cloning the repository.

FAQ

What authentication methods are supported?
The GitHub MCP Server supports both OAuth authentication and GitHub Personal Access Tokens (PAT). OAuth is recommended for better security and user experience, while PAT can be used as an alternative.
Does it work with GitHub Enterprise Server?
Yes, both remote and local versions support GitHub Enterprise. For remote, you need GitHub Enterprise Cloud. For local, you can use the --gh-host flag or GITHUB_HOST environment variable to specify your Enterprise Server endpoint.

On Hacker News

Recent discussion from the developer community.

Compare github-mcp-server with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.