AI & MCP
Connect Gemini CLI
Copy page
Add Hostino MCP to Gemini CLI
Gemini CLI supports remote MCP servers with automatic OAuth discovery.
1. Add
gemini mcp add --transport http -s user hostino https://mcp.hostino.ai/mcpWithout -s user the server is registered for the current project only. Or directly in ~/.gemini/settings.json:
{ "mcpServers": { "hostino": { "httpUrl": "https://mcp.hostino.ai/mcp" } }}2. Sign in
In Gemini CLI, type:
/mcp auth hostinoA browser opens for sign-in. Tokens are stored in ~/.gemini/mcp-oauth-tokens.json; to sign in again, run the same command or delete that file.
Gemini CLI needs a browser on the same machine to sign in. It does not work over SSH without a browser or inside a container.