ghostlink for Gemini CLI
io.github.bgorzelic/ghostlink
Sandboxed repo access for coding agents: search, read, patch, run, git -- confined to a repo root.
client:Gemini CLI
transport:stdio
runtime:npm
Install ghostlink in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"ghostlink": {
"command": "npx",
"args": [
"-y",
"@bgorzelic/ghostlink"
],
"env": {
"GHOSTLINK_REPO_ROOT": "<GHOSTLINK_REPO_ROOT>",
"GHOSTLINK_LOG": "<GHOSTLINK_LOG>"
}
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs