Skip to content
Gemini CLI

mcphost for Gemini CLI

dev.mcphost/mcphost

Host your MCP tool over streamable HTTP in one command.

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

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

All 88 tools →

mcphost in other clients