ghcli-mcp-connector

v0.1.1
io.github.FerhatDundar/ghcli-mcp-connector Checked 2 days ago Published 4 months ago

MCP server for the GitHub CLI (gh).

Not smoke-tested: mcpb packages are not smoke-tested yet.

Values you need

VariableWhat it is
GH_TOKENoptional secret gh CLI token. Leave unset to use whatever `gh auth login` already configured (OS keychain).
GH_HOSToptional Target a GitHub Enterprise hostname instead of github.com.
GHCLI_MCP_ALLOW_WRITEoptional Set to "true" to permit state-changing gh commands. Defaults to read-only.
GHCLI_MCP_ALLOWED_REPOSoptional Optional comma-separated allowlist of "owner/repo" values, enforced when -R/--repo is passed. Unset allows all.
GHCLI_MCP_CLI_PATHoptional Optional path to the gh binary. Defaults to "gh" resolved via PATH.

No installable package or endpoint was found. See the README for build-from-source steps.

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. If it fails, check that the required runtime is installed (none) and that the values above are set.

Machine-readable: install.md · manifest.json