MCP.so
登录

GitHub MCP Server

@marcusdb

关于 GitHub MCP Server

暂无概览

基本信息

分类

版本控制

运行时

node

传输方式

stdio

发布者

marcusdb

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "github-mcp-server-ts": {
      "command": "docker",
      "args": [
        "build",
        "-t",
        "mcp/github",
        "-f",
        "src/github/Dockerfile",
        "."
      ]
    }
  }
}

工具

50

`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

`owner` (string): Repository owner

Array of issue details

`owner` (string): Repository owner

sub-issue details

`owner` (string): Repository owner

sub-issue details

`owner` (string): Repository owner

sub-issue details

`owner` (string): Repository owner

Array of label details

概览

What is GitHub MCP Server?

A community‑built TypeScript MCP server that wraps the GitHub API, enabling file operations, repository management, search, and issue/PR workflows. It is not the official GitHub MCP server; it adds features the author found missing from the official server.

How to use GitHub MCP Server?

The server exposes 28 tools via the Model Context Protocol. An MCP client can invoke these tools directly; no additional configuration steps are described in the README.

Key features of GitHub MCP Server

  • Automatic branch creation when files are created or updated
  • Comprehensive error handling with clear messages
  • Git history preservation (no force pushes)
  • Batch operations for single‑file and multi‑file commits
  • Advanced search for code, issues/PRs, and users
  • Full support for sub‑issues and reprioritization

Use cases of GitHub MCP Server

  • Automate file creation and updates across multiple repositories
  • Manage issues and pull requests programmatically (create, list, update, comment)
  • Search code, issues, and users across GitHub
  • Fork repositories and create branches without manual intervention
  • Review pull requests (approve, request changes, comment) and merge them

FAQ from GitHub MCP Server

Is this the official GitHub MCP server?

No. This is a community TypeScript server with additions the author thought were missing from the official server. For the official one, visit http://github.com/github/github-mcp-server.

What features does it add beyond the official server?

It adds automatic branch creation, comprehensive error handling, Git history preservation, batch operations, and advanced search capabilities.

What is the base code for this server?

The base code comes from the servers directory of the modelcontextprotocol repository.

评论

版本控制 分类下的更多 MCP 服务器