Sprites MCP · Shopify MCP server · Claude Code

How to connect Shopify to Claude Code

To connect Shopify to Claude Code, add https://mcp.sprites.ai/mcp as a remote MCP server in Claude Code, sign in to Sprites, and Claude Code can read your Shopify account and propose changes to it. Setup takes about two minutes and needs no API key. Every write comes back as an approval before it touches the account.

MCP server URLhttps://mcp.sprites.ai/mcp

4 steps · about 2 minutes

Claude CodeSprites connected

Which products are missing SEO fields?

Spritesanalyzerunning
SpritesShopify
  • No SEO title61 products
  • No meta description88 products
  • Both set65 products
149 gaps · fill them in one approved runFill them

Add Sprites to Claude Code

Available on Any Claude Code install, on Pro, Max, Team, Enterprise or an API key. You need a Sprites account with Shopify already connected — the connector acts on that connection, so Claude Code never handles a Shopify credential.

Shopify MCP setup guide
  1. Add the server in one line

    Run the command once. --scope user makes Sprites available in every project; leave it off and the server is saved for the current project only, in ~/.claude.json.

    Terminal
    claude mcp add --transport http --scope user sprites https://mcp.sprites.ai/mcp
  2. Or share it with the repo

    To give the whole team the server, add it to .mcp.json at the repository root. Each person still signs in as themselves, and Claude Code asks before it trusts a project server.

    .mcp.json
    {
      "mcpServers": {
        "sprites": {
          "type": "http",
          "url": "https://mcp.sprites.ai/mcp"
        }
      }
    }
  3. Sign in with /mcp

    Start Claude Code, type /mcp, pick sprites and authenticate. The Sprites consent screen opens in your browser; sign in and approve, and the tools load into the session.

    Spriteswants access on behalf of Claude Code
    • Read your connected ad accounts and site data
    • Draft campaigns, creatives and pages for your approval
    • Apply only the changes you approve
    AllowCancel

What permissions this needs

Connecting Shopify to Claude Code yourself means a Shopify Admin API integration, and these are the permissions and gates it runs into. Through Sprites you sign in with OAuth instead, with no developer token or app review of your own.

Admin API access scopes

Per-resource permissions such as read_products, write_products, read_content, write_content and read_reports.

read_orders

Order data. Shopify treats it as protected customer data and limits it to the last 60 days by default.

Custom app and access token

The do-it-yourself route: an app you create in the Shopify Dev Dashboard, with its own client credentials and token.

What Sprites asks for when you connect

The Sprites AI app from the Shopify App Store, granted read_products, write_products, read_content, write_content, read_orders, read_reports and read_publications.

What you skip

You create no custom app and copy no Admin API token. If you prefer your own app, Sprites takes its client ID and secret instead. Claude Code signs in to Sprites with OAuth and never holds a Shopify credential.

Official Shopify MCP vs Sprites MCP

Shopify runs its own MCP server at claude.ai/directory/connectors/shopify. Here is what each one covers, so you can pick the one that fits in Claude Code — or connect both.

Shopify publishes its own connector in Claude’s directory, approved from your Shopify admin. It creates and updates products, collections and inventory, creates percentage-off discount codes, and reads orders, customers and analytics. It cannot edit a live theme, change store settings, issue refunds or cancel orders, and batch status changes stop at 50 items. Separately, every store exposes a public Storefront MCP endpoint for shoppers’ agents.

Shopify’s official Shopify connector for Claude compared with the Sprites MCP server
Shopify officialclaude.ai/directory/connectors/shopifySprites MCPapproval-gated
Products and inventoryCreates and updates products, prices, SKUs and stock levelsReads them; writes product descriptions and SEO fields, never prices or stock
Orders and customersRead onlyNot read; Sprites works on the catalogue and content
Catalogue-wide SEOOne product at a time; batches stop at 50SEO titles and descriptions across every product in one approved run
Content and SEOProduct titles and descriptionsPages, blog posts, product copy and metadata, written for search
Before a change appliesApplied when the tool is called, within the access you approvedDrafts and diffs you approve; publishing is a separate click

If you want to update products, stock and discount codes from a chat, Shopify’s own connector does exactly that. Use Sprites when the job is search and content: SEO fields across the whole catalogue, collection pages and blog posts written to rank, and product copy in the store’s voice — with nothing touching prices or inventory, and every change approved first.

