# Get products ready for AI search with Gemini CLI

> Use Gemini CLI to scan a product description for AI shopping agents, answer StoreSEO's questions in the terminal and rewrite it, with tool confirmation left on.

Getting products ready for AI search with Gemini CLI means using Google's terminal agent to scan a Shopify product's description through StoreSEO, answer the questions it returns at the prompt, and have StoreSEO write an agent-ready description from your facts.

## How do you set up Gemini CLI for this?

### 1. Add StoreSEO to Gemini CLI

Run this in any terminal. The user scope writes the server to ~/.gemini/settings.json so every project sees it. Without --scope user the command writes to the current project's .gemini/settings.json.

```bash
gemini mcp add --scope user --transport http storeseo https://mcp.storeseo.com/mcp
```

### 2. Sign in to your store

Start gemini. The first time it calls StoreSEO it opens your browser: pick your Shopify store and approve access. If the window does not open, type /mcp auth storeseo inside Gemini CLI. Then gemini mcp list should show storeseo as connected.

```text
/mcp auth storeseo
```

### 3. Or edit settings.json (optional)

Add this to ~/.gemini/settings.json for every project, or to .gemini/settings.json in one project. It is the entry gemini mcp add writes: url plus type set to http. The docs page still shows the older httpUrl key for streamable HTTP.

```json
{
  "mcpServers": {
    "storeseo": {
      "url": "https://mcp.storeseo.com/mcp",
      "type": "http"
    }
  }
}
```

### 4. Or connect with an access token (optional)

On a headless machine the browser sign-in cannot run. Generate a token in StoreSEO under Settings, AI Toolkit and pass it as a header. Keep the token out of version control.

```bash
gemini mcp add --scope user --transport http \
  --header "Authorization: Bearer YOUR_TOKEN" \
  storeseo https://mcp.storeseo.com/mcp
```

Then ask: "Scan the description of Ceramic Pour Over for AI shopping agents. Print each StoreSEO question exactly as returned and wait for my answers."

## How does this work in Gemini CLI?

You run gemini in a terminal and the storeseo server is already added with gemini mcp add, either for the project or for your user. You ask: scan the description of my Ceramic Pour Over for AI shopping agents. Gemini CLI calls storeseo_start, then storeseo_get_resource_seo, which returns the GEO block and shows whether the product has a focus keyword. If it does not, the scan will not run and the agent should tell you to set one in the StoreSEO app, because no tool here can set it. Then storeseo_scan_product_description scores seven pillars and returns the questions.

A terminal is a plain place to answer questions. Gemini CLI should print each question as StoreSEO wrote it, in order, and wait. Where a field comes with options, such as a Shopify category attribute, pick one or give your own value; where it carries a suggested value, it comes from what you saved in Shopify or from the current description, so confirm or change it. You type the answers in one reply and the agent passes them to storeseo_write_product_description. Gemini CLI shows a confirmation for the tool call, which is separate from the yes you give in the conversation, and the second one is the hard stop.

The write replaces the live description in Shopify immediately, with no undo and no revision history, and the response returns the old text once. Ask Gemini CLI to print it or save it to a file in your working folder straight after the write. If you only want the FAQs and AI snippet, use storeseo_preview_resource_optimization and storeseo_apply_resource_optimization instead, which show a draft and projected GEO score first.

### Example session (illustrative)

**You:** Scan the description of Ceramic Pour Over for AI shopping agents.
→ `storeseo_start` (read-only)
→ `storeseo_scan_product_description` (preview)
**Agent:** The description is missing materials, dimensions and what is included. StoreSEO asks: What is the dripper made of, and how wide is it?
**You:** Stoneware, 12 cm wide, and it comes with 40 paper filters.
**Agent:** Writing replaces the live description now, with no undo in StoreSEO. I will save the old text to old-description.html. Write it?
**You:** Yes.
→ `storeseo_write_product_description` (needs approval)

## What StoreSEO does: ai search readiness

GEO is StoreSEO's AI readiness score for products. The agent reads which GEO criteria fail, fixes the ones a tool can fix (FAQs, AI snippet, alt text, product schema), and can rewrite a thin description from your own answers to StoreSEO's questions.

Tools: `storeseo_get_resource_seo`, `storeseo_update_schema_settings`, `storeseo_preview_resource_optimization`, `storeseo_apply_resource_optimization`, `storeseo_scan_product_description`, `storeseo_write_product_description`

Requires: FAQs, AI snippets and descriptions spend AI Content Optimizer credit. The product needs a focus keyword, set in the StoreSEO app, before a description scan or rewrite.

