# Optimize meta tags and content with GitHub Copilot

> Use Copilot Chat in VS Code Agent mode to preview StoreSEO meta titles, descriptions, FAQs and handles for Shopify products, then apply the parts you approve.

Optimizing meta tags and on-page content with GitHub Copilot means using Copilot Chat in Agent mode inside VS Code to have StoreSEO preview generated meta for a product, reading the draft beside your code, and approving the apply step in the editor.

## How do you set up GitHub Copilot for this?

### 1. Add StoreSEO to .vscode/mcp.json

Create or open .vscode/mcp.json in your workspace and paste this. VS Code uses a top-level servers key, not mcpServers, and a remote server needs type http.

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

### 2. Start the server and sign in

Run MCP: List Servers from the Command Palette, pick storeseo and start it. If it asks you to sign in, pick your Shopify store in the browser and approve access. Then open Copilot Chat in Agent mode, check the tools icon lists StoreSEO and ask this.

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

### 3. Or add it from the Command Palette (optional)

Run this command, choose a remote HTTP server, paste https://mcp.storeseo.com/mcp and name it storeseo. VS Code asks where to save it: the workspace shares the entry with your team, your user configuration keeps it to yourself.

```text
MCP: Add Server
```

Then ask: "Use StoreSEO to preview optimized meta for the product merino-beanie. Show me the draft, the projected score and any URL handle change, and wait for my approval."

## How does this work in GitHub Copilot?

You have the theme workspace open in VS Code, the storeseo server listed in .vscode/mcp.json and started from MCP: List Servers, and Copilot Chat switched to Agent mode. You ask for the meta of a product to be improved. Copilot calls storeseo_start, reads the resource with storeseo_get_resource_seo and then calls storeseo_preview_resource_optimization. StoreSEO generates the meta title, description, tags, FAQs, AI snippet and any handle change on its servers and projects the new score. Copilot reads the draft back in the chat, so the text you review is StoreSEO's, not the model's.

VS Code adds its own confirmation to every tool call. In Agent mode it shows a prompt with the tool name and its input, and you can allow it once, for the session, for the workspace or always. That prompt is the hard stop, and the yes you give in the chat is the instruction StoreSEO tells the agent to wait for. For this job use the prompt differently on each tool: allowing the preview once is a way to accept the AI Content Optimizer credit cost, and the apply prompt deserves a read of the arguments, which list the axes being saved and any fields skipped, such as the handle.

Working in the editor means the theme is right there. If the preview proposes a new handle, ask Copilot to search the workspace for links to the old path, or to check whether the product template renders a hard-coded title tag that would override your new meta. A fresh preview spends credit again and the draft lasts an hour, so settle one product before starting the next. Business and Enterprise users may find the server blocked until an admin has enabled MCP servers in Copilot policy.

### Example session (illustrative)

**You:** Preview better meta for the merino-beanie product. A preview spends credit and that is fine.
→ `storeseo_start` (read-only)
→ `storeseo_get_resource_seo` (read-only)
→ `storeseo_preview_resource_optimization` (preview)
**Agent:** The draft raises the score from 35 to 73 with new meta, tags and two FAQs. The handle would change from /beanie-2 to /merino-beanie with a redirect from the old URL. Apply everything?
**You:** Apply the meta and tags only.
→ `storeseo_apply_resource_optimization` (needs approval)
**Agent:** Applied the meta and tags. The FAQs and handle stay in the draft for about an hour. The score is now 66.

## What StoreSEO does: meta tags and on-page content

StoreSEO generates the content server-side: meta title and description, tags, a keyword-led URL handle, FAQs and an AI snippet. The agent shows you the draft and the projected score change before anything is saved, then applies all of it or only the parts you approve.

Tools: `storeseo_get_resource_seo`, `storeseo_preview_resource_optimization`, `storeseo_apply_resource_optimization`, `storeseo_get_ai_optimization_settings`, `storeseo_update_ai_optimization_settings`

Requires: Generating a preview spends AI Content Optimizer credit; applying a preview is free.

1. **Read the current state.** The agent reads the resource's SEO record so it knows which fields exist, which fail and what the preview will add.
2. **Generate a preview.** StoreSEO writes the meta title, description, tags, URL handle, FAQs and AI snippet and projects the new SEO score, plus the GEO score for products. Nothing is saved yet. Preview spends credit whether or not you apply it.
3. **Show you the draft.** The agent presents the generated text and the score change. When the handle changes it shows the old and new URL and tells you a redirect will be created.
4. **Apply what you approve.** After your yes it applies everything, or only the parts you chose, for example the meta but not the FAQs. Skipped fields stay available from the same draft for an hour.
5. **Report the new score.** The apply call returns the recomputed score and the remaining checklist, so the agent tells you what changed and offers the next most useful fix.

