GitHub MCP (Model Context Protocol) server
@ualUsham
About GitHub MCP (Model Context Protocol) server
This is a GitHub MCP server designed to enable MCP-compatible LLMs, such as Claude, to communicate with my MCP server and interact with the GitHub API.
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"gh": {
"command": "node",
"args": [
"absolute\\path\\to\\your\\index.js\\file"
],
"env": {
"GITHUB_TOKEN": "your-github-personal-access-token"
}
}
}
}Tools
No tools detected
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 (Model Context Protocol) server?
A server that enables MCP-compatible LLMs like Claude to interact with the GitHub API. It provides predefined tools and prompts for common GitHub operations.
How to use GitHub MCP (Model Context Protocol) server?
Clone the repository, run npm install, add a .env file, build with npx tsc, then run node build/index.js. Configure Claude Desktop by editing claude_desktop_config.json to point to the built index.js and set a GITHUB_TOKEN environment variable. You can also test using the MCP inspector.
Key features of GitHub MCP (Model Context Protocol) server
- Create, list, and describe GitHub issues
- Retrieve repository information and search repositories
- Generate descriptions for issues and pull requests
- Format and enhance raw GitHub API responses
- Integrates with MCP-compatible LLMs via Model Context Protocol
Use cases of GitHub MCP (Model Context Protocol) server
- Allow an LLM assistant to create GitHub issues on your behalf
- Fetch repository details and issue lists during conversations
- Search for GitHub repositories based on user queries
- Generate pull request or issue descriptions automatically
FAQ from GitHub MCP (Model Context Protocol) server
What does this server do?
It acts as a bridge between an MCP-compatible LLM (e.g., Claude) and the GitHub API, providing tools and prompts to interact with GitHub repositories.
What are the requirements to run it?
You need TypeScript, Octokit, and the Model Context Protocol SDK. Node.js is required to execute the built JavaScript.
How do I configure it with Claude Desktop?
Add an entry to your claude_desktop_config.json file with the command node, the absolute path to your index.js file, and set the GITHUB_TOKEN environment variable to your GitHub personal access token.
What tools and prompts does it include?
Four tools: create-issue, get-repo-info, list-issues, search-repos. Five prompts: create-issue-description, create-pull-request-description, search-repos-prompt, create-issue-prompt, and enhance-github-response.
How can I test the server without Claude Desktop?
Use the MCP inspector: run npx @modelcontextprotocol/inspector node build/index.js and open http://localhost:5173.
More Version Control MCP servers
GitHub Stars MCP Server
ccbikaiA Cloudflare-powered MCP (Model Context Protocol) Server that allows you to search and query your GitHub starred repositories using natural language.
Test
skillsCreate a site or blog from your GitHub repositories with GitHub Pages.

GitLab
modelcontextprotocolModel Context Protocol Servers
MCP Atlassian Server (by phuc-nt)
phuc-ntMCP server connecting AI assistants with Jira & Confluence for smart project management.
Linear MCP Server
jerhadfA server that integrates Linear's project management system with the Model Context Protocol (MCP) to allow LLMs to interact with Linear.
Comments