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
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.
Frequently asked questions
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.
Basic information
More Version Control MCP servers
Jira MCP
nguyenvanduocitA Go-based MCP (Model Control Protocol) connector for Jira that enables AI assistants like Claude to interact with Atlassian Jira. This tool provides a seamless interface for AI models to perform common Jira operations including issue management, sprint planning, and workflow tra
GitHub Actions 工作流使用说明
HenryHaosonYuque mcp server
Atlassian Data Center MCP
b1ffMCP servers for the Atlassian products (Bitbucket, Confluence, JIRA) of the Data Center version
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.
mcp-github-trending MCP Server
hetaoBackendMCP server for getting github trending repos & developers
Comments