# 使用 Homebrew, Nix 安装 github-mcp-server

查看 github-mcp-server 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:github-mcp-server
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install github-mcp-server
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#github-mcp-server
```

  证据: nixpkgs package indexes: pkgs/by-name/gi/github-mcp-server/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:github-mcp-server
- **软件包管理器:** Homebrew
- **版本:** 1.8.0
- **来源摘要:** GitHub Model Context Protocol server for AI tools
- **主页:** <https://github.com/github/github-mcp-server>
- **仓库:** <https://github.com/github/github-mcp-server>
- **最后更新:** 2026-07-30T15:24:13Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- github-mcp-server (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.8.0
## 项目历史与用法

GitHub MCP Server is GitHub's Model Context Protocol server for connecting AI tools to GitHub repositories, issues, pull requests, code search, Actions, security findings, notifications, and related developer workflows.

### 项目历史

The repository history begins in March 2025, shortly after Model Context Protocol became a common integration layer for AI tools. Early tags in April 2025 moved from release candidates to v0.1.0, and the project grew through 1.x releases during 2026.

The README documents both a GitHub-hosted remote MCP server and a local server distributed as a binary or container image. That split reflects the project's evolution from a local bridge for AI tools into an official GitHub integration surface for IDEs, agent frameworks, and GitHub Enterprise environments.

### 采用历史

The server is significant because GitHub itself maintains it, turning MCP from a third-party connector pattern into an official path for AI assistants to interact with GitHub. The README lists installation paths for VS Code, Visual Studio, Claude applications, Codex, Cursor, OpenCode, Windsurf, Zed, and other MCP hosts.

Its rise also follows the broader MCP ecosystem introduced by Anthropic in 2024: tools expose capabilities through a shared protocol, and AI clients consume those capabilities without every client hand-building a separate GitHub integration.

### 使用方式

Practitioners use GitHub MCP Server to let AI tools browse repositories, inspect code, create or update issues and pull requests, analyze workflow failures, work with releases, examine security alerts, and assist with team collaboration tasks through natural-language workflows.

Local deployments commonly run the public container image or binary with a GitHub personal access token or OAuth flow, while remote deployments use GitHub-hosted MCP endpoints from compatible clients.

### 为什么软件包爱好者会关心

For package-manager users, github-mcp-server is a visible example of AI tooling becoming ordinary developer infrastructure: a command-line server installed beside Git, gh, and editors, but aimed at giving agents authenticated, structured access to a developer's forge.

### 时间线

- 2024: Model Context Protocol is introduced as a shared protocol for connecting AI systems to tools and data.
- 2025: GitHub MCP Server repository history begins.
- 2025: v0.1.0 is tagged after release-candidate builds.
- 2026: 1.x releases expand the server after its initial public line.

### Related projects

- GitHub MCP Server relates to GitHub Copilot, the GitHub API, the Model Context Protocol specification, MCP host applications, and local agent tools that need authenticated GitHub context.

### 来源

- <https://github.com/github/github-mcp-server>
- <https://github.com/github/github-mcp-server/tree/main/docs>
- <https://modelcontextprotocol.io/>
- <https://www.anthropic.com/news/model-context-protocol>


## 安全说明

没有找到 github-mcp-server 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 其他软件包管理器记录

- Nix - github-mcp-server: normalized package name match | nixpkgs package indexes: pkgs/by-name/gi/github-mcp-server/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/github-mcp-server.yml](https://github.com/mxcl/pkgdb/blob/main/combined/github-mcp-server.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
