Hosted OAuth
Use the hosted endpoint when the client supports remote MCP OAuth:settings.json.
/mcp auth sendmux inside Gemini CLI.
Local stdio
Install the local package once:settings.json.
Private HTTP
Start a local HTTP MCP server:http://127.0.0.1:8765/mcp as the client URL.