G

Ghcli MCP Connector

by FerhatDundar · io.github.FerhatDundar/ghcli-mcp-connector

ghcli-mcp-connector is an MCP server that lets agents run any GitHub CLI (gh) command—repos, issues, PRs, releases, workflows, gists, and more—as a single static Go binary with a read-only-by-default safety gate on state-changing operations.

mcpb Local · stdio GlamaOfficial MCP Registry High confidence

Install

No install method is published for this server: no package and no remote endpoint. Check its source repository or registry listing for setup instructions.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
GH_TOKEN secret No gh CLI's own token env vars. Leave unset to use whatever gh auth login already configured. Default: unset
GH_HOST No Target a GitHub Enterprise hostname instead of github.com. Default: unset (github.com)
GHCLI_MCP_ALLOW_WRITE No "true" to permit state-changing commands at all (still needs confirm=true per call). Default: false
GHCLI_MCP_ALLOWED_REPOS No Comma-separated allowlist of owner/repo values, e.g. "me/proj,me/other". Only enforced when a call passes an explicit -R/--repo flag. Default: unset (unrestricted)
GHCLI_MCP_CLI_PATH No Path to the gh binary. Default: gh resolved via PATH
GITHUB_TOKEN No gh CLI's own token env vars. Leave unset to use whatever gh auth login already configured. Default: unset

Similar servers