text diff mcp for Gemini CLI
io.github.mrfentmen/text-diff-mcp
Unified diffs of two texts: change hunks with context, plus added and removed line counts
client:Gemini CLI
transport:stdio
runtime:npm
Install text diff mcp in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"text-diff-mcp": {
"command": "npx",
"args": [
"-y",
"@mrfentmen/text-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