MCP server for the GitHub CLI (gh). Read-only by default; single Go binary.
Connect Runs on your machine
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
{
"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>"
}
}
}
}
{
"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>"
}
}
}
}
{
"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
| Name | Description |
|---|---|
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. |
Details
| Package | https://github.com/FerhatDundar/ghcli-mcp-connector/releases/download/v0.1.1/[email protected] (MCPB, stdio) |
| Package | https://github.com/FerhatDundar/ghcli-mcp-connector/releases/download/v0.1.1/[email protected] (MCPB, stdio) |
| Package | https://github.com/FerhatDundar/ghcli-mcp-connector/releases/download/v0.1.1/[email protected] (MCPB, stdio) |
| Package | https://github.com/FerhatDundar/ghcli-mcp-connector/releases/download/v0.1.1/[email protected] (MCPB, stdio) |
| Package | https://github.com/FerhatDundar/ghcli-mcp-connector/releases/download/v0.1.1/[email protected] (MCPB, stdio) |
| Package | https://github.com/FerhatDundar/ghcli-mcp-connector/releases/download/v0.1.1/[email protected] (MCPB, stdio) |
| First published | 3 Aug 2026 |
| Last updated | 3 Aug 2026 |
| Registry name | io.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.
