What are the prerequisites for running GitHub MCP Server?
You need Docker installed and running, and a GitHub Personal Access Token with appropriate permissions.
@zaidongy
Basic information
A Model Context Protocol server implementation for GitHub
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"github-mcp-server-zaidongy": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"\\"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
The GitHub MCP Server is a Model Context Protocol (MCP) server that integrates with GitHub APIs, enabling advanced automation and interaction for developers and AI tools.
Run it via Docker (recommended) using docker run ghcr.io/github/github-mcp-server with a GitHub Personal Access Token set as the GITHUB_PERSONAL_ACCESS_TOKEN environment variable, or build the binary from source and run with github-mcp-server stdio. Configure it in VS Code (User Settings or .vscode/mcp.json) or Claude Desktop.
--toolsets or GITHUB_TOOLSETS.--gh-host or GITHUB_HOST.You need Docker installed and running, and a GitHub Personal Access Token with appropriate permissions.
Set the `GITHUB_PERSONAL_ACCESS_TOKEN` environment variable with your personal access token when launching the server.
Yes. Use the `--gh-host` flag or `GITHUB_HOST` environment variable to specify your GitHub Enterprise Server hostname (must include `https://`).
Use the `--toolsets` flag (e.g., `repos,issues,pull_requests`) or the `GITHUB_TOOLSETS` environment variable. Pass `all` to enable everything. For dynamic discovery, use `--dynamic-toolsets` or `GITHUB_DYNAMIC_TOOLSETS=1`.
Yes. Create a `github-mcp-server-config.json` file with tool name keys and new descriptions, or set environment variables prefixed with `GITHUB_MCP_`. Use `--export-translations` to generate an export.
Learn how to use MCP Servers with GitHub Copilot
MCP server for getting github trending repos & developers

Model Context Protocol Servers

The system of record for AI-written software. A persistent graph of entities, relationships, changes, and provenance, so humans and AI agents see what a change touches before it merges. Beside Git today.

Model Context Protocol Servers
Comments