github
GitHub's official MCP Server
claude mcp add --transport stdio github-github-mcp-server docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN ghcr.io/github/github-mcp-server
How to use
The GitHub MCP Server allows AI tools to interact with GitHub's platform seamlessly. Users can leverage its capabilities to manage repositories, automate issues and pull requests, analyze code, and enhance team collaboration through natural language interactions. By connecting AI agents to GitHub, developers can perform complex tasks like triaging bugs or reviewing code changes with ease. The server supports various functionalities, including CI/CD monitoring, code analysis, and team activity insights, making it a powerful tool for developers looking to streamline their workflows.
How to install
To install the GitHub MCP Server, ensure you have a compatible MCP host that supports remote servers. You can quickly install it in VS Code using the one-click install buttons provided in the README. Alternatively, you can manually configure your host by adding the appropriate JSON block to your configuration. For Docker users, you can run the server with the command:
docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN ghcr.io/github/github-mcp-server
Make sure you have Docker installed and running on your machine.
Additional notes
When using the GitHub MCP Server, ensure that you have a valid GitHub Personal Access Token (PAT) for authentication. If you're using VS Code, you may need to adjust your settings to accommodate OAuth or PAT configurations. Common issues include network connectivity problems and incorrect token permissions, so double-check your GitHub settings if you encounter errors. For advanced configurations, refer to the Remote Server Documentation for detailed instructions on toolsets and headers.
Related MCP Servers
mcp-language
mcp-language-server gives MCP enabled clients access semantic tools like get definition, references, rename, and diagnostics.
Gitingest
mcp server for gitingest
kodit
👩💻 MCP server to index external repositories
github-brain
An experimental GitHub MCP server with local database.
bgg
BGG MCP provides access to BoardGameGeek and a variety of board game related data through the Model Context Protocol. Enabling retrieval and filtering of board game data, user collections, and profiles.
mcp
Teamwork.com MCP server