Agents
Gemini CLI
Connect Gemini CLI to Ink
Install the Ink CLI and Gemini can use it directly from the terminal.
1. Install the CLI:
npm install -g @mldotink/cli2. Log in:
ink login3. Deploy — ask Gemini to deploy using the CLI:
Prompt
❯
Deploy this app to Ink using the ink CLI
Setup
Run the following command in your terminal:
gemini mcp add --transport http ink https://mcp.ml.ink/ --header "Authorization: Bearer YOUR_API_KEY"Replace YOUR_API_KEY with your agent key from the Ink dashboard.
Scope
Like Claude Code, Gemini CLI supports project and user scopes:
gemini mcp add -s user --transport http ink https://mcp.ml.ink/ --header "Authorization: Bearer YOUR_API_KEY"Verify
Start a new Gemini CLI session and ask it to list your Ink services.