Skip to content
Gemini CLI

portcheck for Gemini CLI

io.github.roystondwork-dev/portcheck

See which process holds a port, find free ports, and stop a dev server safely.

client:Gemini CLI transport:stdio runtime:npm

Install portcheck in Gemini CLI

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

{
  "mcpServers": {
    "portcheck": {
      "command": "npx",
      "args": [
        "-y",
        "portcheck-cli"
      ]
    }
  }
}

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

portcheck in other clients