Skip to main content

Ghcli MCP Connector

io.github.FerhatDundar/ghcli-mcp-connector

v0.1.1Updated Aug 3, 2026stdio · MCPB

MCP server for the GitHub CLI (gh). Read-only by default; single Go binary.

Install

This server doesn't publish a package or endpoint we can turn into a one-line install. See its links below.

Configuration

5 settings.

  • GH_TOKEN
    Env var· optional· secret
    gh CLI token. Leave unset to use whatever `gh auth login` already configured (OS keychain).
  • GH_HOST
    Env var· optional
    Target a GitHub Enterprise hostname instead of github.com.
  • GHCLI_MCP_ALLOW_WRITE
    Env var· optional
    Set to "true" to permit state-changing gh commands. Defaults to read-only.
  • GHCLI_MCP_ALLOWED_REPOS
    Env var· optional
    Optional comma-separated allowlist of "owner/repo" values, enforced when -R/--repo is passed. Unset allows all.
  • GHCLI_MCP_CLI_PATH
    Env var· optional
    Optional path to the gh binary. Defaults to "gh" resolved via PATH.

Listed in the official MCP Registry since Aug 3, 2026. Mirrored daily; last checked Nov 26, 2026.