Skip to content
Gemini CLI

vaultgate for Gemini CLI

io.github.adamrowles1996/vaultgate

Self-hosted remote MCP server for Bitwarden and Vaultwarden with OAuth 2.1; agents hold tokens only

client:Gemini CLI transport:streamable-http

Install vaultgate in Gemini CLI

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

{
  "mcpServers": {
    "vaultgate": {
      "httpUrl": "https://{vaultgate_host}/mcp"
    }
  }
}

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

vaultgate in other clients