Gemini CLI

Gemini CLI

Add plnnrly to Google's Gemini CLI with one command and sign in from your browser, without a token.

View as Markdown

Gemini CLI is Google's AI agent for the terminal. You add plnnrly with one command and sign in to plnnrly in your browser. There is no token to copy.

On 18 June 2026, Google replaced Gemini CLI with Antigravity CLI for free users and for Google AI Pro and Ultra subscribers. Gemini CLI stays available with a Gemini Code Assist Standard or Enterprise licence, and with a paid Gemini API key. Antigravity CLI cannot sign in to plnnrly yet; see Other clients.

Before you start

  • MCP is switched on for your organisation. It is off in a new organisation until an administrator switches it on. If the AI panel (the sparkles icon in the top bar) is missing in plnnrly, ask an administrator; see For administrators.
  • You have the server URL, https://<your-url>/mcp/v1. <your-url> is the address you sign in to plnnrly on, such as acme.plnnrly.com, or your organisation's own domain. The AI panel shows the exact URL.
  • Gemini CLI is installed, for example with npm install -g @google/gemini-cli.
  • A browser runs on the same computer. The sign-in returns to an address on that computer, so it does not work in a remote SSH session without a browser.

Add the server

Terminal
gemini mcp add --transport http --scope user plnnrly https://<your-url>/mcp/v1

With --scope user, Gemini CLI saves the server in ~/.gemini/settings.json and you can use it in every project. Without it, the server is saved in .gemini/settings.json in the current project only.

You can also add the entry to either file yourself. Use the httpUrl key:

JSON
{
  "mcpServers": {
    "plnnrly": {
      "httpUrl": "https://<your-url>/mcp/v1"
    }
  }
}

Sign in

Start gemini and run /mcp auth plnnrly. A plnnrly window opens in your browser. Sign in if needed, check the details and click Approve. Gemini CLI stores the sign-in. If it ever asks you to sign in again, run the same command.

Check that it works

Terminal
gemini mcp list

plnnrly shows as Connected. Inside a session, /mcp lists plnnrly with its tools. Then ask "Which work items are assigned to me?"

Remove the server

Terminal
gemini mcp remove --scope user plnnrly

Leave out --scope user if you added the server to the project only. To be sure the sign-in itself is cut, use Disconnect in plnnrly; see Disconnect an app.

Troubleshooting

If plnnrly does not connect, or refuses a request, see Troubleshooting.