About GitHub MCP Server CLI Extension
GitHub MCP Server CLI Extension is a GitHub CLI extension for installing and authenticating GitHub MCP Server. It uses existing GitHub CLI authentication and downloads the platform-appropriate binary without requiring Docker or manual token management.
Key features
- 01Install GitHub MCP Server through gh
- 02Reuse GitHub CLI authentication
- 03Download the correct platform binary
- 04Run the server in stdio mode
Use cases
- 01Install GitHub MCP Server from the command line
- 02Start the server for a VS Code MCP configuration
- 03Avoid separate token setup when using existing gh authentication
MCP support
The extension installs and launches GitHub MCP Server in stdio mode for MCP clients, using the user's existing GitHub CLI authentication.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEGitHub MCP Server CLI Extension
A GitHub CLI extension providing simplified installation and authentication for GitHub MCP Server.
Installation
gh extension install MayorFaj/gh-github-mcp-server
Usage
Start the GitHub MCP Server with stdio mode:
VS Code Integration
Add the following to your VS Code User Settings (JSON):
{
"mcp": {
"servers": {
"github": {
"command": "gh",
"args": [
"github-mcp-server",
"stdio"
]
}
}
}
}
You can edit settings by pressing Ctrl+Shift+P (or Cmd+Shift+P on macOS) and typing "Preferences: Open User Settings (JSON)".
Features
- Zero Configuration: Uses your existing GitHub CLI authentication
- Automatic Installation: Downloads the correct binary for your platform
- No Additional Dependencies: No Docker or manual token management required
License
MIT License
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.