# github/github-mcp-server [Verified] [Health: Active]

**Category:** 🔄 Version Control  
**Repository:** https://github.com/github/github-mcp-server  
**GitHub Stars:** 34011  
**Views:** 9  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/github-github-mcp-server

## Description
Official GitHub server for integration with repository management, PRs, issues, and more.

## Tools
Capabilities this server exposes over MCP:

- **get_file_contents**
- **getFileContents**

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "github-mcp-server": {
    "url": "https://api.githubcopilot.com/mcp/"
  }
}
```

## Documentation

## What github/github-mcp-server does

github/github-mcp-server connects AI assistants and agent hosts to GitHub’s platform through the Model Context Protocol. Its documented scope covers repository browsing, code-file access, issue and pull request management, commit and project-structure analysis, GitHub Actions workflow monitoring, release-related work, security findings, Dependabot alerts, discussions, notifications, and team activity.

The tools listed for this server are `get_file_contents` and `getFileContents`. These provide access to repository file contents through MCP. The broader GitHub integration is organized around toolsets, which can be selected when configuring the remote server.

## How it works

GitHub hosts a remote instance at `https://api.githubcopilot.com/mcp/`. MCP clients that support remote servers connect to that HTTP endpoint, then authenticate through OAuth or a GitHub personal access token. Hosts using OAuth need a GitHub App or OAuth App configured for remote access; PAT authentication is supported by remote MCP hosts that accept the corresponding authorization header.

A local version is available for MCP hosts that cannot connect to remote servers. The repository also supports an insiders mode for the hosted service, using either an `/insiders` URL path or the `X-MCP-Insiders: true` header.

GitHub Enterprise Cloud with data residency can use a corresponding enterprise-specific remote endpoint. GitHub Enterprise Server requires the local server rather than remote server hosting.

## Setup and configuration

For VS Code, the remote server requires version 1.101 or newer for remote MCP and OAuth support. Users can install it through the provided VS Code installation flow or add an HTTP server entry manually. The remote configuration can use OAuth, or can send a PAT in an `Authorization: Bearer` header. A compatible MCP host and any applicable GitHub policies are prerequisites.

The server documentation supports installation guidance for Claude Desktop, Claude Code, Cursor, Windsurf, Codex, Zed, JetBrains-based Copilot environments, and other listed hosts. Remote configuration also accepts toolset settings and advanced headers. Hosts differ in how they configure OAuth and remote MCP connections, so the host-specific installation method matters.

## Tools and capabilities

- Read contents from GitHub repository files with `get_file_contents`.
- Read repository file contents through the alternate `getFileContents` tool name.
- Browse and query repositories and search project files through the documented GitHub integration scope.
- Work with issues and pull requests, including triage and review workflows.
- Inspect Actions runs, build failures, releases, security findings, and Dependabot alerts.
- Access collaboration-oriented GitHub data such as discussions, notifications, and team activity.

## Limitations and notes

Remote access depends on MCP host support and host-specific OAuth configuration. GitHub Enterprise Server is not supported as a remote server host. The insiders endpoint is intended for early access to experimental or newly available tools. Consumers importing the Go module should use the `github.com/github/github-mcp-server/v2` module path; the repository notes that the older `v2.0.0` tag predates the corrected module path.

_Full upstream README: https://allmcps.com/mcp/github-github-mcp-server/readme_

