github.com/github/github-mcp-server
Official GitHub MCP server
Configure your installation and copy the command below. Uses add-mcp to install the server into your agent of choice.
GitHub personal access token.
npx add-mcp@latest ghcr.io/github/github-mcp-server:0.33.0 --env GITHUB_PERSONAL_ACCESS_TOKEN=<GITHUB_PERSONAL_ACCESS_TOKEN>