# Manage sitemaps and indexing with Cursor

> Check noindex and sitemap flags from Cursor with StoreSEO, change them one resource at a time and set up an HTML sitemap beside your theme code.

Managing sitemaps and indexing with Cursor means using the editor's agent chat to read StoreSEO's sitemap, noindex and nofollow flags for your Shopify resources, change them one resource at a time after your yes, and set up an HTML sitemap while the theme's Liquid files are open beside it.

## How do you set up Cursor for this?

### 1. Add StoreSEO to mcp.json

Put this in ~/.cursor/mcp.json to use StoreSEO in every project, or in .cursor/mcp.json inside one theme project. In the StoreSEO app's setup guide the same JSON goes into Settings, Tools and MCP, New MCP server.

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

### 2. Sign in to your store

Open Cursor's MCP settings (the Customize page in current versions), find storeseo and sign in when Cursor asks. A browser window opens: pick your Shopify store and approve access.

```text
Use StoreSEO to show me my store's SEO score breakdown.
```

### 3. Switch off four StoreSEO tools

StoreSEO has 44 tools and Cursor stops at about 40 active ones across all servers. In the storeseo entry in Cursor's MCP settings, turn off at least four you do not need. The four rank and competitor lookups are a good first choice if you are not on Pro.

```text
storeseo_list_rank_locations
storeseo_list_rank_languages
storeseo_add_competitors
storeseo_delete_competitor
```

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

If you cannot use the browser sign-in, generate a token in StoreSEO under Settings, AI Toolkit and add it as a header. Cursor can read it from an environment variable so the token stays out of the file.

```json
{
  "mcpServers": {
    "storeseo": {
      "url": "https://mcp.storeseo.com/mcp",
      "headers": {
        "Authorization": "Bearer ${env:STORESEO_TOKEN}"
      }
    }
  }
}
```

Then ask: "Use StoreSEO to list my pages and collections that are noindex or excluded from the sitemap, then grep this theme for robots meta tags that could conflict."

## How does this work in Cursor?

You open the agent chat in the project that holds your Shopify theme and ask which of your pages and collections are noindex. Cursor calls storeseo_start and then storeseo_list_resource_sitemaps, and each call appears in the chat as a tool block you can expand to see its arguments and the raw response. By default Cursor asks for approval before an MCP tool runs, so even a read may wait for you to press run until you allow it. The answer is a plain list of resources with their sitemap, noindex and nofollow flags, and because the theme is open, you can ask the same chat to search the templates for robots meta tags that would override what StoreSEO sets.

To change a flag, name the resource. Cursor says which flags it will set and waits for your yes in the chat, then calls storeseo_update_resource_sitemap, which writes the matching Shopify metafields for that one resource. It lists the resource again afterwards so you see the stored state. The two checks sit at different layers: the yes is an instruction StoreSEO gives the agent, and Cursor's run prompt on the tool call is the hard stop, so a noindex change has to pass both unless you have set the tool to run without asking.

For the HTML sitemap, Cursor reads storeseo_get_html_sitemap_settings, calls storeseo_update_html_sitemap to generate and enable the page, then storeseo_list_sitemap_menus for the menu edit links. Adding the link to a menu is your step in Shopify admin. If you later want the page styled to match the theme, that is a normal edit in the open project, and you can ask Cursor to make it in the same chat.

### Example session (illustrative)

**You:** Which of my collections are noindex or out of the sitemap?
→ `storeseo_start` (read-only)
→ `storeseo_list_resource_sitemaps` (read-only)
**Agent:** Test Bundles is live in the sitemap with noindex off, and Wholesale Only is noindex. Do you want Test Bundles set to noindex and excluded from the sitemap?
**You:** Yes, Test Bundles only.
→ `storeseo_update_resource_sitemap` (needs approval)
→ `storeseo_list_resource_sitemaps` (read-only)
**Agent:** Test Bundles is now noindex and excluded. Wholesale Only is unchanged.

## What StoreSEO does: sitemaps and indexing

StoreSEO controls two things here: per-resource sitemap flags (left out of the XML sitemap, noindex, nofollow) and an HTML sitemap page. The agent lists flags, changes them one resource at a time and walks you through the HTML sitemap setup.

