GitHub MCP Server
@melythemev
About GitHub MCP Server
This repository provides a robust MCP (Model Context Protocol), A2A server, enabling advanced file operations, repository management, and search. It features modular integrations for token analytics and social sentiment analysis, making it ideal for developers and analysts seekin
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"NexyA2A": {
"command": "docker",
"args": [
"build",
"-t",
"mcp/github",
"-f",
"src/github/Dockerfile",
"."
]
}
}
}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 Server?
MCP Server for the GitHub API, enabling file operations, repository management, search functionality, and more. It serves as a bridge between MCP clients and GitHub, allowing automated interactions with repositories, issues, pull requests, and code search.
How to use GitHub MCP Server?
Requires a GitHub Personal Access Token with appropriate permissions. The server can be run via Docker (mcp/github image) or NPX (@modelcontextprotocol/server-github), passing the token as an environment variable. Configure it in your MCP client (e.g., Claude Desktop) as shown in the setup examples.
Key features of GitHub MCP Server
- Automatic branch creation as needed
- Comprehensive error handling with clear messages
- Git history preservation during operations
- Batch operations for single and multi-file changes
- Advanced search across code, issues/PRs, and users
Use cases of GitHub MCP Server
- Automate file operations and repository management via MCP
- Search code, issues, pull requests, and users programmatically
- Manage the full lifecycle of GitHub issues and pull requests
- Perform bulk file updates while maintaining proper Git history
FAQ from GitHub MCP Server
What authentication is required?
A GitHub Personal Access Token must be provided via the GITHUB_PERSONAL_ACCESS_TOKEN environment variable.
How can I run GitHub MCP Server?
You can run it using Docker (docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN mcp/github) or via NPX (npx -y @modelcontextprotocol/server-github).
Does GitHub MCP Server support batch operations?
Yes, it supports both single and multi-file operations as part of its batch capabilities.
What tools does GitHub MCP Server provide?
Tools are grouped into File & Repo (e.g., create_or_update_file, push_files, create_repository), Search (e.g., search_repositories, search_code), and Issues & PRs (e.g., create_issue, create_pull_request, merge_pull_request) categories.
How does the server handle errors?
It provides comprehensive error handling with clear error messages for common issues.
More Version Control MCP servers
mcp-github-trending MCP Server
hetaoBackendMCP server for getting github trending repos & developers
Atlassian Jira MCP Server
aashariNode.js/TypeScript MCP server for Atlassian Jira. Equips AI systems (LLMs) with tools to list/get projects, search/get issues (using JQL/ID), and view dev info (commits, PRs). Connects AI capabilities directly into Jira project management and issue tracking workflows.
GitMCP
idosalPut an end to code hallucinations! GitMCP is a free, open-source, remote MCP server for any GitHub project
Atlassian Data Center MCP
b1ffMCP servers for the Atlassian products (Bitbucket, Confluence, JIRA) of the Data Center version
Test
skillsCreate a site or blog from your GitHub repositories with GitHub Pages.
Comments