cortex gateway for Gemini CLI
io.github.wellknownmcp/cortex-gateway
Self-hosted federated MCP gateway: one OAuth 2.1 MCP server in front of N apps, user-level scopes.
client:Gemini CLI
transport:streamable-http
runtime:oci
Install cortex gateway in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"cortex-gateway": {
"httpUrl": "https://mcp.cortex-gateway.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