Overview
What is GitHub MCP Server?
The GitHub MCP Server is a Model Context Protocol (MCP) server that provides seamless integration with GitHub APIs, enabling advanced automation and interaction capabilities for developers and tools.
How to use GitHub MCP Server?
Create a GitHub Personal Access Token, then run the server via Docker (e.g., using the one-click install buttons for VS Code or adding the JSON configuration to VS Code or Claude Desktop). Alternatively, build the binary from source with Go and run github-mcp-server stdio with the GITHUB_PERSONAL_ACCESS_TOKEN environment variable set.
Key features of GitHub MCP Server
- Manage GitHub issues (create, update, comment, list, search)
- Manage pull requests (create, merge, review, list, get files)
- Get details of the authenticated user
- Search issues and pull requests across repositories
- Support for GitHub Enterprise Server via
--gh-host - Customizable tool descriptions (i18n/overrides)
Use cases of GitHub MCP Server
- Automating GitHub workflows and processes.
- Extracting and analyzing data from GitHub repositories.
- Building AI‑powered tools and applications that interact with GitHub’s ecosystem.
FAQ from GitHub MCP Server
What are the prerequisites to run GitHub MCP Server?
You need Docker installed and running, plus a GitHub Personal Access Token with the appropriate permissions.
Does GitHub MCP Server support GitHub Enterprise Server?
Yes. Use the --gh-host flag or set the GH_HOST environment variable to your GitHub Enterprise Server hostname.
How do I get a GitHub Personal Access Token?
Create one at https://github.com/settings/personal-access-tokens/new and grant the permissions you feel comfortable giving your AI tools.
Can I customize or translate the tool descriptions?
Yes. Create a github-mcp-server-config.json file in the binary’s directory with the new descriptions, or use environment variables prefixed with GITHUB_MCP_.
How do I install GitHub MCP Server in VS Code?
Use the one‑click install button at the top of the README, or add the Docker configuration to your VS Code User Settings JSON or .vscode/mcp.json.