github-mcp-server
社区使用中by github
github-mcp-server 是 GitHub 官方发布的 MCP Server,用于将 AI 工具直接连接到 GitHub 平台,支持通过自然语言读取仓库与代码文件、管理 Issue 和 PR、分析代码、监控 GitHub Actions 工作流以及自动化开发流程。它提供远程托管和本地部署两种方式,兼容 VS Code、Claude Desktop、Cursor 等主流
安装配置
将以下配置添加到你的 AI 编程助手中
预览配置(粘贴到 claude_desktop_config.json 或 Cursor 设置中)
{
"mcpServers": {
"github-mcp-server": {}
}
}JSON配置
{}描述
GitHub MCP Server
The GitHub MCP Server connects AI tools directly to GitHub's platform. This gives AI agents, assistants, and chatbots the ability to read repositories and code files, manage issues and PRs, analyze code, and automate workflows. All through natural language interactions.
Use Cases
- Repository Management: Browse and query code, search files, analyze commits, and understand project structure across any repository you have access to.
- Issue & PR Automation: Create, update, and manage issues and pull requests. Let AI help triage bugs, review code changes, and maintain project boards.
- CI/CD & Workflow Intelligence: Monitor GitHub Actions workflow runs, analyze build failures, manage releases, and get insights into your development pipeline.
- Code Analysis: Examine security findings, review Dependabot alerts, understand code patterns, and get comprehensive insights into your codebase.
- Team Collaboration: Access discussions, manage notifications, analyze team activity, and streamline processes for your team.
Built for developers who want to connect their AI tools to GitHub context and capabilities, from simple natural language queries to complex multi-step agent workflows.
Remote GitHub MCP Server
The remote GitHub MCP Server is hosted by GitHub and provides the easiest method for getting up and running. If your MCP host does not support remote MCP servers, don't worry! You can use the local version of the GitHub MCP Server instead.
Prerequisites
- A compatible MCP host with remote server support (VS Code 1.101+, Claude Desktop, Cursor, Windsurf, etc.)
- Any applicable policies enabled
Install in VS Code
For quick installation, use one of the one-click install buttons above. Once you complete that flow, toggle Agent mode (located by the Copilot Chat text input) and the server will start. Make sure you're using VS Code 1.101 or later for remote MCP and OAuth support.
Alternatively, to manually configure VS Code, choose the appropriate JSON block from the examples below and add it to your host configuration:
<table> <tr><th>Using OAuth</th><th>Using a GitHub PAT</th></tr> <tr><th align=left colspan=2>VS Code (version 1.101 or greater)</th></tr> <tr valign=top> <td>{
"servers": {
"github": {
"type": "http",
"url": "https://api.githubcopilot.com/mcp/"
}
}
}
</td>
<td>
{
"servers": {
"github": {
"type": "http",
"url": "https://api.githubcopilot.com/mcp/",
"headers": {
"Authorization": "Bearer ${input:github_mcp_pat}"
}
}
},
"inputs": [
{
"type": "promptString",
"id": "github_mcp_pat",
"description": "GitHub Personal Access Token",
"password": true
}
]
}
</td>
</tr>
</table>
Install in other MCP hosts
- Copilot CLI - Installation guide for GitHub Copilot CLI
- GitHub Copilot in other IDEs - Installation for JetBrains, Visual Studio, Eclipse, and Xcode with GitHub Copilot
- Claude Applications - Installation guide for Claude Desktop and Claude Code CLI
- Codex - Installation guide for OpenAI Codex
- Cursor - Installation guide for Cursor IDE
- OpenCode - Installation guide for the OpenCode terminal agent
- **[Windsurf](/docs/installation-guides/install-…
统计信息
32k
星标
4.8k
Fork
Go
语言
2026/8/14
更新
MIT
开源协议
标签
链接
相关服务器
hexstrike-ai
HexStrike AI MCP Agents 是一个基于 MCP 协议的高级网络安全自动化平台,允许 Claude、GPT、Copilot 等 AI 代理自主调用 150+ 安全工具,实现自动化渗透测试、漏洞发现、漏洞赏金和 CTF 挑战。其多智能体架构包含智能决策引擎、12+ 专业 AI Agent 及实时可视化面板,显著提升安全研究的效率与智能化水平。
Figma-Context-MCP
Figma-Context-MCP 是一个基于 Model Context Protocol 的服务器,用于向 Cursor 等 AI 编程工具提供 Figma 布局信息。它通过简化 Figma API 响应,仅向模型传递最相关的布局和样式数据,从而提升 AI 一次性实现设计稿的准确性和相关性。支持通过 npx 快速配置,适用于 MacOS、Linux 和 Windows 环境
SurfSense
SurfSense 是一款开源的 NotebookLM 替代品,专为 AI agents 设计,提供开放网络研究平台。它通过统一的 REST API 或 MCP server 连接 Reddit、YouTube、Instagram、Google Search 等实时数据源,返回结构化 JSON 数据,并内置知识库、引用检索与自动化报告功能。项目支持自托管,适合需要实时网络数据与
mcp-toolbox
MCP Toolbox for Databases 是一个开源的 Model Context Protocol (MCP) server,用于将 AI agents、IDE 和应用程序直接连接到企业级数据库。它提供开箱即用的预构建工具(如 list_tables、execute_sql)用于数据探索,同时也是一个自定义工具框架,支持构建安全的生产级 AI 工具,包括结构化查询、