Skip to content
Gemini CLI

diff mcp for Gemini CLI

io.github.mrfentmen/diff-mcp

Compare two texts or files and show line changes locally. No network and no key.

client:Gemini CLI transport:stdio runtime:npm

Install diff mcp in Gemini CLI

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

{
  "mcpServers": {
    "diff-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/diff-mcp"
      ]
    }
  }
}

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

diff mcp in other clients