Connect Gemini
Run Content Egg from Gemini with Google Antigravity — the Gemini app itself can't work on your site yet.
The Gemini app (web, mobile and Mac) can't work on your site yet. Its Task mode can open and read public pages, but Google doesn't let it send a login to a website's API, so it can't search products or build pages. Gemini's custom connectors don't help either: they accept only OAuth sign-in, and your site uses an application password.
What does work is Google Antigravity — Google's agent for your own computer, included with Google AI Pro and Ultra (and usable with a free Google account, with a smaller quota). It runs Gemini models, reads your site's agent guide and calls the WordPress REST API with your application password, the same way Claude and ChatGPT do. These steps use the Antigravity CLI (agy), the terminal version.
Before you start, finish Turning on Agent Access so you have your WordPress username and an application password.
1. Install Antigravity and sign in
On macOS or Linux, run this in a terminal:
curl -fsSL https://antigravity.google/cli/install.sh | bashFor Windows and other options, see Google's install page. Then start it with agy. The first time, it opens your browser so you can sign in with your Google account.
2. Give it the guide and your login
Copy your Agent guide link from the AI Agents page and start like this:
Read this guide and follow it when working on my site:
https://YOUR-SITE.com/wp-json/content-egg/v1/agent-guideMy WordPress username isUSERNAMEand the application password isxxxx xxxx xxxx xxxx xxxx xxxx.Using Content Egg, show my active modules and search Amazon for wireless earbuds.
Antigravity asks before it runs each command. Allow the curl requests to your site, and it comes back with your active modules and a few products. See Example prompts & workflows for what to ask next.
Run it on a schedule
In the same conversation, type /schedule followed by the job and when to run it:
/schedule every weekday at 9am, follow the Content Egg agent guide, take the next topic from my list that I haven't covered yet — search my existing posts first — write the article, add a relevant product from Content Egg to each section, and leave it as a draft
The schedule belongs to that conversation, so it already knows your guide and login. Type /tasks to see your schedules or stop one.
Nobody is there to approve a command when a scheduled job runs, so let Antigravity run curl without asking. Add this to ~/.gemini/antigravity-cli/settings.json (keep anything already in the file) and restart agy:
The same advice as for any scheduled job applies: give it a topic queue and tell it to check your existing posts first, decide whether it publishes or leaves drafts, and keep the cadence sane — every run spends your affiliate networks' API quota.
Prefer a permanent connection? (advanced)
Antigravity can also connect over MCP, so you don't paste your login into each conversation. You need the free WordPress MCP Adapter plugin (see Connect Claude for how to install it).
On the AI Agents page, open Other tools → Make a Basic auth token, enter your username and application password, and copy the token.
Put your site in
~/.gemini/config/mcp_config.json, withBasic, a space and the token in theAuthorizationheader:
Restart
agyand ask it to list its Content Egg tools.
If something goes wrong
"Unauthorized" / 401 — use the application password, not your normal login password, and confirm Agent Access is switched on.
A scheduled job did nothing — Antigravity was closed or your computer was asleep at that time, or the job stopped at a command it wasn't allowed to run without asking. Check the
curlrule above.No Content Egg tools (MCP) — check that the MCP Adapter plugin is active, that the token in
mcp_config.jsonstarts withBasicand a space, and restartagy.Requests blocked, 403 or timeouts — a firewall or security plugin may be blocking the requests. See If writes fail but reads work.
It can search but can't build or edit — building and editing require Content Egg Pro.
Last updated