Skip to content
Gemini CLI

earthly mcp for Gemini CLI

io.github.mrfentmen/earthly-mcp

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

client:Gemini CLI transport:stdio runtime:npm

Install earthly mcp in Gemini CLI

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

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

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

earthly mcp in other clients