GitHub MCP Server logo

GitHub MCP Server

by minimind-org

The GitHub MCP Server enables file operations, repository management, search functionality, and more through the GitHub API. It allows users to interact with GitHub repositories programmatically.

View on GitHub

Last updated: N/A

What is GitHub MCP Server?

The GitHub MCP Server is a server that provides a set of tools to interact with the GitHub API. It allows users to create, read, update, and delete files, manage repositories, search for code, issues, and users, and perform other common GitHub operations programmatically.

How to use GitHub MCP Server?

To use the GitHub MCP Server, you need to set up a personal access token with the appropriate permissions and configure your environment to use the server. The README provides instructions for setting up the server with Docker or NPX, and then using the server with Claude Desktop. Each tool provided by the server has a defined set of inputs and returns, to manage the GitHub resources.

Key features of GitHub MCP Server

  • Automatic Branch Creation

  • Comprehensive Error Handling

  • Git History Preservation

  • Batch Operations

  • Advanced Search

Use cases of GitHub MCP Server

  • Automating repository management tasks

  • Integrating GitHub with other applications

  • Programmatically creating and updating files

  • Searching for code, issues, and users

  • Creating and managing pull requests

FAQ from GitHub MCP Server

What permissions are required for the GitHub Personal Access Token?

The repo scope is required for full control of private repositories. For public repositories only, the public_repo scope is sufficient.

How do I configure the server with Claude Desktop?

Add the provided JSON configuration to your claude_desktop_config.json file, replacing <YOUR_TOKEN> with your actual GitHub Personal Access Token.

What is the difference between create_or_update_file and push_files?

create_or_update_file is for creating or updating a single file, while push_files allows you to push multiple files in a single commit.

How can I search for issues with a specific label?

Use the search_issues tool with a query like q: "your search term" label:your_label.

What is the license for this MCP server?

This MCP server is licensed under the MIT License.