Skip to content
Gemini CLI

infrahub mcp for Gemini CLI

com.opsmill/infrahub-mcp

An MCP server connects your AI assistants to Infrahub using the open MCP standard.

client:Gemini CLI transport:stdio runtime:pypi

Install infrahub mcp in Gemini CLI

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

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "infrahub-mcp": {
      "command": "uvx",
      "args": [
        "infrahub-mcp"
      ],
      "env": {
        "INFRAHUB_ADDRESS": "<INFRAHUB_ADDRESS>",
        "INFRAHUB_API_TOKEN": "<INFRAHUB_API_TOKEN>"
      }
    }
  }
}

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

infrahub mcp in other clients