MCP.so
登录

GitHub MCP Server

@cloudbarista

关于 GitHub MCP Server

暂无概览

基本信息

分类

版本控制

许可证

MIT license

运行时

go

传输方式

stdio

发布者

cloudbarista

配置

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

{
  "mcpServers": {
    "github": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GITHUB_PERSONAL_ACCESS_TOKEN",
        "ghcr.io/github/github-mcp-server"
      ],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "<YOUR_TOKEN>"
      }
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is GitHub MCP Server?

GitHub MCP Server is a Model Context Protocol server that provides seamless integration with GitHub APIs, enabling advanced automation and interaction capabilities for developers and tools.

How to use GitHub MCP Server?

Run the server as a Docker container or build from source. Requires a GitHub Personal Access Token. Configure via VS Code settings (one-click install or manual JSON) or Claude Desktop configuration. Optionally set --gh-host for GitHub Enterprise Server.

Key features of GitHub MCP Server

  • Tools for issues, pull requests, repositories, and users.
  • Supports GitHub Enterprise Server via --gh-host flag.
  • Tool descriptions can be overridden via config file or environment variables.
  • Includes i18n export and override mechanism.
  • Runs via Docker or Go build from source.

Use cases of GitHub MCP Server

  • Automating GitHub workflows and processes.
  • Extracting and analyzing data from GitHub repositories.
  • Building AI-powered tools that interact with GitHub’s ecosystem.

FAQ from GitHub MCP Server

What are the prerequisites?

Docker installed and a GitHub Personal Access Token with desired permissions.

How do I use GitHub MCP Server with GitHub Enterprise Server?

Set the --gh-host flag or the GH_HOST environment variable to your Enterprise hostname.

Can I override tool descriptions?

Yes, create a github-mcp-server-config.json file in the binary’s directory, or set environment variables with the GITHUB_MCP_ prefix.

Is Docker required?

No – you can build the binary from source in cmd/github-mcp-server and run with github-mcp-server stdio.

What GitHub API tools are available?

Tools for users, issues (create, update, list, search, comment), pull requests (create, update, merge, list, review, status), and repositories (create/update files, push files).

评论

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