MCP Configs2026年4月6日·1 分钟阅读

GitHub MCP — Repository Management for AI Agents

Official GitHub MCP server that gives AI agents access to repos, issues, PRs, code search, and Actions. Create branches, review PRs, and manage projects via natural language. 5,000+ stars.

MC
MCP Hub · Community
快速使用

先拿来用,再决定要不要深挖

这里应该同时让用户和 Agent 知道第一步该复制什么、安装什么、落到哪里。

将以下配置添加到 .mcp.json:

{
  "mcpServers": {
    "github": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-github"],
      "env": { "GITHUB_TOKEN": "ghp_你的令牌" }
    }
  }
}

简介

GitHub MCP 是 GitHub 的官方 MCP 服务器,GitHub 5,000+ stars。AI Agent 可管理仓库、Issue、PR、代码搜索和 Actions。适合需要 AI 辅助 GitHub 工作流的开发者。


🙏

来源与感谢

Created by Anthropic. Licensed under MIT.

server-github — ⭐ 5,000+

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产