Gemini CLI for SEO: Analyze Google Search Console from Your Terminal Gemini CLI can now analyze Google Search Console data through a remote MCP server, GSC Magic, added with the command `gemini mcp add --transport http --scope user gsc-magic https://mcp.gscmagic.com/mcp`, according to the guide. The setup requires a GSC Magic account with at least one imported Search Console property; the Free plan covers 1 site with 200 tool calls a month and 10 a day, while Pro costs $19 a month for 10 sites with no call limit and a 7-day trial for new accounts. The guide notes Google announced in May 2026 that Gemini CLI is transitioning to Antigravity CLI and stopped serving Google AI Pro, Ultra and free individual users from June 18, 2026, remaining available with paid Gemini API keys and Gemini Code Assist Standard or Enterprise licenses. Gemini CLI for SEO: Analyze Google Search Console from Your Terminal Connect Gemini CLI to Google Search Console via MCP, check that it reads real data, then run index, quick-win and Core Web Vitals checks from your site repo. Gemini CLI can analyze your Google Search Console data once you connect a remote MCP server. Run gemini mcp add --transport http --scope user gsc-magic https://mcp.gscmagic.com/mcp or install the GSC Magic extension , sign in through /mcp , and ask it to list your properties. From there it can check sitemaps against the index, find quick wins and read Core Web Vitals, then edit titles and links in the repo you launched it from, with your approval on every write. Why run SEO checks from Gemini CLI at all? Because the fix usually lives in the same folder. If you already work in the site repo, a terminal agent that can read Search Console and also open src/pages/pricing.astro saves you the copy-paste between a dashboard, a spreadsheet and your editor. My rule for this setup: the agent pulls evidence from your own data, you decide what changes, and git shows you exactly what it touched. Gemini CLI fits that split well. It talks to remote MCP servers over HTTP, handles the OAuth sign-in itself, and asks before it writes a file. One honest note before the setup. The Gemini app at gemini.google.com has custom MCP connectors for a limited group of users, but GSC Magic does not support connecting from the Gemini app yet, so this guide covers Gemini CLI only. What do you need before you connect Gemini CLI? You need a working Gemini CLI install, a GSC Magic account with at least one imported Search Console property, and a machine that can open a browser for the sign-in. Without the imported property the agent will connect and then report that it sees no sites. 1. Gemini CLI access. Google announced in May 2026 that Gemini CLI is transitioning to Antigravity CLI https://developers.googleblog.com/an-important-update-transitioning-gemini-cli-to-antigravity-cli/ . From June 18, 2026 it stopped serving Google AI Pro, Ultra and free individual users. It stays available with paid Gemini API keys and with Gemini Code Assist Standard or Enterprise licenses. If you sign in with a personal Google account, check that notice first. 2. A GSC Magic account. Create one free https://app.gscmagic.com/login?mode=signup , connect Google and import the property you want to analyze. The Free plan covers 1 site with 200 tool calls a month and 10 a day. Pro is $19 a month for 10 sites and no call limit, and new accounts get a 7-day Pro trial. Details are on the pricing page https://gscmagic.com/pricing . 3. A local browser. Gemini CLI’s OAuth flow opens a browser and waits for a redirect on localhost, so it does not work over plain SSH or inside a headless container. There is a token fallback for that case below. How do you add GSC Magic to Gemini CLI? Pick one of two routes: a single gemini mcp add command, or the GSC Magic extension, which adds the same server plus a context file with tool guidance. Both end with a sign-in inside Gemini CLI. Route 1: the command. Run this once: gemini mcp add --transport http --scope user gsc-magic https://mcp.gscmagic.com/mcp --scope user writes the server to ~/.gemini/settings.json , so it works in every project. Without it, Gemini CLI saves to the project’s .gemini/settings.json and the server only exists in that folder. Route 2: the extension. Run: gemini extensions install https://github.com/lumizone/gsc-magic-agent-plugin The extension registers the same endpoint and ships a GEMINI.md that tells the model which tool to use for which question, that Search Console lags a few days, and that write tools need your explicit go-ahead. Sign in. Start gemini and type /mcp . If GSC Magic still needs authentication, follow the sign-in prompt or run /mcp auth gsc-magic , log in with Google or e-mail in the browser tab that opens, and allow access. Gemini CLI discovers the sign-in from the server, registers itself as a client and stores the token in ~/.gemini/mcp-oauth-tokens.json . The Gemini CLI MCP documentation https://geminicli.com/docs/tools/mcp-server describes this flow. No browser available? Create an access token in the GSC Magic dashboard https://app.gscmagic.com under Connect, then add the server with a header instead: gemini mcp add --transport http --scope user -H "Authorization: Bearer gsm YOUR TOKEN" gsc-magic https://mcp.gscmagic.com/mcp Keep the server name gsc-magic with a hyphen. Gemini CLI names tools mcp