MCP Catalogs
Home

gh-mcp

by shuymn·29·Score 44

GitHub CLI extension that runs github-mcp-server using existing gh authentication without manual PAT setup.

developer-toolsgithubai-llm
3
Forks
3
Open issues
this month
Last commit
2d ago
Indexed

Overview

gh-mcp is a convenient GitHub CLI extension that seamlessly integrates GitHub's MCP server functionality by bundling the github-mcp-server binary and automatically retrieving GitHub credentials from the gh CLI. This eliminates the need for manual Personal Access Token setup, simplifying the authentication process for developers using MCP clients. The extension provides a secure way to access GitHub repositories, issues, and pull requests through the Model Context Protocol.

Try asking AI

After installing, here are 6 things you can ask your AI assistant:

you:Integrating GitHub access with AI coding assistants that support MCP
you:Accessing GitHub repositories and issues without managing separate PATs
you:Enabling Claude Code or other MCP clients to interact with GitHub resources
you:What platforms are supported by gh-mcp?
you:How does gh-mcp handle authentication?
you:Can I use gh-mcp with different GitHub toolsets?

When to choose this

Choose this if you already use GitHub CLI and want seamless MCP integration without managing separate Personal Access Tokens.

When NOT to choose this

Not suitable if you need fine-grained control over GitHub permissions or are not already using the GitHub CLI.

Comparable tools

github-mcp-serveroctoaigithub-cli

Installation

Installation

gh extension install shuymn/gh-mcp

Configuration for Claude Desktop

Add this to your Claude Desktop 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"
    }
  }
}

FAQ

What platforms are supported by gh-mcp?
gh-mcp supports darwin/amd64, darwin/arm64, linux/386, linux/amd64, linux/arm64, windows/386, windows/amd64, and windows/arm64 platforms.
How does gh-mcp handle authentication?
It automatically retrieves GitHub credentials from the existing gh CLI authentication, eliminating the need to manually create and manage Personal Access Tokens.
Can I use gh-mcp with different GitHub toolsets?
Yes, you can configure which GitHub API toolsets are available using the GITHUB_TOOLSETS environment variable (e.g., 'repos,issues,pull_requests' or 'all').

Compare gh-mcp with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.