Github MCP Server
by ParasSolanki
The Github MCP Server provides integration with Github through the Model Context Protocol (MCP), allowing Large Language Models (LLMs) to interact with Github's REST API. It enables LLMs to search and retrieve information from Github repositories, issues, pull requests, and more.
Last updated: N/A
What is Github MCP Server?
The Github MCP Server is a bridge between Github and LLMs, enabling them to access and manipulate Github data through the Model Context Protocol. It exposes a set of tools that allow LLMs to search repositories, issues, commits, code, users, topics, labels, list issues and pull requests, and get specific issues and pull requests.
How to use Github MCP Server?
To use the Github MCP Server, you need to create a Github personal access token and configure it in the Claude Desktop configuration file. Then, you can use the provided tools by calling them with appropriate inputs. Examples of prompts are provided in the README.
Key features of Github MCP Server
Integration with Github via MCP
Provides tools for searching repositories, issues, commits, code, users, topics, and labels
Tools for listing issues and pull requests
Tools for getting specific issues and pull requests
Allows LLMs to interact with Github data
Use cases of Github MCP Server
Automated issue triaging
Code search and analysis
Repository discovery
User and topic discovery
Pull request review assistance
FAQ from Github MCP Server
How do I get a Github personal access token?
How do I get a Github personal access token?
Refer to the Github documentation: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-fine-grained-personal-access-token
Where do I configure the Github personal access token?
Where do I configure the Github personal access token?
Add the server config to Claude Desktop in the claude_desktop_config.json file. The location of this file varies by operating system.
What is the Model Context Protocol (MCP)?
What is the Model Context Protocol (MCP)?
MCP is a protocol that enables LLMs to interact with external tools and services.
What are the required inputs for each tool?
What are the required inputs for each tool?
The required inputs for each tool are listed in the Components section of the README.
How do I run the server locally for development?
How do I run the server locally for development?
Install dependencies with pnpm install
, configure your Github access token in a .env
file, and run pnpm dev
.