Skip to content
Gemini CLI

hledit MCP for Gemini CLI

io.github.dabito/hledit-mcp

Hash-anchored file edits for MCP clients. Rejects stale writes before they happen.

client:Gemini CLI transport:stdio runtime:npm

Install hledit MCP in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

{
  "mcpServers": {
    "hledit-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "hledit-mcp"
      ]
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

hledit MCP in other clients