Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
A GitHub CLI extension that seamlessly runs the github-mcp-server using your existing gh authentication. Eliminates manual PAT setup by automatically retrieving GitHub credentials and launching the MCP server with proper authentication.
Jump to setup instructionsNo tool list is on record. This does not mean the server has no tools. Tools were not run.
No setup evidence yet No matching config or report on record. This does not mean the server is incompatible.
Same catalog task: Automate workflows.
Transcend MCP Server — Workflows tools.
Same catalog task: Automate workflows.
GitLab MCP server for projects, merge requests, issues, pipelines, wiki, releases, and more
Same catalog task: Automate workflows.
Paid cron for AI agents: we call your https URL on schedule, signed. No account, paid with x402.
Fetched from the repository for this visit.
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 is released for the platforms where upstream publishes github-mcp-server archives:
darwin/amd64darwin/arm64linux/386linux/amd64linux/arm64windows/386windows/amd64windows/arm64gh 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 server options:
{
"github": {
"command": "gh",
"args": ["mcp", "--toolsets=repos,issues,pull_requests", "--read-only"]
}
}
To add this as an MCP server to Claude Code:
claude mcp add-json github '{"command":"gh","args":["mcp"]}'
With server options:
claude mcp add-json github '{"command":"gh","args":["mcp","--toolsets=repos,issues","--read-only"]}'
You can also run the server directly:
gh mcp
This will:
gh CLIgithub-mcp-server from the cache, extracting the bundled copy on first rungithub-mcp-server stdio, so stdio, signals, and the exit code belong to the servergh-mcp prints nothing unless something fails. Set GH_MCP_DEBUG=1 to print the host, server version, and executable path.
gh-mcp does not define its own server options. Everything you pass reaches github-mcp-server stdio unchanged, so every upstream option works, including ones added after this release.
Arguments after gh mcp are appended to github-mcp-server stdio:
gh mcp --toolsets=repos,issues --read-only
gh mcp --exclude-tools=delete_file --lockdown-mode
Run gh mcp --help to see the options of the bundled server.
Every GITHUB_* variable is forwarded, so the upstream environment equivalents work too:
GITHUB_TOOLSETS="repos,issues,pull_requests" gh mcp
GITHUB_READ_ONLY=1 gh mcp
GITHUB_EXCLUDE_TOOLS=delete_file gh mcp
The server lists every tool in the enabled toolsets, even ones your gh token lacks scopes for. Use --toolsets, --tools, or --exclude-tools to narrow the list.
gh-mcp always sets GITHUB_PERSONAL_ACCESS_TOKEN and GITHUB_HOST from gh and never forwards GITHUB_TOKEN or GITHUB_ENTERPRISE_TOKEN.
The server receives a minimal environment:
GITHUB_PERSONAL_ACCESS_TOKEN and GITHUB_HOST, set by gh-mcpGITHUB_* variables from the parent processPATH, home and temp-dir variables, proxy and certificate variablesProxy variables are intentionally forwarded to support enterprise networks. If you run gh mcp from an untrusted wrapper process, clear proxy/certificate variables before launch.
gh CLI authenticationserver.lock.json pins the upstream version and the SHA256 of the server executable for each platform<user cache dir>/gh-mcp/servers/<sha256>/. Each launch re-hashes it; a missing or modified file is replaced from the archive bundled in gh-mcp. After installing a new version, gh-mcp removes cached versions that have not been used for 7 daysgh-mcp replaces itself with the server (on Windows it runs the server and waits)Run 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. Check Platform Support.
You built gh-mcp with plain go build. Build with task build, or install a release with gh extension install shuymn/gh-mcp.
The bundled archive does not match server.lock.json. Reinstall or upgrade the extension.
A cache directory is a symbolic link, is owned by another user, or is accessible to other users. Remove <user cache dir>/gh-mcp and run gh mcp again.
The token or host from gh contains a line break or NUL byte. Check gh auth status.
LOG_LEVEL no longer has an effect. Use GH_MCP_DEBUG=1.gh mcp are now passed to the server instead of being ignored.GITHUB_* variables are forwarded. GITHUB_DYNAMIC_TOOLSETS was removed upstream and has no effect.server.lock.json against the release attestation of the upstream checksums file, and release binaries carry build-provenance attestations (gh attestation verify <binary> --repo shuymn/gh-mcp)gh token directlyContributions 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.
Loading reviews...
GitHub checked 112h ago - refresh overdue. Recently viewed repositories target hourly refresh.
Find a documented setup for your client. No sign-in, installation, or tool execution.
If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.