Tools: `storeseo_list_resource_sitemaps`, `storeseo_update_resource_sitemap`, `storeseo_get_html_sitemap_settings`, `storeseo_update_html_sitemap`, `storeseo_list_sitemap_menus`

1. **List the flags.** The agent lists products, collections, pages or articles with their sitemap, noindex and nofollow flags, filtered as you ask.
2. **Change one resource.** After your yes it sets the flags on one resource, which writes the matching Shopify metafields.
3. **Re-read before reporting.** Flags can also change in the StoreSEO app, so the agent re-lists before telling you the current state.
4. **Create the HTML sitemap.** It reads the HTML sitemap settings, then generates and enables the page.
5. **Add it to a menu.** It lists your navigation menus with their edit links; you add the sitemap link to a menu in Shopify admin, then the agent marks setup complete.

## Sitemaps and indexing reference

| Setting or limit | What applies |
|---|---|
| Flags per resource | Excluded from sitemap, noindex, nofollow |
| Resource types | Products, collections, pages and articles |
| Where flags live | Shopify metafields on the resource |
| HTML sitemap steps | Generate and enable, add the link to a menu yourself, mark complete |
| HTML sitemap settings | Replaced wholesale on update; read first |
| Menus | Listed with edit links; the menu you choose is not stored |
| Plan | Every active plan |

## Rules Cursor follows

- A noindex flag removes a page from search results, so the agent names the resource and waits for your yes.
- The agent re-lists flags in the same turn before telling you their current state.
- Adding the sitemap link to a menu is a step you do in Shopify admin; no tool does it.
- HTML sitemap settings are read before every update, because an update replaces them.

**In Cursor:** StoreSEO has 44 tools and Cursor allows about 40 active tools across all your servers, so you have to switch some off in Cursor's MCP settings. The sitemap job needs five of them: storeseo_list_resource_sitemaps, storeseo_update_resource_sitemap, storeseo_get_html_sitemap_settings, storeseo_update_html_sitemap and storeseo_list_sitemap_menus. If the agent says it has no tool for sitemap flags, one of these is probably the one you turned off. Keep the two update tools on Cursor's ask setting, since a noindex write is hard to notice later.

## What can you ask Cursor to do?

- Use StoreSEO to list my pages and collections that are noindex or excluded from the sitemap, then grep this theme for robots meta tags that could conflict.
- Exclude the collection Test Bundles from the sitemap and set it to noindex. Ask me before you run the update.
- Set up the HTML sitemap with StoreSEO, list my menus with their edit links and tell me which one to add the link to.
- Which of my products are set to noindex or excluded from the sitemap?
- Exclude the product Gift Card Test from the sitemap and set it to noindex.
- Set up an HTML sitemap for my store and tell me which menu to add it to.
- Are any of my blog posts set to nofollow?
- Remove noindex from the page About Us.

## Frequently asked questions

### Why does Cursor say it cannot change sitemap flags in StoreSEO?

Cursor allows about 40 active tools and StoreSEO has 44, so you turn some off. Check that storeseo_update_resource_sitemap is still enabled in Cursor's MCP settings, along with the list tool for sitemap flags.

### Can Cursor find noindex tags in my theme as well?

Yes. Cursor reads the project you have open, so it can search Liquid templates for robots meta tags while StoreSEO reports the flags it has set. StoreSEO does not edit theme files itself.

### What is the difference between excluding a page from the sitemap and noindex?

Excluding a resource leaves it out of your XML sitemap, so crawlers are not pointed at it. Noindex tells search engines not to show the page in results even if they find it. StoreSEO sets each flag separately per resource.

### Can the agent add the HTML sitemap to my menu?

No. The agent generates the HTML sitemap and lists your menus with their edit links, and you add the sitemap link to a menu in Shopify admin. Then the agent can mark setup complete.

### Do sitemap tools need a paid plan?

No. The sitemap tools work on every active StoreSEO plan.

### Why does the agent check the flags again before answering?

