# Ghcli MCP Connector

> Ghcli MCP Connector is an open-source MCP server. MCP server for the GitHub CLI (gh). Read-only by default; single Go binary. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/ferhatdundar/ghcli-mcp-connector
- **MCP Registry name:** io.github.FerhatDundar/ghcli-mcp-connector
- **Listing updated:** 2026-11-13

## About

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

## Install

### Claude Code (Terminal)

```sh
claude mcp add ghcli-mcp-connector --env GH_TOKEN='<GH_TOKEN>' -- npx -y https://github.com/FerhatDundar/ghcli-mcp-connector/releases/download/v0.1.1/ghcli-mcp-connector-plugin-v0.1.1-darwin-arm64.zip
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "ghcli-mcp-connector": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/FerhatDundar/ghcli-mcp-connector/releases/download/v0.1.1/ghcli-mcp-connector-plugin-v0.1.1-darwin-arm64.zip"
      ],
      "env": {
        "GH_TOKEN": "<GH_TOKEN>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "ghcli-mcp-connector": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/FerhatDundar/ghcli-mcp-connector/releases/download/v0.1.1/ghcli-mcp-connector-plugin-v0.1.1-darwin-arm64.zip"
      ],
      "env": {
        "GH_TOKEN": "<GH_TOKEN>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "ghcli-mcp-connector": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/FerhatDundar/ghcli-mcp-connector/releases/download/v0.1.1/ghcli-mcp-connector-plugin-v0.1.1-darwin-arm64.zip"
      ],
      "env": {
        "GH_TOKEN": "<GH_TOKEN>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "ghcli-mcp-connector": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/FerhatDundar/ghcli-mcp-connector/releases/download/v0.1.1/ghcli-mcp-connector-plugin-v0.1.1-darwin-arm64.zip"
      ],
      "env": {
        "GH_TOKEN": "<GH_TOKEN>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "ghcli-mcp-connector": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/FerhatDundar/ghcli-mcp-connector/releases/download/v0.1.1/ghcli-mcp-connector-plugin-v0.1.1-darwin-arm64.zip"
      ],
      "env": {
        "GH_TOKEN": "<GH_TOKEN>"
      }
    }
  }
}
```

## FAQ

### Is Ghcli MCP Connector free?

Yes. Ghcli MCP Connector is open source, so you can use and self-host it for free.

### How do I add Ghcli MCP Connector to Claude Code?

Run this command in your terminal: claude mcp add ghcli-mcp-connector --env GH_TOKEN='<GH_TOKEN>' -- npx -y https://github.com/FerhatDundar/ghcli-mcp-connector/releases/download/v0.1.1/ghcli-mcp-connector-plugin-v0.1.1-darwin-arm64.zip

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/ghcli-mcp-connector
