GitHub MCP Server logo

GitHub MCP Server

by Sami-07

A custom-built MCP server that provides GitHub integration features. It offers various tools and resources to interact with GitHub data.

View on GitHub

Last updated: N/A

What is GitHub MCP Server?

The GitHub MCP Server is a custom-built server designed to facilitate interaction with the GitHub API. It provides a set of tools and resources to access and manipulate GitHub data, such as user information, repositories, issues, and commit statuses.

How to use GitHub MCP Server?

To use the server, first install the dependencies using pip install -r requirements.txt. Then, create a .env file and add your GitHub token. You can then run the server using python server.py and use the available tools and resources to interact with GitHub.

Key features of GitHub MCP Server

  • Get user information and profile details

  • List user repositories and followers

  • Get repository issues

  • Create new issues

  • Get commit statuses

  • Get owner information

  • Resource-based access to GitHub data

Use cases of GitHub MCP Server

  • Automating GitHub tasks

  • Building custom GitHub integrations

  • Retrieving GitHub data for analysis

  • Creating GitHub bots and applications

FAQ from GitHub MCP Server

How do I get a GitHub token?

You can create a GitHub token at https://github.com/settings/personal-access-tokens.

What permissions are required for the GitHub token?

The token requires repo (Full control of private repositories), read:user (Read user profile data), and user:follow (Follow and unfollow users) permissions.

How do I install the dependencies?

Run pip install -r requirements.txt in the project directory.

How do I run the server?

Run python server.py in the project directory.

What are the available resources?

The available resources include github://user/{username}, github://followers/{username}, github://repos/{username}, github://issues/{owner}/{repo}, and github://commit-status/{owner}/{repo}/{sha}.