1. **Read the GEO checklist.** The agent reads the product's GEO block: the score and every AI-readiness criterion that passes or fails.
2. **Turn on product schema if it is off.** Product JSON-LD is a shop-wide setting, so enabling it clears that criterion for every product at once. If you then decide not to apply the rest, the agent switches back off only the schema it turned on.
3. **Preview FAQs and the AI snippet.** The preview generates FAQs and an AI snippet (summary, benefits, best for) and projects the new SEO and GEO scores without saving.
4. **Scan the description.** For a thin or missing description, StoreSEO scores it on seven pillars (identity, materials, dimensions, features, use cases, what is included, care) and returns questions. The agent asks you each one, word for word.
5. **Write and apply.** With your answers, StoreSEO writes the description and saves it immediately; the response holds the only copy of the old text. The previewed FAQs and snippet are applied after your yes.

## AI search readiness reference

| Setting or limit | What applies |
|---|---|
| Scope | Products only; collections, pages and articles have no GEO score |
| Fixable by tools | FAQs, AI snippet, image alt text, product schema, description |
| Fixed only in the app or admin | Product title, category, product type, image count, inventory, variant barcode, SKU, price, image |
| Description pillars | Identity, materials, dimensions, features, use cases, what is included, care |
| Description write | Saved immediately to Shopify and StoreSEO; no undo and no revision history |
| Old description | Returned once in the write response, the only remaining copy |
| Product schema | Shop-wide toggle; credits the schema criterion on every product |
| Prerequisite | A focus keyword on the product, set in the StoreSEO app |

## Rules Gemini CLI follows

- The scan's questions go to you word for word and in order; the agent does not answer them for you.
- A description is only written without questions when you decline to answer or authorize a bulk run without them.
- Writing a description replaces the current one at once with no undo, so the agent asks first and keeps the old text the response returns.
- If the agent enabled product schema for this flow and you stop before applying, it turns that schema back off; it never disables a schema you already had on.
- Criteria only you can fix get one link to the product's fix page, not a link per criterion.

**In Gemini CLI:** Do not set --trust or trust: true on the storeseo server. Trust skips every tool confirmation in Gemini CLI, and then the confirmation StoreSEO asks for in the chat is the only check, which is a poor trade for a tool that saves a description with no undo. The browser sign-in needs a browser on the same machine, so over SSH or in a headless session use the access token header. gemini mcp add defaults to project scope, and Google's site says Antigravity CLI replaced Gemini CLI for some accounts, so check which agent your account can use.

## What can you ask Gemini CLI to do?

- Scan the description of Ceramic Pour Over for AI shopping agents. Print each StoreSEO question exactly as returned and wait for my answers.
- After you write the new description, save the previous description to old-description.html in this folder.
- Which of my products lack a focus keyword, so that a description scan would not run?
- Which of my products have the lowest GEO score, and what is missing for AI shopping agents?
- Make the product Merino Beanie ready for AI search: FAQs, AI snippet and product schema. Preview first.
- Scan the description of my best seller for AI agents and ask me the questions it needs.
- Rewrite the description of Ceramic Pour Over from my answers. Keep a copy of the old one for me.
- Is product JSON-LD schema enabled on my store? If not, explain what turning it on changes.

## Frequently asked questions

### Does Gemini CLI answer StoreSEO's description questions for me?

It should not. StoreSEO tells the agent to put each question to you word for word and in order, and your answers become stated facts in the new description. If you decline to answer, the agent can skip the questions at your request.

### How do I keep the old product description after a Gemini CLI rewrite?

StoreSEO returns the previous description once in the write response and keeps no backup. Ask Gemini CLI to save it to a file in your working folder before you move on, since it is the only remaining copy.

### What is a GEO score in StoreSEO?

GEO is StoreSEO's AI readiness score for products. It measures how well a product can be understood by AI shopping agents and generative search, using criteria such as FAQs, an AI snippet, image alt text, product schema and the quality of the description.

### Can I undo a rewritten product description?

Not inside StoreSEO. The new description is saved immediately and StoreSEO keeps no revision history. The response returns the previous description once, so ask the agent to keep it for you before it writes.

### Why does the agent ask me questions before writing a description?

StoreSEO scans the description on seven pillars and returns questions for the facts it cannot infer, such as materials or what is in the box. Your answers become stated facts in the new copy instead of guesses.

### Does enabling product schema affect every product?

Yes. Product JSON-LD is a shop-wide setting, so turning it on clears that criterion for every product at once, and turning it off removes it everywhere.

## AI search readiness with other agents

