MCP directory
GM

Ghcli Mcp Connector

by github.com/FerhatDundar · v0.1.1 · updated Aug 3, 2026

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

MCP Bundle

Run it locally

Install the package and point your AI client at it.

MCP Bundle

https://github.com/FerhatDundar/ghcli-mcp-connector/releases/download/v0.1.1/ghcli-mcp-connector-plugin-v0.1.1-darwin-arm64.zip

Environment variables

  • GH_TOKENsecret

    gh CLI token. Leave unset to use whatever `gh auth login` already configured (OS keychain).

  • GH_HOST

    Target a GitHub Enterprise hostname instead of github.com.

  • GHCLI_MCP_ALLOW_WRITE

    Set to "true" to permit state-changing gh commands. Defaults to read-only.

  • GHCLI_MCP_ALLOWED_REPOS

    Optional comma-separated allowlist of "owner/repo" values, enforced when -R/--repo is passed. Unset allows all.

  • GHCLI_MCP_CLI_PATH

    Optional path to the gh binary. Defaults to "gh" resolved via PATH.

MCP Bundle

https://github.com/FerhatDundar/ghcli-mcp-connector/releases/download/v0.1.1/ghcli-mcp-connector-plugin-v0.1.1-darwin-amd64.zip

Environment variables

  • GH_TOKENsecret

    gh CLI token. Leave unset to use whatever `gh auth login` already configured (OS keychain).

  • GH_HOST

    Target a GitHub Enterprise hostname instead of github.com.

  • GHCLI_MCP_ALLOW_WRITE

    Set to "true" to permit state-changing gh commands. Defaults to read-only.

  • GHCLI_MCP_ALLOWED_REPOS

    Optional comma-separated allowlist of "owner/repo" values, enforced when -R/--repo is passed. Unset allows all.

  • GHCLI_MCP_CLI_PATH

    Optional path to the gh binary. Defaults to "gh" resolved via PATH.

MCP Bundle

https://github.com/FerhatDundar/ghcli-mcp-connector/releases/download/v0.1.1/ghcli-mcp-connector-plugin-v0.1.1-linux-amd64.zip

Environment variables

  • GH_TOKENsecret

    gh CLI token. Leave unset to use whatever `gh auth login` already configured (OS keychain).

  • GH_HOST

    Target a GitHub Enterprise hostname instead of github.com.

  • GHCLI_MCP_ALLOW_WRITE

    Set to "true" to permit state-changing gh commands. Defaults to read-only.

  • GHCLI_MCP_ALLOWED_REPOS

    Optional comma-separated allowlist of "owner/repo" values, enforced when -R/--repo is passed. Unset allows all.

  • GHCLI_MCP_CLI_PATH

    Optional path to the gh binary. Defaults to "gh" resolved via PATH.

MCP Bundle

https://github.com/FerhatDundar/ghcli-mcp-connector/releases/download/v0.1.1/ghcli-mcp-connector-plugin-v0.1.1-linux-arm64.zip

Environment variables

  • GH_TOKENsecret

    gh CLI token. Leave unset to use whatever `gh auth login` already configured (OS keychain).

  • GH_HOST

    Target a GitHub Enterprise hostname instead of github.com.

  • GHCLI_MCP_ALLOW_WRITE

    Set to "true" to permit state-changing gh commands. Defaults to read-only.

  • GHCLI_MCP_ALLOWED_REPOS

    Optional comma-separated allowlist of "owner/repo" values, enforced when -R/--repo is passed. Unset allows all.

  • GHCLI_MCP_CLI_PATH

    Optional path to the gh binary. Defaults to "gh" resolved via PATH.

MCP Bundle

https://github.com/FerhatDundar/ghcli-mcp-connector/releases/download/v0.1.1/ghcli-mcp-connector-plugin-v0.1.1-windows-amd64.zip

Environment variables

  • GH_TOKENsecret

    gh CLI token. Leave unset to use whatever `gh auth login` already configured (OS keychain).

  • GH_HOST

    Target a GitHub Enterprise hostname instead of github.com.

  • GHCLI_MCP_ALLOW_WRITE

    Set to "true" to permit state-changing gh commands. Defaults to read-only.

  • GHCLI_MCP_ALLOWED_REPOS

    Optional comma-separated allowlist of "owner/repo" values, enforced when -R/--repo is passed. Unset allows all.

  • GHCLI_MCP_CLI_PATH

    Optional path to the gh binary. Defaults to "gh" resolved via PATH.

MCP Bundle

https://github.com/FerhatDundar/ghcli-mcp-connector/releases/download/v0.1.1/ghcli-mcp-connector-plugin-v0.1.1-windows-arm64.zip

Environment variables

  • GH_TOKENsecret

    gh CLI token. Leave unset to use whatever `gh auth login` already configured (OS keychain).

  • GH_HOST

    Target a GitHub Enterprise hostname instead of github.com.

  • GHCLI_MCP_ALLOW_WRITE

    Set to "true" to permit state-changing gh commands. Defaults to read-only.

  • GHCLI_MCP_ALLOWED_REPOS

    Optional comma-separated allowlist of "owner/repo" values, enforced when -R/--repo is passed. Unset allows all.

  • GHCLI_MCP_CLI_PATH

    Optional path to the gh binary. Defaults to "gh" resolved via PATH.

More from github.com/FerhatDundar

More MCP servers