Developer Tools by GitHub Open source

GitHub MCP Server

Repository intelligence inside agent sessions

View repositoryWebsite

Install GitHub MCP Server

Choose the tracked registry command or the raw command.

Recommended

Tracked wget install

Counts the install in MCP Haus and runs the published command.

wget -qO- https://mcphaus.com/api/install/github-mcp-server | sh
Raw command

Direct install command

Use this when you want to paste the command into an MCP client config manually.

docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN ghcr.io/github/github-mcp-server

What GitHub MCP Server does

The official GitHub MCP server exposes repositories, issues, pull requests, code search, and Actions context to coding agents. It is published and maintained by GitHub and is the most widely adopted MCP server in production.

How to use GitHub MCP Server

1. Copy

Copy the tracked install command to record the download in MCP Haus.

2. Run

Run it in your terminal, or copy the raw command into an MCP client config.

3. Connect

Open your AI client and add the server to the MCP servers list.

Which AI clients does GitHub MCP Server work with?

GitHub MCP Server works with every MCP-compatible client, including Claude Desktop, Cursor, Continue, Windsurf, Cline, OpenHands, and Claude Code. Add the install command to your client's MCP configuration and restart the session.

Read the MCP guide