PluginBench
MCP Server
Active
MIT

io.github.FerhatDundar/ghcli-mcp-connector MCP Server

io.github.FerhatDundar/ghcli-mcp-connector

What is the io.github.FerhatDundar/ghcli-mcp-connector MCP server?

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

How to install io.github.FerhatDundar/ghcli-mcp-connector

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • GH_TOKEN
    secret

    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.

Claude Desktop
~/Library/Application Support/Claude/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": "<YOUR_GH_TOKEN>",
        "GH_HOST": "<YOUR_GH_HOST>",
        "GHCLI_MCP_ALLOW_WRITE": "<YOUR_GHCLI_MCP_ALLOW_WRITE>",
        "GHCLI_MCP_ALLOWED_REPOS": "<YOUR_GHCLI_MCP_ALLOWED_REPOS>",
        "GHCLI_MCP_CLI_PATH": "<YOUR_GHCLI_MCP_CLI_PATH>"
      }
    }
  }
}
Cursor
~/.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": "<YOUR_GH_TOKEN>",
        "GH_HOST": "<YOUR_GH_HOST>",
        "GHCLI_MCP_ALLOW_WRITE": "<YOUR_GHCLI_MCP_ALLOW_WRITE>",
        "GHCLI_MCP_ALLOWED_REPOS": "<YOUR_GHCLI_MCP_ALLOWED_REPOS>",
        "GHCLI_MCP_CLI_PATH": "<YOUR_GHCLI_MCP_CLI_PATH>"
      }
    }
  }
}
Windsurf
~/.codeium/windsurf/mcp_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": "<YOUR_GH_TOKEN>",
        "GH_HOST": "<YOUR_GH_HOST>",
        "GHCLI_MCP_ALLOW_WRITE": "<YOUR_GHCLI_MCP_ALLOW_WRITE>",
        "GHCLI_MCP_ALLOWED_REPOS": "<YOUR_GHCLI_MCP_ALLOWED_REPOS>",
        "GHCLI_MCP_CLI_PATH": "<YOUR_GHCLI_MCP_CLI_PATH>"
      }
    }
  }
}
VS Code
.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": "<YOUR_GH_TOKEN>",
        "GH_HOST": "<YOUR_GH_HOST>",
        "GHCLI_MCP_ALLOW_WRITE": "<YOUR_GHCLI_MCP_ALLOW_WRITE>",
        "GHCLI_MCP_ALLOWED_REPOS": "<YOUR_GHCLI_MCP_ALLOWED_REPOS>",
        "GHCLI_MCP_CLI_PATH": "<YOUR_GHCLI_MCP_CLI_PATH>"
      }
    }
  }
}
Claude Code
claude mcp add ghcli-mcp-connector --env GH_TOKEN=<YOUR_GH_TOKEN> --env GH_HOST=<YOUR_GH_HOST> --env GHCLI_MCP_ALLOW_WRITE=<YOUR_GHCLI_MCP_ALLOW_WRITE> --env GHCLI_MCP_ALLOWED_REPOS=<YOUR_GHCLI_MCP_ALLOWED_REPOS> --env GHCLI_MCP_CLI_PATH=<YOUR_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

Related MCP servers

MCP server for the AWS CLI. Read-only by default; single Go binary.

0
Go
MIT
View repository →

MCP server for GitHub: repos, files, issues, PRs, search. Single Go binary.

0
Go
MIT
View repository →

MCP server for Amazon S3 and S3-compatible endpoints (LocalStack, MinIO). Single Go binary.

0
Go
MIT
View repository →