MCP-Server Offiziell

GitHub MCP Server

GitHub's official MCP server for reading repos, managing issues and PRs, and monitoring Actions from AI tools.

Autor
GitHub
Funktioniert mit
Any MCP client, Claude Code, Cursor, OpenAI Codex, Windsurf
Lizenz
MIT
Dokumentiert
Oct 2, 2026

Was GitHub MCP Server ist

Connects AI tools to GitHub so agents can read repositories and code, manage issues and pull requests, analyze code and automate workflows. Available as a remote server hosted by GitHub or a local Docker server.

Was es kann

Wie sich GitHub MCP Server einbinden lässt: welche Agenten es ausführen und was es ergänztLÄUFT INIhr AgentAny MCP clientClaude CodeOpenAI CodexCursor4 Hosts dokumentiertMCP SERVER · OFFIZIELLGitHub MCP ServerDen Agenten mit Tools, Daten und…4 Installationsschritte1 BerechtigungshinweisLizenz: MITWAS ES ERGÄNZTWas es kannBrowse and search repositories, c…Create, update and manage issues…Monitor GitHub Actions runs and m…Review code security findings and…Agent → Erweiterung → neue Fähigkeit · aus dem offiziellen Repository oder der Dokumentation
Wo GitHub MCP Server läuft und was es ergänzt, laut Dokumentation
  • Browse and search repositories, code and commits
  • Create, update and manage issues and pull requests
  • Monitor GitHub Actions runs and manage releases
  • Review code security findings and Dependabot alerts
  • Access discussions and notifications
  • Limit tools with toolsets via --toolsets or --tools

Wann Sie es einsetzen sollten

Gut geeignet

  • Giving an agent GitHub context from VS Code, Claude, Codex, Cursor or Windsurf
  • Triaging issues and reviewing PRs in natural language
  • Debugging CI failures

Nicht geeignet für

  • Hosts without remote MCP support, unless you use the local Docker server
  • Setups where broad token scope is not acceptable

So installieren Sie GitHub MCP Server

Sie benötigen: MCP host with remote server support (e.g. VS Code 1.101+, Claude Desktop, Cursor, Windsurf); Docker for the local server (image ghcr.io/github/github-mcp-server); GitHub OAuth login or personal access token

  1. Pick the remote server (https://api.githubcopilot.com/mcp/) or the local Docker server
  2. Follow the install guide for your host (Claude, Codex, Cursor, Windsurf, VS Code and others are linked in the README)
  3. Authenticate with OAuth or a GitHub personal access token
  4. Optionally restrict capabilities with toolsets
Konfigurationsbeispiel (aus der offiziellen Dokumentation)
{
  "servers": {
    "github": {
      "type": "http",
      "url": "https://api.githubcopilot.com/mcp/"
    }
  }
}

Berechtigungen und Sicherheit

Worauf es zugreifen kann

  • Access to GitHub APIs per the token or OAuth scopes you grant

Sicherheitshinweise der Maintainer

  • README: enable only the token permissions you are comfortable granting
  • README has a Token Security Best Practices section: minimum scopes, store tokens in env variables, restrict config file permissions

Prüfen Sie den Quellcode, bevor Sie einem Agenten Zugriff auf Zugangsdaten oder Produktivsysteme geben. Wir dokumentieren die Angaben der Maintainer; Code prüfen wir nicht.

Einschränkungen

  • Each host must configure a GitHub App or OAuth App for remote OAuth
  • Support levels vary by host

Tools, die es erweitert

Claude Code

Web · Desktop

Noch keine Nutzerbewertungen

Das agentische Coding-Tool von Anthropic, das Ihre Codebasis liest, Dateien bearbeitet und Befehle ausführt, im Terminal, in IDEs, in der Desktop-App oder im Browser.

Kostenlos bis: Kein kostenloser Tarif: Claude Code ist in den bezahlten Claude-Abonnements (Pro, Max, Team, Enterprise) enth…

Listed Noch nicht bewertet

Geprüft code.claude.com (öffnet die Website von Claude Code in einem neuen Tab)

Ab $20/mo US · geprüft Sep 29

Noch keine Nutzerbewertungen

AI coding IDE, formerly Windsurf, now Devin Desktop: manage local and cloud coding agents inside a full IDE.

Kostenlos bis: Light quota for agent usage, resets daily and weekly, Limited model availability

Listed Noch nicht bewertet

Geprüft windsurf.com (öffnet die Website von Devin Desktop (formerly Windsurf) in einem neuen Tab)

Kostenlos · kostenpflichtig ab $20/mo US · geprüft Sep 29

OpenAI Codex

Web · Desktop · Mobile

Noch keine Nutzerbewertungen

OpenAI's coding agent for the CLI, IDE extension, desktop app, web and iOS, included in ChatGPT plans or billed by API.

Kostenlos bis: Desktop app only listed, Usage limits apply

Listed Noch nicht bewertet

Geprüft developers.openai.com (öffnet die Website von OpenAI Codex in einem neuen Tab)

Kostenlos · kostenpflichtig ab $8/mo US · geprüft Sep 29

Häufig gestellte Fragen

How do I connect GitHub MCP Server to Claude Code or Cursor?

Use the host-specific guides linked in the README (docs/installation-guides), pointing at the remote URL https://api.githubcopilot.com/mcp/ or the local Docker server. Quelle

Does GitHub MCP Server need a personal access token?

Not necessarily; OAuth is supported, but a PAT can be used and takes precedence if GITHUB_PERSONAL_ACCESS_TOKEN is set. Quelle

Can I limit what GitHub MCP Server exposes?

Yes, with the --toolsets flag or GITHUB_TOOLSETS variable, and --tools for single tools. Quelle

Verwandte Ratgeber

Quellen und Lücken

Von den Maintainern nicht angegeben: last_release date not visible in the checked README.

Weitere Erweiterungen zum Ansehen