MCP.so
Sign In

GitHub MCP Server

@zaidongy

Basic information

Category

Version Control

License

MIT license

Transports

stdio

Author

zaidongy

About GitHub MCP Server

A Model Context Protocol server implementation for GitHub

GitHub MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "github-mcp-server-zaidongy": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "\\"
      ]
    }
  }
}

GitHub MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is GitHub MCP Server?

The GitHub MCP Server is a Model Context Protocol (MCP) server that integrates with GitHub APIs, enabling advanced automation and interaction for developers and AI tools.

How to use GitHub MCP Server?

Run it via Docker (recommended) using docker run ghcr.io/github/github-mcp-server with a GitHub Personal Access Token set as the GITHUB_PERSONAL_ACCESS_TOKEN environment variable, or build the binary from source and run with github-mcp-server stdio. Configure it in VS Code (User Settings or .vscode/mcp.json) or Claude Desktop.

Key features of GitHub MCP Server

  • Authenticates via GitHub Personal Access Token.
  • Supports repository, issue, pull request, user, and code security toolsets.
  • Allows enabling/disabling specific tool groups via --toolsets or GITHUB_TOOLSETS.
  • Offers dynamic toolset discovery (beta) to activate tools on demand.
  • Supports GitHub Enterprise Server via --gh-host or GITHUB_HOST.
  • Provides i18n tool description overrides via config file or environment variables.

Use cases of GitHub MCP Server

  • Automating GitHub workflows and processes.
  • Extracting and analyzing data from repositories.
  • Building AI-powered tools that interact with GitHub’s ecosystem.
  • Managing issues, pull requests, and code security alerts programmatically.

Frequently asked questions

1

What are the prerequisites for running GitHub MCP Server?

You need Docker installed and running, and a GitHub Personal Access Token with appropriate permissions.

2

How do I authenticate with GitHub MCP Server?

Set the `GITHUB_PERSONAL_ACCESS_TOKEN` environment variable with your personal access token when launching the server.

3

Can I use GitHub MCP Server with GitHub Enterprise Server?

Yes. Use the `--gh-host` flag or `GITHUB_HOST` environment variable to specify your GitHub Enterprise Server hostname (must include `https://`).

4

How do I control which tools are available?

Use the `--toolsets` flag (e.g., `repos,issues,pull_requests`) or the `GITHUB_TOOLSETS` environment variable. Pass `all` to enable everything. For dynamic discovery, use `--dynamic-toolsets` or `GITHUB_DYNAMIC_TOOLSETS=1`.

5

Can I customize tool descriptions for internationalization?

Yes. Create a `github-mcp-server-config.json` file with tool name keys and new descriptions, or set environment variables prefixed with `GITHUB_MCP_`. Use `--export-translations` to generate an export.

Comments

More Version Control MCP servers