GitHub MCP Server
@AlexKissiJr
About GitHub MCP Server
No overview available yet
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"unreal-mcp-server": {
"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?
—
Key features of GitHub MCP Server
- Automatic branch creation when creating/updating files
- Comprehensive error handling with clear messages
- Git history preservation without force pushing
- Batch operations for single and multi-file commits
- Advanced search for code, issues/PRs, and users
Use cases of GitHub MCP Server
- Automate file creation and updates across repositories
- Manage issues, pull requests, and reviews programmatically
- Search for code, issues, or users with advanced queries
- Fork repositories and create branches via API
- Batch push multiple files in a single commit
FAQ from GitHub MCP Server
How do I search for code across repositories?
Use the search_code tool with a query using GitHub code search syntax (e.g., language:javascript to filter by language).
Can I create a repository with this server?
Yes, use the create_repository tool with a required name and optional description, private, and autoInit parameters.
What is the maximum number of results per page for search?
The maximum is 100 for search tools like search_repositories, search_code, search_issues, and search_users, as well as for list_pull_requests.
How do I update an existing file without overwriting?
Use create_or_update_file and provide the sha of the file being replaced; the server will update the file instead of creating a new one.
How can I filter issues by labels and state?
Use the list_issues tool with state (open/closed/all) and labels (array of label names) parameters to filter the results.
More Version Control MCP servers
Test
skillsCreate a site or blog from your GitHub repositories with GitHub Pages.
AIO-MCP Server
athapong🚀 All-in-one MCP server with AI search, RAG, and multi-service integrations (GitLab/Jira/Confluence/YouTube) for AI-enhanced development workflows. Folk from https://github.com/nguyenvanduocit/all-in-one-model-context-protocol
MCP Linear
tacticlaunchMCP server that enables AI assistants to interact with Linear project management system through natural language, allowing users to retrieve, create, and update issues, projects, and teams.
MCP Atlassian Server (by phuc-nt)
phuc-ntMCP server connecting AI assistants with Jira & Confluence for smart project management.
🚀 GitLab MR MCP
kopfrechnerInteract seamlessly with GitLab repositories to manage merge requests and issues. Fetch details, add comments, and streamline your code review process with ease.
Comments