Sitemap flags can also be changed in the StoreSEO app outside the conversation, so an earlier listing may be stale. Re-reading in the same turn keeps the answer accurate.

## Sitemaps and indexing with other agents

- [Manage sitemaps and indexing with Claude](https://storeseo.com/agent/claude/sitemaps)
- [Manage sitemaps and indexing with ChatGPT](https://storeseo.com/agent/chatgpt/sitemaps)
- [Manage sitemaps and indexing with Claude Code](https://storeseo.com/agent/claude-code/sitemaps)
- [Manage sitemaps and indexing with Claude Cowork](https://storeseo.com/agent/claude-cowork/sitemaps)
- [Manage sitemaps and indexing with Codex](https://storeseo.com/agent/codex/sitemaps)
- [Manage sitemaps and indexing with Gemini CLI](https://storeseo.com/agent/gemini-cli/sitemaps)
- [Manage sitemaps and indexing with GitHub Copilot](https://storeseo.com/agent/github-copilot/sitemaps)
- [Manage sitemaps and indexing with Windsurf](https://storeseo.com/agent/windsurf/sitemaps)
- [Manage sitemaps and indexing with Grok](https://storeseo.com/agent/grok/sitemaps)
- [Manage sitemaps and indexing with ChatGPT dots](https://storeseo.com/agent/chatgpt-dots/sitemaps)
- [Manage sitemaps and indexing with Grok Bot](https://storeseo.com/agent/grok-bot/sitemaps)
- [Manage sitemaps and indexing with Muse](https://storeseo.com/agent/muse/sitemaps)
- [Manage sitemaps and indexing with Manus](https://storeseo.com/agent/manus/sitemaps)
- [Manage sitemaps and indexing with OpenClaw](https://storeseo.com/agent/openclaw/sitemaps)
- [Manage sitemaps and indexing with Hermes Agent](https://storeseo.com/agent/hermes-agent/sitemaps)
- [Manage sitemaps and indexing with Paperclip](https://storeseo.com/agent/paperclip/sitemaps)
- [Manage sitemaps and indexing with NanoClaw](https://storeseo.com/agent/nanoclaw/sitemaps)
- [Manage sitemaps and indexing with OpenCode](https://storeseo.com/agent/opencode/sitemaps)
- [Manage sitemaps and indexing with Zed](https://storeseo.com/agent/zed/sitemaps)
- [Manage sitemaps and indexing with Kiro](https://storeseo.com/agent/kiro/sitemaps)
- [Manage sitemaps and indexing with Antigravity](https://storeseo.com/agent/antigravity/sitemaps)
- [Manage sitemaps and indexing with Kimi Code](https://storeseo.com/agent/kimi/sitemaps)

## More Cursor guides

- [Cursor and StoreSEO overview](https://storeseo.com/agent/cursor)
- [Audit your store's SEO with Cursor](https://storeseo.com/agent/cursor/seo-audit)
- [Optimize meta tags and content with Cursor](https://storeseo.com/agent/cursor/optimize-meta)
- [Optimize images and alt text with Cursor](https://storeseo.com/agent/cursor/image-seo)
- [Get products ready for AI search with Cursor](https://storeseo.com/agent/cursor/ai-search-readiness)
- [Publish llms.txt and agents.md with Cursor](https://storeseo.com/agent/cursor/llms-txt-agents-md)
- [Set up structured data with Cursor](https://storeseo.com/agent/cursor/structured-data)
- [Track keyword rankings with Cursor](https://storeseo.com/agent/cursor/keyword-tracking)
- [Read Search Console and Analytics with Cursor](https://storeseo.com/agent/cursor/google-reports)
- [Write SEO blog post drafts with Cursor](https://storeseo.com/agent/cursor/blog-posts)

## Related documentation

- [How to generate an HTML sitemap](https://storeseo.com/docs/how-to-generate-html-sitemap)
- [Choose products to include in the sitemap](https://storeseo.com/docs/how-to-choose-products-to-include-in-sitemap)
- [Store not appearing in Google search results](https://storeseo.com/docs/store-not-appearing-in-google-search-results)

---

Canonical: https://storeseo.com/agent/cursor/sitemaps
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
