GitHub MCP Server logo

GitHub MCP Server

by github

The GitHub MCP Server is a Model Context Protocol (MCP) server that provides seamless integration with GitHub APIs. It enables advanced automation and interaction capabilities for developers and tools.

View on GitHub

Last updated: N/A

What is GitHub MCP Server?

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

How to use GitHub MCP Server?

The server can be installed and used with VS Code or Claude Desktop using Docker. Alternatively, it can be built from source using go build. Configuration involves setting up a GitHub Personal Access Token and specifying the server configuration in JSON format. Toolsets can be enabled or disabled to control the available GitHub API capabilities.

Key features of GitHub MCP Server

  • Seamless integration with GitHub APIs

  • Advanced automation capabilities

  • Support for Model Context Protocol (MCP)

  • Configurable toolsets for controlling API access

  • Dynamic tool discovery (beta)

  • Support for GitHub Enterprise Server

  • i18n / Overriding Descriptions

Use cases of GitHub MCP Server

  • Automating GitHub workflows and processes

  • Extracting and analyzing data from GitHub repositories

  • Building AI powered tools and applications that interact with GitHub's ecosystem

  • Code scanning alerts and security features

  • Secret scanning alerts and security features

FAQ from GitHub MCP Server

What is a GitHub Personal Access Token?

A GitHub Personal Access Token is a credential that allows you to access GitHub APIs without using your username and password directly. It's recommended for security.

How do I create a GitHub Personal Access Token?

You can create a Personal Access Token in your GitHub settings under Developer settings > Personal access tokens.

What are toolsets?

Toolsets are groups of functionalities that can be enabled or disabled on the GitHub MCP Server to control which GitHub API capabilities are available to AI tools.

What is dynamic tool discovery?

Dynamic tool discovery is a feature that allows the MCP host to list and enable toolsets in response to a user prompt, helping to avoid model confusion due to too many available tools.

How can I override the descriptions of the tools?

You can override the descriptions of the tools by creating a github-mcp-server-config.json file in the same directory as the binary or by using ENV vars.