# Set up structured data with GitHub Copilot

> In VS Code, ask Copilot Agent mode to list StoreSEO schema types, read their settings and update them, with VS Code's tool confirmation before each write.

Setting up structured data with GitHub Copilot means asking Agent mode in VS Code to call the StoreSEO tools that list your Shopify store's JSON-LD types, read a type's settings and write them back, with VS Code's confirmation dialog in front of the write.

## 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 list which JSON-LD schema types are enabled and which ones take settings."

## How does this work in GitHub Copilot?

You have the theme workspace open in VS Code with Copilot Chat in Agent mode, and the storeseo server started from .vscode/mcp.json. You ask which schema types are on for the store. Agent mode calls storeseo_start and storeseo_list_schema_types, and VS Code shows a confirmation card for each tool call, with the arguments visible and a choice to allow it once, for the session or for the workspace. For the read tools, allowing them for the session keeps an audit quick.

To set up local business schema, the agent calls storeseo_get_schema_settings, takes the field template and asks you for what it lacks. Because it sits in your workspace it can read the theme's footer and contact templates to propose values, and it should present them for you to correct. Organization and local business share basic information, so one set of answers fills both. You then confirm storeseo_update_schema_settings, and the card shows the full settings object that will be sent, which is the thing to read before you click continue.

A workspace-level server file brings one practical point. A .vscode/mcp.json committed to the repository is shared with your team, so a colleague who opens the project gets the same StoreSEO server, and each person signs in to the store themselves. Decide among you who is allowed to approve schema updates, since the change goes to the live storefront rather than to the repository, and a pull request review will not catch it. Agreeing that in advance saves an awkward surprise later.

### Example session (illustrative)

**You:** List my schema types, then read the local business settings.
→ `storeseo_start` (read-only)
→ `storeseo_list_schema_types` (read-only)
→ `storeseo_get_schema_settings` (read-only)
**Agent:** Local business schema is off and its settings are empty. The footer template has an address and phone I can use. Do you want me to save those and enable it?
**You:** Yes, save them and enable it.
→ `storeseo_update_schema_settings` (needs approval)

## What StoreSEO does: structured data (json-ld)

StoreSEO adds JSON-LD schema to your storefront so search engines and AI assistants can read your products, business and FAQs as data. The agent lists every schema type, reads a type's settings and its field template, and sends back a complete settings object.

Tools: `storeseo_list_schema_types`, `storeseo_get_schema_settings`, `storeseo_update_schema_settings`

Requires: The FAQ schema types need the FAQ Schema feature in your plan.

1. **List the schema types.** The agent lists every type with whether it is on and whether it takes settings. Configurable types are product, review, sale dates, product merchant, organization and local business.
2. **Read before writing.** For a configurable type it reads the current settings and the field template, because an update replaces the whole settings object rather than merging into it.
3. **Fill in your details.** Business name, address, contact details and similar fields come from you. Organization and local business share the same business information, so changing one changes both.
4. **Switch it on.** After your yes the agent sends the complete settings with the status. Organization, local business and product merchant need complete settings to be enabled.

## Structured data (JSON-LD) reference

| Setting or limit | What applies |
|---|---|
| Configurable types | Product, review, sale dates, product merchant, organization, local business |
| Toggle-only types | Every other type, including the four FAQ types |
| Update behaviour | Settings replace the stored object; read first, then send the full object |
| Dependencies | Review, sale dates and product merchant need product schema on; disabling product also disables product merchant |
| Shared data | Organization and local business share basic business information |
| FAQ types | Product, collection, article and page FAQ need the FAQ Schema feature in your plan |
| Sale dates | Also needs a discount permission that only the app's own Sale Dates toggle can request |

## Rules GitHub Copilot follows

- The agent reads the current settings before every settings update, because the update replaces them wholesale.
- Business details come from you; the agent does not invent an address, phone number or opening hours.
- Turning a schema type on or off changes your live storefront markup, so the agent confirms the change first.
- When a type is refused for a missing plan feature or dependency, the agent says which one rather than retrying.

**In GitHub Copilot:** A schema update goes to your live storefront, not to the repository, so no pull request or diff review will show it. VS Code's tool confirmation is the hard stop, so choose Allow once rather than for the workspace on storeseo_update_schema_settings. On Copilot Business and Enterprise plans an organization admin must also enable MCP servers in Copilot policy, otherwise the server will not start.

## What can you ask GitHub Copilot to do?

- Use StoreSEO to list which JSON-LD schema types are enabled and which ones take settings.
- Get my organization schema settings from StoreSEO and list every empty field. Ask me for the values before you update anything.
- Enable product schema through StoreSEO. If review schema depends on it, tell me the order you will do it in and wait for my yes.
- Which JSON-LD schema types are enabled on my store?
- Set up organization schema with my business name, logo and contact email. Read the current settings first.
- Turn on product schema and review schema.
- Is local business schema configured? Show me what is missing.
- Enable FAQ schema for products if my plan includes it.

## Frequently asked questions

### Will a schema change from Copilot appear in my git diff?

No. storeseo_update_schema_settings changes the schema configuration held by StoreSEO for your live store, so nothing in the workspace changes. Only edits to theme files show up in git.

### Do my teammates need to sign in separately if .vscode/mcp.json is committed?

Yes. The file shares the server definition, not your credentials, so each person opens MCP: List Servers, starts storeseo and signs in with their own Shopify access.

### What schema types can StoreSEO add to my store?

StoreSEO manages product, review, sale dates, product merchant, organization and local business schema with settings, plus toggle-only types such as the FAQ types for products, collections, articles and pages.

### Why does the agent read my schema settings before changing them?

A settings update replaces the whole stored object instead of merging. Reading first and sending back the complete object is the only way to change one field without wiping the others.

### Why was review schema refused?

Review, sale dates and product merchant schema depend on product schema. Turn product schema on first, then enable the dependent type.

### Do I need a particular plan for FAQ schema?

Yes. The four FAQ schema types need the FAQ Schema feature in your StoreSEO plan. Without it, any change to them is refused with a message saying the feature is not in your plan.

## Structured data (JSON-LD) with other agents

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

## 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 meta tags and content with GitHub Copilot](https://storeseo.com/agent/github-copilot/optimize-meta)
- [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)
- [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

- [Customize JSON-LD](https://storeseo.com/docs/customize-json-ld)
- [Local SEO and schema markup in Shopify](https://storeseo.com/docs/local-seo-to-enable-schema-markups-in-shopify)
- [Add FAQ schema to Shopify products](https://storeseo.com/docs/add-faq-schema-to-your-shopify-products)

---

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