Skip to content
Gemini CLI

shell mcp for Gemini CLI

io.github.mrfentmen/shell-mcp

Shell MCP: 20 real tools to read, check, lint, scaffold, build and run Shell code.

client:Gemini CLI transport:stdio runtime:npm

Install shell mcp in Gemini CLI

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

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

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

shell mcp in other clients