## Meta tags and on-page content reference

| Setting or limit | What applies |
|---|---|
| Generated fields | Meta title, meta description, tags, URL handle, FAQs, AI snippet |
| Resource types | Products, collections, pages and articles (collections have no meta tags or tags axis in auto settings) |
| Who writes the copy | StoreSEO, server-side. The agent never authors meta, FAQs or handles itself |
| Cost | Preview spends AI Content Optimizer credit; apply is free; a new preview spends again |
| Draft lifetime | One hour after the preview |
| URL handle | Applying a new handle changes the live URL and creates a redirect from the old one; a handle already in use is dropped automatically |
| Partial apply | Apply a subset of axes, or skip individual fields such as the handle |
| Auto optimization | Optional settings that generate content for newly synced resources; only future syncs, nothing is backfilled |
| Auto settings plan | Configurable on any plan; switching an auto toggle on needs a paid plan and no active trial |

## Rules GitHub Copilot follows

- The agent previews first and applies only after you confirm the previewed content.
- When a handle changes, you see the old URL and the new URL before the apply call, because applying creates a redirect.
- A request like optimize my worst five products authorizes the previews; the agent should remind you that previews spend credit even if you do not apply them.
- Turning on auto optimization spends credit on every future sync, so the agent proposes the exact sections and waits for your yes.
- Product title, focus keyword and description body are not written by this job; the description has its own tool in the AI search job.

**In GitHub Copilot:** VS Code lets you approve a tool for the session, the workspace or always, and Allow always on the apply tool removes the editor's hard stop, leaving only the confirmation StoreSEO asks for in the chat, which is an instruction to the agent and not a lock. Keep storeseo_apply_resource_optimization on a per-call prompt. Also remember the file-format trap: the workspace file uses the servers key, so a snippet copied from a Cursor or Claude guide will not load, and then Agent mode will not list the preview or apply tools at all.

## What can you ask GitHub Copilot to do?

- Use StoreSEO to preview optimized meta for the product merino-beanie. Show me the draft, the projected score and any URL handle change, and wait for my approval.
- Preview a new meta title, description and FAQ for my Summer Dresses collection. Then search this workspace for links to its current handle.
- Apply the meta from that preview, skip the FAQ and the handle, and tell me the new score.
- Optimize the meta title and description for my five lowest-scoring products. Show me the previews before you apply anything.
- Preview a new meta title, description and FAQ for the collection Summer Dresses, and keep the current URL handle.
- Apply the meta from that preview but skip the FAQ.
- Which of my pages have no meta description? Draft one for each and wait for my approval.
- What does StoreSEO optimize automatically for new products right now?
- Turn on automatic meta and alt text for new products only. Tell me what that will spend first.

## Frequently asked questions

### Why does Copilot not list the StoreSEO preview tool in Agent mode?

Check that .vscode/mcp.json uses the servers key and type http, that the server is started in MCP: List Servers, and that the tools icon in the chat includes StoreSEO. On Business and Enterprise plans an admin must also enable MCP servers in Copilot policy.

### Does Copilot apply meta changes to my code?

No. The apply tool saves the SEO fields to your Shopify store through StoreSEO. Copilot edits files in your workspace only when you separately ask it to, for example to remove a hard-coded title tag in the theme.

### Does previewing an optimization change my product?

No. A preview generates the content and projects the score without saving anything. It does spend AI Content Optimizer credit, and applying the draft afterwards is free.

### What happens to the old URL when the handle changes?

Applying a new URL handle updates the live URL and StoreSEO creates a redirect from the old one, so existing links keep working. The agent should show you both URLs before it applies the change.

### Can I apply only part of a preview?

Yes. The apply step takes the axes you approved, and individual content fields such as the URL handle can be skipped. Skipped parts stay available from the same draft for one hour.

### Does auto optimization fix my existing products?

No. Auto optimization only acts on resources synced or updated after you turn it on. Existing products are fixed with the preview and apply steps in this job.

### Will StoreSEO change my product title?

No. This job writes the SEO meta title, not the storefront product title. The product title is edited in Shopify admin.

## Meta tags and on-page content with other agents

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

## More GitHub Copilot guides

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

## Related documentation

- [Add a meta description to Shopify products](https://storeseo.com/docs/add-meta-description-to-shopify-products)
- [How to use the AI Content Optimizer](https://storeseo.com/docs/how-to-use-storeseo-ai-content-optimizer)
- [How to enable auto AI optimization](https://storeseo.com/docs/how-to-enable-auto-ai-optimization)
- [AI Content Optimizer credits](https://storeseo.com/docs/credits-ai-content-optimizer)

---

Canonical: https://storeseo.com/agent/github-copilot/optimize-meta
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
