NestDaddy

Ghcli Mcp Connector

io.github.FerhatDundar/ghcli-mcp-connector ยท v0.1.1

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

Connect Runs on your machine

Terminal
claude mcp add ghcli-mcp-connector -e GH_TOKEN=<GH_TOKEN> -e GH_HOST=<GH_HOST> -e GHCLI_MCP_ALLOW_WRITE=<GHCLI_MCP_ALLOW_WRITE> -e GHCLI_MCP_ALLOWED_REPOS=<GHCLI_MCP_ALLOWED_REPOS> -e GHCLI_MCP_CLI_PATH=<GHCLI_MCP_CLI_PATH> -- https://github.com/FerhatDundar/ghcli-mcp-connector/releases/download/v0.1.1/ghcli-mcp-connector-plugin-v0.1.1-darwin-arm64.zip
claude_desktop_config.json
{
  "mcpServers": {
    "ghcli-mcp-connector": {
      "command": "https://github.com/FerhatDundar/ghcli-mcp-connector/releases/download/v0.1.1/ghcli-mcp-connector-plugin-v0.1.1-darwin-arm64.zip",
      "args": [],
      "env": {
        "GH_TOKEN": "<GH_TOKEN>",
        "GH_HOST": "<GH_HOST>",
        "GHCLI_MCP_ALLOW_WRITE": "<GHCLI_MCP_ALLOW_WRITE>",
        "GHCLI_MCP_ALLOWED_REPOS": "<GHCLI_MCP_ALLOWED_REPOS>",
        "GHCLI_MCP_CLI_PATH": "<GHCLI_MCP_CLI_PATH>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "ghcli-mcp-connector": {
      "command": "https://github.com/FerhatDundar/ghcli-mcp-connector/releases/download/v0.1.1/ghcli-mcp-connector-plugin-v0.1.1-darwin-arm64.zip",
      "args": [],
      "env": {
        "GH_TOKEN": "<GH_TOKEN>",
        "GH_HOST": "<GH_HOST>",
        "GHCLI_MCP_ALLOW_WRITE": "<GHCLI_MCP_ALLOW_WRITE>",
        "GHCLI_MCP_ALLOWED_REPOS": "<GHCLI_MCP_ALLOWED_REPOS>",
        "GHCLI_MCP_CLI_PATH": "<GHCLI_MCP_CLI_PATH>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "ghcli-mcp-connector": {
      "type": "stdio",
      "command": "https://github.com/FerhatDundar/ghcli-mcp-connector/releases/download/v0.1.1/ghcli-mcp-connector-plugin-v0.1.1-darwin-arm64.zip",
      "args": [],
      "env": {
        "GH_TOKEN": "<GH_TOKEN>",
        "GH_HOST": "<GH_HOST>",
        "GHCLI_MCP_ALLOW_WRITE": "<GHCLI_MCP_ALLOW_WRITE>",
        "GHCLI_MCP_ALLOWED_REPOS": "<GHCLI_MCP_ALLOWED_REPOS>",
        "GHCLI_MCP_CLI_PATH": "<GHCLI_MCP_CLI_PATH>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

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

Details

Packagehttps://github.com/FerhatDundar/ghcli-mcp-connector/releases/download/v0.1.1/[email protected] (MCPB, stdio)
Packagehttps://github.com/FerhatDundar/ghcli-mcp-connector/releases/download/v0.1.1/[email protected] (MCPB, stdio)
Packagehttps://github.com/FerhatDundar/ghcli-mcp-connector/releases/download/v0.1.1/[email protected] (MCPB, stdio)
Packagehttps://github.com/FerhatDundar/ghcli-mcp-connector/releases/download/v0.1.1/[email protected] (MCPB, stdio)
Packagehttps://github.com/FerhatDundar/ghcli-mcp-connector/releases/download/v0.1.1/[email protected] (MCPB, stdio)
Packagehttps://github.com/FerhatDundar/ghcli-mcp-connector/releases/download/v0.1.1/[email protected] (MCPB, stdio)
First published3 Aug 2026
Last updated3 Aug 2026
Registry nameio.github.FerhatDundar/ghcli-mcp-connector

More developer tools servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.