GitHub MCP Server
@AlexKissiJr
About GitHub MCP Server
No overview available yet
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.
Frequently asked questions
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.
Basic information
More Version Control MCP servers
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
Linear MCP Server
jerhadfA server that integrates Linear's project management system with the Model Context Protocol (MCP) to allow LLMs to interact with Linear.
GitLab MCP Server
yoda-digitalProduction-grade GitLab MCP server with 86 tools — full GitLab control from any AI agent (Claude, Cursor, Zed).
MCP Atlassian Server (by phuc-nt)
phuc-ntMCP server connecting AI assistants with Jira & Confluence for smart project management.
Comments