GitHub MCP Server
@kich555
About GitHub MCP Server
No overview available yet
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"github-mcp-server-kich555": {
"command": "docker",
"args": [
"build",
"-t",
"mcp/github",
"-f",
"src/github/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?
MCP Server for the GitHub API, enabling file operations, repository management, search functionality, and more.
How to use GitHub MCP Server?
The server exposes 26 tools with defined input parameters. Users invoke these tools via an MCP client, providing required inputs such as repository owner, name, file path, content, commit message, and branch. Detailed descriptions of each tool and its inputs are listed in the README.
Key features of GitHub MCP Server
- Automatic branch creation when creating/updating files or pushing changes
- Comprehensive error handling with clear error messages
- Git history preservation – operations do not force push
- Support for both single-file and multi-file batch operations
- Advanced search for code, issues/PRs, and users across GitHub
Use cases of GitHub MCP Server
- Create or update files in a repository, with automatic branch creation
- Push multiple files in a single commit for batch updates
- Search code, issues, pull requests, and users using GitHub search syntax
- Create and manage repositories, issues, pull requests, and reviews
- Fork repositories and create branches for collaborative workflows
FAQ from GitHub MCP Server
What tools does GitHub MCP Server provide?
It provides 26 tools covering file operations, repository management, issue and pull request handling, search, forking, branching, and merging.
How does automatic branch creation work?
When creating/updating files or pushing changes, the server automatically creates the target branch if it does not already exist.
What search syntax is supported?
The server supports GitHub’s search syntax for code (e.g., language:javascript, repo:owner/name), issues/PRs (e.g., is:issue, label:bug), and users (e.g., type:org, location:London).
What are the required inputs for creating a pull request?
Required inputs include owner, repo, title, head (branch with changes), and base (target branch). Optional inputs include body, draft, and maintainer_can_modify.
More Version Control MCP servers
mcp-github-trending MCP Server
hetaoBackendMCP server for getting github trending repos & developers
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.
GitHub MCP Server Extension for Zed
LoamStudiosA GitHub MCP Server extension for Zed
MCP Atlassian Server (by phuc-nt)
phuc-ntMCP server connecting AI assistants with Jira & Confluence for smart project management.
Test
skillsCreate a site or blog from your GitHub repositories with GitHub Pages.
Comments