Skip to content
Gemini CLI

patch mcp for Gemini CLI

io.github.mrfentmen/patch-mcp

Create, check and apply unified diffs offline, with no shell and no repository needed

client:Gemini CLI transport:stdio runtime:npm

Install patch mcp in Gemini CLI

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

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

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

patch mcp in other clients