GitHub MCP Server
@marcusdb
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-ts": {
"command": "docker",
"args": [
"build",
"-t",
"mcp/github",
"-f",
"src/github/Dockerfile",
"."
]
}
}
}Tools
50`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
`owner` (string): Repository owner
Array of issue details
`owner` (string): Repository owner
sub-issue details
`owner` (string): Repository owner
sub-issue details
`owner` (string): Repository owner
sub-issue details
`owner` (string): Repository owner
Array of label details
Overview
What is GitHub MCP Server?
A community‑built TypeScript MCP server that wraps the GitHub API, enabling file operations, repository management, search, and issue/PR workflows. It is not the official GitHub MCP server; it adds features the author found missing from the official server.
How to use GitHub MCP Server?
The server exposes 28 tools via the Model Context Protocol. An MCP client can invoke these tools directly; no additional configuration steps are described in the README.
Key features of GitHub MCP Server
- Automatic branch creation when files are created or updated
- Comprehensive error handling with clear messages
- Git history preservation (no force pushes)
- Batch operations for single‑file and multi‑file commits
- Advanced search for code, issues/PRs, and users
- Full support for sub‑issues and reprioritization
Use cases of GitHub MCP Server
- Automate file creation and updates across multiple repositories
- Manage issues and pull requests programmatically (create, list, update, comment)
- Search code, issues, and users across GitHub
- Fork repositories and create branches without manual intervention
- Review pull requests (approve, request changes, comment) and merge them
FAQ from GitHub MCP Server
Is this the official GitHub MCP server?
No. This is a community TypeScript server with additions the author thought were missing from the official server. For the official one, visit http://github.com/github/github-mcp-server.
What features does it add beyond the official server?
It adds automatic branch creation, comprehensive error handling, Git history preservation, batch operations, and advanced search capabilities.
What is the base code for this server?
The base code comes from the servers directory of the modelcontextprotocol repository.
More Version Control MCP servers
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
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.
Git MCP Server
cyanheadsA Git MCP server for AI agents. STDIO & Streamable HTTP.
MCP GitHub Project Manager
kunwarViveka mcp server to manage github project's functionality
Github Mcp Server
githubGitHub's official MCP Server
Comments