官方MCP 伺服器

GitHub

Manage repos, issues, PRs, and code search through the GitHub API.

安裝

npx
npx -y @modelcontextprotocol/server-github

把這段加入 Claude Code MCP 設定,或直接透過 CLI 執行。

介紹

Official MCP server backed by GitHub REST API. Lets Claude open PRs, comment on issues, search code, fetch file contents.

常見使用情境

  • Create PRs from agent output
  • Triage issues
  • Search code across repos

標籤

officialgitcodecollaboration