GitHub MCP Server
@yamagai
关于 GitHub MCP Server
GitHub MCP Server (SSE)
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"github-mcp-server-sse": {
"command": "docker",
"args": [
"build",
"-t",
"github-mcp-server-sse",
"."
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
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.
版本控制 分类下的更多 MCP 服务器
Integrate MCP with GitHub Copilot
skillsLearn how to use MCP Servers with GitHub Copilot
MCP Git Ingest
adhikaspA Model Context Protocol (MCP) server that helps read GitHub repository structure and important files.
Atlassian Bitbucket MCP Server
aashariNode.js/TypeScript MCP server for Atlassian Bitbucket. Enables AI systems (LLMs) to interact with workspaces, repositories, and pull requests via tools (list, get, comment, search). Connects AI directly to version control workflows through the standard MCP interface.
🚀 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.
GitHub MCP Server Extension for Zed
LoamStudiosA GitHub MCP Server extension for Zed
评论