GitHub MCP Server
@kich555
关于 GitHub MCP Server
暂无概览
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"github-mcp-server-kich555": {
"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.
How to use GitHub MCP Server?
The server exposes 26 tools with defined input parameters. Users invoke these tools via an MCP client, providing required inputs such as repository owner, name, file path, content, commit message, and branch. Detailed descriptions of each tool and its inputs are listed in the README.
Key features of GitHub MCP Server
- Automatic branch creation when creating/updating files or pushing changes
- Comprehensive error handling with clear error messages
- Git history preservation – operations do not force push
- Support for both single-file and multi-file batch operations
- Advanced search for code, issues/PRs, and users across GitHub
Use cases of GitHub MCP Server
- Create or update files in a repository, with automatic branch creation
- Push multiple files in a single commit for batch updates
- Search code, issues, pull requests, and users using GitHub search syntax
- Create and manage repositories, issues, pull requests, and reviews
- Fork repositories and create branches for collaborative workflows
FAQ from GitHub MCP Server
What tools does GitHub MCP Server provide?
It provides 26 tools covering file operations, repository management, issue and pull request handling, search, forking, branching, and merging.
How does automatic branch creation work?
When creating/updating files or pushing changes, the server automatically creates the target branch if it does not already exist.
What search syntax is supported?
The server supports GitHub’s search syntax for code (e.g., language:javascript, repo:owner/name), issues/PRs (e.g., is:issue, label:bug), and users (e.g., type:org, location:London).
What are the required inputs for creating a pull request?
Required inputs include owner, repo, title, head (branch with changes), and base (target branch). Optional inputs include body, draft, and maintainer_can_modify.
版本控制 分类下的更多 MCP 服务器
Bitbucket Server MCP
garc33MCP Git Ingest
adhikaspA Model Context Protocol (MCP) server that helps read GitHub repository structure and important files.
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.
Atlassian Jira MCP Server
aashariNode.js/TypeScript MCP server for Atlassian Jira. Equips AI systems (LLMs) with tools to list/get projects, search/get issues (using JQL/ID), and view dev info (commits, PRs). Connects AI capabilities directly into Jira project management and issue tracking workflows.
Github Mcp Server
githubGitHub's official MCP Server
评论