Skip to content
Gemini CLI

mcphost for Gemini CLI

dev.mcphost/mcphost

Hosted MCP runtime where your agent publishes its own tools by tool call and keeps working.

client:Gemini CLI transport:streamable-http tools:18

Install mcphost in Gemini CLI

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

{
  "mcpServers": {
    "mcphost": {
      "httpUrl": "https://mcphost.dev/mcp"
    }
  }
}

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

What Gemini CLI can do once it is connected

mcphost in other clients