GitHub MCP Server
@MissionSquad
关于 GitHub MCP Server
Github MCP Server
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-github": {
"command": "docker",
"args": [
"build",
"-t",
"mcp/github",
"-f",
"src/github/Dockerfile",
"."
]
}
}
}工具
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
概览
What is GitHub MCP Server?
MCP Server for the GitHub API, enabling file operations, repository management, search functionality, and more. It provides a set of tools to interact with GitHub through the Model Context Protocol.
How to use GitHub MCP Server?
Configure with a GitHub personal access token—either via environment variables or dynamically per request. The server exposes tools that can be invoked through any MCP client.
Key features of GitHub MCP Server?
- Automatic branch creation when not present
- 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, and users
Use cases of GitHub MCP Server?
- Create or update files in a repository with automatic branching
- Manage issues and pull requests (create, update, comment, review, merge)
- Search across GitHub for code, repositories, issues
版本控制 分类下的更多 MCP 服务器
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.
MCP Atlassian Server (by phuc-nt)
phuc-ntMCP server connecting AI assistants with Jira & Confluence for smart project management.
GitHub MCP Server Extension for Zed
LoamStudiosA GitHub MCP Server extension for Zed
Gerrit Review MCP Server
cayirtepeomerThis MCP server provides integration with Gerrit code review system, allowing AI assistants to review code changes and their details through a simple interface.
Test
skillsCreate a site or blog from your GitHub repositories with GitHub Pages.
评论