- [Get products ready for AI search with Claude](https://storeseo.com/agent/claude/ai-search-readiness)
- [Get products ready for AI search with ChatGPT](https://storeseo.com/agent/chatgpt/ai-search-readiness)
- [Get products ready for AI search with Claude Code](https://storeseo.com/agent/claude-code/ai-search-readiness)
- [Get products ready for AI search with Claude Cowork](https://storeseo.com/agent/claude-cowork/ai-search-readiness)
- [Get products ready for AI search with Cursor](https://storeseo.com/agent/cursor/ai-search-readiness)
- [Get products ready for AI search with Codex](https://storeseo.com/agent/codex/ai-search-readiness)
- [Get products ready for AI search with GitHub Copilot](https://storeseo.com/agent/github-copilot/ai-search-readiness)
- [Get products ready for AI search with Windsurf](https://storeseo.com/agent/windsurf/ai-search-readiness)
- [Get products ready for AI search with Grok](https://storeseo.com/agent/grok/ai-search-readiness)
- [Get products ready for AI search with ChatGPT dots](https://storeseo.com/agent/chatgpt-dots/ai-search-readiness)
- [Get products ready for AI search with Grok Bot](https://storeseo.com/agent/grok-bot/ai-search-readiness)
- [Get products ready for AI search with Muse](https://storeseo.com/agent/muse/ai-search-readiness)
- [Get products ready for AI search with Manus](https://storeseo.com/agent/manus/ai-search-readiness)
- [Get products ready for AI search with OpenClaw](https://storeseo.com/agent/openclaw/ai-search-readiness)
- [Get products ready for AI search with Hermes Agent](https://storeseo.com/agent/hermes-agent/ai-search-readiness)
- [Get products ready for AI search with Paperclip](https://storeseo.com/agent/paperclip/ai-search-readiness)
- [Get products ready for AI search with NanoClaw](https://storeseo.com/agent/nanoclaw/ai-search-readiness)
- [Get products ready for AI search with OpenCode](https://storeseo.com/agent/opencode/ai-search-readiness)
- [Get products ready for AI search with Zed](https://storeseo.com/agent/zed/ai-search-readiness)
- [Get products ready for AI search with Kiro](https://storeseo.com/agent/kiro/ai-search-readiness)
- [Get products ready for AI search with Antigravity](https://storeseo.com/agent/antigravity/ai-search-readiness)
- [Get products ready for AI search with Kimi Code](https://storeseo.com/agent/kimi/ai-search-readiness)

## More Gemini CLI guides

- [Gemini CLI and StoreSEO overview](https://storeseo.com/agent/gemini-cli)
- [Audit your store's SEO with Gemini CLI](https://storeseo.com/agent/gemini-cli/seo-audit)
- [Optimize meta tags and content with Gemini CLI](https://storeseo.com/agent/gemini-cli/optimize-meta)
- [Optimize images and alt text with Gemini CLI](https://storeseo.com/agent/gemini-cli/image-seo)
- [Publish llms.txt and agents.md with Gemini CLI](https://storeseo.com/agent/gemini-cli/llms-txt-agents-md)
- [Set up structured data with Gemini CLI](https://storeseo.com/agent/gemini-cli/structured-data)
- [Manage sitemaps and indexing with Gemini CLI](https://storeseo.com/agent/gemini-cli/sitemaps)
- [Track keyword rankings with Gemini CLI](https://storeseo.com/agent/gemini-cli/keyword-tracking)
- [Read Search Console and Analytics with Gemini CLI](https://storeseo.com/agent/gemini-cli/google-reports)
- [Write SEO blog post drafts with Gemini CLI](https://storeseo.com/agent/gemini-cli/blog-posts)

## Related documentation

- [Set up your store for AI brand visibility](https://storeseo.com/docs/set-up-your-store-for-ai-brand-visibility)
- [Generate AI snippets for Shopify products](https://storeseo.com/docs/how-to-generate-ai-snippets-to-shopify-products)
- [Add FAQ schema to Shopify products](https://storeseo.com/docs/add-faq-schema-to-your-shopify-products)
- [Write descriptions with the AI description generator](https://storeseo.com/docs/write-descriptions-with-ai-description-generator)

---

Canonical: https://storeseo.com/agent/gemini-cli/ai-search-readiness
Last updated: October 2026.

Approval: Reads run straight away; StoreSEO tells the agent to preview and wait for your yes before it writes, spends credit or publishes, and your client's tool-approval setting is the hard stop.

Every agent guide: https://storeseo.com/agent · Connect the MCP server: https://storeseo.com/docs/connect-storeseo-mcp-to-your-ai-assistant · Pricing: https://storeseo.com/pricing · Install StoreSEO: https://apps.shopify.com/storeseo
