GitHub MCP Server
@AlexKissiJr
GitHub MCP Server について
概要はまだありません
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"unreal-mcp-server": {
"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?
—
Key features of GitHub MCP Server
- Automatic branch creation when creating/updating files
- 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/PRs, and users
Use cases of GitHub MCP Server
- Automate file creation and updates across repositories
- Manage issues, pull requests, and reviews programmatically
- Search for code, issues, or users with advanced queries
- Fork repositories and create branches via API
- Batch push multiple files in a single commit
FAQ from GitHub MCP Server
How do I search for code across repositories?
Use the search_code tool with a query using GitHub code search syntax (e.g., language:javascript to filter by language).
Can I create a repository with this server?
Yes, use the create_repository tool with a required name and optional description, private, and autoInit parameters.
What is the maximum number of results per page for search?
The maximum is 100 for search tools like search_repositories, search_code, search_issues, and search_users, as well as for list_pull_requests.
How do I update an existing file without overwriting?
Use create_or_update_file and provide the sha of the file being replaced; the server will update the file instead of creating a new one.
How can I filter issues by labels and state?
Use the list_issues tool with state (open/closed/all) and labels (array of label names) parameters to filter the results.
「バージョン管理」の他のコンテンツ
MCP Git Ingest
adhikaspA Model Context Protocol (MCP) server that helps read GitHub repository structure and important files.

Git
modelcontextprotocolModel Context Protocol Servers
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.
Test
skillsCreate a site or blog from your GitHub repositories with GitHub Pages.
コメント