Run the first prompt

Ask Claude Code this. It routes to a Sprites door, which reads your Shopify account and answers — no account to name, no confirmation to give first.

  • With Sprites, which of our products are missing SEO titles or meta descriptions?
  • Ask Sprites to list every product in the summer collection with price and inventory.
  • Use Sprites to create a collection page for "gifts under $50" and draft it in Shopify.
  • Have Sprites rewrite the product descriptions in the summer collection.
  • With Sprites, build Meta creative from our three best-selling SKUs.

Run claude mcp list, or type /mcp in a session. Sprites shows as connected, and asking "what can Sprites do?" lists the doors.

What Claude Code can do with Shopify

The same doors, whichever client you are in. The ad account and the code that tracks it in one terminal: Claude Code can read a conversion drop through Sprites, then open the tag or the event that explains it.

SEO for every product at once

Missing SEO titles and meta descriptions written across the whole catalogue in one approved run, with any failures listed for a retry.

Read the whole catalogue

Every product, variant and collection, uncapped, and filterable by tag, collection, status or sales channel.

Publish collection pages

Manual or tag-based smart collections with descriptions and SEO fields, proposed for your approval.

Refresh product copy at scale

Descriptions rewritten in the store’s voice, proposed as a set you review before anything lands.

Creative from real products

Ads built from the actual catalogue — price, variant, image — rather than a model's guess at your range.

Store blog without a second tool

Posts drafted into the Shopify blog through the same connector as everything else.

How approvals work here

Claude Code renders tool results as text, so a Shopify change comes back written out rather than as a card. The approval waits for you in Sprites — open it there and the same run continues. Nothing is applied until you approve it.

What it reads

  • Products, variants, collections, inventory and pricing
  • The sales channels each product is published on
  • Store pages, blog posts and their SEO metadata

What it can change

  • Collection and landing pages, and store blog posts
  • Product descriptions, SEO titles, meta descriptions, tags and status
  • Never prices or inventory, and nothing without an approval

When it does not work in Claude Code

Three things go wrong in this client specifically, and each has a one-line fix.

The .mcp.json entry is ignored.

It has a url but no "type": "http", so Claude Code reads it as a local command server. Add the type.

claude -p or a script fails with an auth error.

A headless run cannot open the browser sign-in. Authenticate once in an interactive session with /mcp; the stored grant then works headless.

A long report comes back cut off.

Claude Code caps MCP output at 25,000 tokens by default. Raise MAX_MCP_OUTPUT_TOKENS, or ask Sprites for a shorter summary.

Shopify and Claude Code: questions

Which URL do I paste into Claude Code?

https://mcp.sprites.ai/mcp. There is one endpoint and every client uses it — every OAuth grant is bound to exactly that address, so a variant of it will not be honoured.

Can Claude Code change my Shopify account without asking?

Claude Code renders tool results as text, so a Shopify change comes back written out rather than as a card. The approval waits for you in Sprites — open it there and the same run continues. Nothing is applied until you approve it.

Do I need a Shopify API key or developer token?

No. Shopify is connected once inside Sprites through Shopify Admin, and the connector acts on that connection. You create no custom app and copy no Admin API token. If you prefer your own app, Sprites takes its client ID and secret instead. Claude Code never sees a credential for it.

Why Claude Code for Shopify specifically?

The ad account and the code that tracks it in one terminal: Claude Code can read a conversion drop through Sprites, then open the tag or the event that explains it.

Is there an official Shopify MCP server?

Several. Every store answers at {shop}.myshopify.com/api/mcp with no authentication, for catalogue search, carts and policies. For merchants, Shopify’s own connector for Claude creates and updates products, collections, inventory and percentage discounts, and reads orders, customers and analytics. Sprites is separate: it works on your catalogue’s SEO and content, and never on prices or stock.

Do I need a Shopify Partner account?

No. Install Sprites AI from the Shopify App Store and the store connects with nothing to set up. To use your own app instead, create it in Shopify’s Dev Dashboard and enter its Client ID and secret in Sprites.

Keep going

The same Claude Code connector reaches every other channel — nothing else to add.

All Shopify guides

Shopify, from Claude Code

Paste one URL, sign in once, and the next Shopify question you ask Claude Code gets answered from the live account.