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 服务器
Bitbucket Server MCP
garc33GitLab MCP Server
yoda-digitalProduction-grade GitLab MCP server with 86 tools — full GitLab control from any AI agent (Claude, Cursor, Zed).
Jira MCP
nguyenvanduocitA Go-based MCP (Model Control Protocol) connector for Jira that enables AI assistants like Claude to interact with Atlassian Jira. This tool provides a seamless interface for AI models to perform common Jira operations including issue management, sprint planning, and workflow tra
mcp-github-trending MCP Server
hetaoBackendMCP server for getting github trending repos & developers
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.
评论