GitHub MCP Server
@s2005
About GitHub MCP Server
Standalone MCP server for GitHub API
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-github-server-s2005": {
"command": "docker",
"args": [
"build",
"-t",
"mcp/github",
"-f",
"Dockerfile",
"."
]
}
}
}Tools
40`owner` (string): Repository owner (username or organization)
File content and commit details
`owner` (string): Repository owner
Updated branch reference
`query` (string): Search query
Repository search results
`name` (string): Repository name
Created repository details
`owner` (string): Repository owner
File/directory contents
`owner` (string): Repository owner
Created issue details
`owner` (string): Repository owner
Created pull request details
`owner` (string): Repository owner
Forked repository details
`owner` (string): Repository owner
Created branch reference
`owner` (string): Repository owner
List of commits
`owner` (string): Repository owner
Github Issue object & details
`owner` (string): Repository owner
Pull request details including diff and review status
`owner` (string): Repository owner
Array of pull request details
`owner` (string): Repository owner
Created review details
`owner` (string): Repository owner
Merge result details
`owner` (string): Repository owner
Array of changed files with patch and status details
`owner` (string): Repository owner
Combined status check results and individual check details
`owner` (string): Repository owner
Success message when branch is updated
`owner` (string): Repository owner
Array of pull request review comments with details like the comment text, author, and location in the diff
`owner` (string): Repository owner
Array of pull request reviews with details like the review state (APPROVED, CHANGES_REQUESTED, etc.), reviewer, and review body
Overview
What is GitHub MCP Server?
A Model Context Protocol server that provides direct access to the GitHub API, enabling file operations, repository management, search functionality, and more. It is designed for developers using MCP clients to automate GitHub workflows.
How to use GitHub MCP Server?
—
Key features of GitHub MCP Server
- Automatic branch creation when creating or updating files
- Comprehensive error handling with clear error messages
- Preserves Git history without force pushing
- Supports both single-file and multi-file operations
- Advanced search for code, issues/PRs, and users
Use cases of GitHub MCP Server
- Automate file creation and updates in repositories
- Manage issues and pull requests programmatically
- Search across code, issues, and users from an AI assistant
- Fork and create repositories without manual interaction
- Review and merge pull requests through natural language commands
FAQ from GitHub MCP Server
What tools does GitHub MCP Server provide?
It offers over 25 tools covering file operations (create, update, push, get contents), repository management (create, fork, branch), issue/PR handling (create, update, list, comment, review, merge), and advanced search (code, issues, users).
Does it support batch operations?
Yes, the push_files tool allows pushing multiple files in a single commit, supporting batch operations.
Can I search for code, issues, and users?
Yes, dedicated search tools (search_code, search_issues, search_users) support GitHub’s search syntax with filters like language, repository, labels, and account type.
How is branch creation handled?
When creating or updating files or pushing changes, branches are automatically created if they do not already exist.
What is the limit on search results?
The per_page parameter for search tools has a maximum value of 100, and pagination is supported via the page parameter.
More Version Control MCP servers
Atlassian Data Center MCP
b1ffMCP servers for the Atlassian products (Bitbucket, Confluence, JIRA) of the Data Center version

Git
modelcontextprotocolModel Context Protocol Servers
Linear MCP Server
clinea private MCP server for accessing Linear
MCP Git Ingest
adhikaspA Model Context Protocol (MCP) server that helps read GitHub repository structure and important files.
GitHub MCP Server Extension for Zed
LoamStudiosA GitHub MCP Server extension for Zed
Comments