GitHub MCP Server
@yamagai
About GitHub MCP Server
GitHub MCP Server (SSE)
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"github-mcp-server-sse": {
"command": "docker",
"args": [
"build",
"-t",
"github-mcp-server-sse",
"."
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is GitHub MCP Server?
GitHub MCP Server is a Model Context Protocol server that provides a standardized interface for LLM applications to interact with the GitHub API. It enables operations such as repository search, file management, pull request handling, and repository administration.
How to use GitHub MCP Server?
Install with go get github.com/yamagai/github-mcp-server-sse. Set the GITHUB_TOKEN environment variable with a GitHub personal access token. Run the server in stdio mode with github-mcp or in SSE mode with github-mcp -t sse. Optionally use the provided Docker container.
Key features of GitHub MCP Server
- Search any GitHub repository.
- Create new GitHub repositories.
- Retrieve file contents from repositories.
- Create or update files in repositories.
- Push multiple files at once.
- Fork any GitHub repository.
- Create and manage pull requests.
- Get pull request details.
- Add reviews to pull requests.
Use cases of GitHub MCP Server
- LLM agents searching for open-source projects.
- Automating repository creation and file updates via AI.
- Managing pull request workflows with AI assistants.
- Forking repositories for experimentation or customization.
FAQ from GitHub MCP Server
How does authentication work?
Set the GITHUB_TOKEN environment variable. In SSE mode you can also pass the token in the HTTP Authorization header.
What transport modes are supported?
The server supports stdio (default) and SSE transport modes.
Can I run the server in Docker?
Yes. Build the image with docker build -t github-mcp-server-sse . and run with docker run -p 8080:8080 -e GITHUB_TOKEN=your_token github-mcp-server-sse.
What is the default port for SSE mode?
The default port is 8080. You can change it with the -p flag or the PORT environment variable.
How many tools does the server provide?
The server provides nine tools: search_repositories, create_repository, get_file_contents, create_or_update_file, push_files, fork_repository, create_pull_request, get_pull_request, and create_pull_request_review.
More Version Control MCP servers

Git
modelcontextprotocolModel Context Protocol Servers
mcp-github-trending MCP Server
hetaoBackendMCP server for getting github trending repos & developers
GitHub Actions 工作流使用说明
HenryHaosonYuque mcp server
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
modelcontextprotocolModel Context Protocol Servers
Comments