A community-driven registry for Claude, Cursor, Windsurf, Cline & more. Not affiliated with Anthropic.
Are you the author? Sign in to claim
A GitHub CLI extension that seamlessly runs the github-mcp-server using your existing gh authentication. Eliminates manu
A GitHub CLI extension that seamlessly runs the github-mcp-server as a bundled binary using your existing gh authentication.
gh-mcp eliminates the manual setup of GitHub Personal Access Tokens for MCP (Model Context Protocol) servers. It automatically retrieves your GitHub credentials from the gh CLI and launches a bundled github-mcp-server binary with proper authentication.
gh) installed and authenticated (gh auth login)gh-mcp runtime support is limited to platforms where bundled github-mcp-server archives are available:
darwin/amd64darwin/arm64linux/386linux/amd64linux/arm64windows/386windows/amd64windows/arm64Release assets may still include additional targets produced by cli/gh-extension-precompile (for example freebsd-* and linux/arm), but those targets are not supported by gh-mcp runtime because no bundled github-mcp-server binary is available for them.
gh extension install shuymn/gh-mcp
To update the extension to the latest version:
gh extension upgrade mcp
Add this to your MCP client configuration:
{
"github": {
"command": "gh",
"args": ["mcp"]
}
}
With environment variables:
{
"github": {
"command": "gh",
"args": ["mcp"],
"env": {
"GITHUB_TOOLSETS": "repos,issues,pull_requests",
"GITHUB_READ_ONLY": "1"
}
}
}
To add this as an MCP server to Claude Code:
claude mcp add-json github '{"command":"gh","args":["mcp"]}'
With environment variables:
claude mcp add-json github '{"command":"gh","args":["mcp"],"env":{"GITHUB_TOOLSETS":"repos,issues","GITHUB_READ_ONLY":"1"}}'
You can also run the server directly:
gh mcp
This will:
gh CLIPress Ctrl+C to gracefully shut down the server.
The extension passes through several environment variables to configure the MCP server:
gh-mcp starts github-mcp-server with a minimal child-process environment:
GITHUB_* variables are set by gh-mcpPATH, temp-dir vars, proxy/cert vars)Proxy variables are intentionally forwarded to support enterprise networks. If you run gh mcp from an untrusted wrapper process, clear proxy/certificate variables before launch.
Control which GitHub API toolsets are available:
# Enable specific toolsets
GITHUB_TOOLSETS="repos,issues,pull_requests" gh mcp
# Enable all toolsets
GITHUB_TOOLSETS="all" gh mcp
Enable dynamic toolset discovery (beta feature):
GITHUB_DYNAMIC_TOOLSETS=1 gh mcp
Run the server in read-only mode to prevent modifications:
GITHUB_READ_ONLY=1 gh mcp
You can combine multiple options:
GITHUB_READ_ONLY=1 GITHUB_TOOLSETS="repos,issues" gh mcp
gh CLI authenticationgithub-mcp-server binary for your platformRun gh auth login to authenticate with GitHub first.
No default GitHub host is configured in gh. Run gh auth status and authenticate/select a default account.
Your OS/architecture is not supported by bundled runtime assets. Check Platform Support and use a supported target.
The bundled binary did not pass integrity verification. Reinstall or upgrade the extension.
The cache parent directory for extracted binaries failed ownership/permission checks. On Unix-like systems, ensure your user owns the cache path and that permissions are private (for example, 0700).
<code>"The bundled github-mcp-server started but returned an error. Check MCP client configuration and GITHUB_* environment values.
One of the forwarded environment values contains a line break or NUL byte. Remove control characters from GITHUB_* values before running gh mcp.
Contributions are welcome! Please feel free to submit a Pull Request.
For development information, see CONTRIBUTING.md.
This project is licensed under the MIT License - see the LICENSE file for details.
Run Claude Code as an MCP server so any agent can delegate coding tasks to it
Browser automation using accessibility snapshots instead of screenshots
MCP server integration for DaVinci Resolve Studio
A Jetbrains IDE IntelliJ plugin aimed to provide coding agents the ability to leverage intelliJ's indexing of the codeba