Skip to main content
AI assistants such as Claude, ChatGPT and Codex can work with your store’s Depict data through Depict’s MCP server (MCP, the Model Context Protocol, is the standard these assistants use to connect to other services). A connected assistant can answer questions about your collections, analytics, search and recommendations, and, if you allow it, make changes such as publishing a collection version or editing Boost & Bury rules. Each assistant connects to one store. You approve every connection in the Shopify admin, choose whether it may make changes, and can revoke it at any time.

Limits and behavior

  • Every connection can read. It can make changes only if you allowed Make changes on your behalf when you approved it.
  • An assistant’s changes follow your plan, the same as in the app: for example, collection versions, scheduled publishing and A/B tests are only available to an assistant if your plan includes them. See Your plan.
  • Changes an assistant makes are attributed to the person who approved the connection.
  • A connection lasts as long as you chose when you approved it: 1, 7, 30 or 90 days, or until you disconnect it. A timed connection ends that long after approval, however often it’s used; after that the assistant has to connect again, and you approve it again. A connection kept until you disconnect it never ends on its own.
  • Uninstalling the Depict: Search & Merchandising app ends every assistant connection to the store. Reinstalling the app doesn’t bring them back: connect each assistant again.

Requirements

  • Access to the Depict: Search & Merchandising app in your store’s Shopify admin. The approval screen opens there, so you need to be able to sign in to the store.
  • An assistant that supports remote MCP servers with OAuth sign-in. The steps below cover the ones Depict has verified: Claude.ai, the Claude desktop app, Claude Code, ChatGPT and Codex.

Your endpoint URL

Every store has its own endpoint URL:
You don’t need to build it yourself. Open Settings → Connections in the Depict: Search & Merchandising app and find the AI assistants card:
  • Your MCP endpoint shows the URL with a Copy button.
  • Claude Code shows the full Claude Code command with the URL filled in, also with a Copy button.
  • Codex shows the full Codex command, which adds the server and signs in, with the URL filled in and a Copy button.
  • Setup guide for Claude, ChatGPT and Codex links to this page.
  • Other stores in your multi-store group, shown only for a store in a multi-store group, lists the group’s other stores, each with its endpoint URL and a Copy button.
  • Connected assistants lists the assistants connected to the store.
Use the URL exactly as copied. The store_id part is what ties the connection to your store; without it, the assistant can’t connect.

Connecting an assistant

Whichever assistant you use, connecting works the same way: you give it the endpoint URL, it opens the approval screen in your Shopify admin, you allow it, and it is connected.

Claude.ai and the Claude desktop app

Claude.ai and the Claude desktop app share connectors: a connector added in one is available in the other. Custom connectors work on every Claude plan, but the Free plan allows only one. Who adds the connector depends on your plan:
  • Free, Pro and Max: you add it yourself.
  • Team: an owner or primary owner adds it for the organization.
  • Enterprise: an owner, a primary owner, or someone whose role includes Manage access to Libraries adds it for the organization.
On Team and Enterprise, each person who wants to use Depict still clicks Connect and approves their own connection.
1

Add a custom connector

In Claude, go to Customize → Connectors, click + Add, then Add custom connector. On Team or Enterprise, the person who adds it for the organization goes to Organization settings → Connectors instead and clicks Add, then Custom, then Web.
2

Enter the endpoint

Give the connector a name, for example Depict, paste your endpoint URL and click Continue. Keep the OAuth sign-in Claude detects and leave the OAuth client ID and secret empty. If the dialog asks how Claude should identify itself, choose Register automatically. Then click Add.
3

Connect

Click Connect on the connector in Customize → Connectors. On Team or Enterprise, it’s listed there for everyone in the organization, usually marked Custom. Your browser opens the approval screen in your Shopify admin; see The approval screen.
4

Turn it on in a chat

In a chat, open the + menu, then Connectors, and make sure the Depict connector is on.
The steps follow Anthropic’s custom connector guide, which has the current menu names if they change.

Claude Code

1

Add the server

Copy the command from the Claude Code row of the AI assistants card and run it in your terminal. It looks like this:
Keep the quotes: without them, some shells treat the ? in the URL as a wildcard.
2

Sign in

Start Claude Code, run /mcp, select depict and choose to authenticate. Or run claude mcp login depict in your terminal. Your browser opens the approval screen in your Shopify admin.
3

Allow

Approve the connection (see below). The browser returns to Claude Code, which lists the Depict tools.

ChatGPT

ChatGPT connects to custom MCP servers on chatgpt.com in a browser, not in the mobile apps. You don’t need to turn on Developer mode. Who can add Depict depends on your plan:
  • Business: only a workspace admin or owner.
  • Enterprise and Edu: admins and owners, and members an admin has given the Create plugins with MCPs permission.
  • Pro: you add it yourself, but ChatGPT uses only the tools that read. It can answer questions about your store, not make changes.
On Business, Enterprise and Edu, Depict is private to the person who added it until an admin or owner publishes it for the workspace.
1

Add a custom MCP server

In ChatGPT, open Plugins, click + and choose Add custom MCP server. Give it a name, for example Depict, and paste your endpoint URL under Connection. Choose OAuth as the authentication and leave the client ID and secret empty: ChatGPT registers itself with Depict.
2

Create it and connect

Read the risk warning, check I understand and want to continue and click Create as a plugin. When ChatGPT starts the sign-in, your browser opens the approval screen in your Shopify admin; see The approval screen. After you allow it, you are sent back to chatgpt.com, which lists the Depict tools.
3

Publish it for the workspace

On Business, Enterprise or Edu, an admin or owner publishes Depict from the workspace’s admin console, under Plugins. People in the workspace then find it under Settings → Plugins.
4

Use it in a chat

Start a new chat, type @ and pick Depict. The pick applies to that message, so type @ again when a follow-up needs new data from your store. Naming it in your request helps, for example “Use Depict to list my collections”.
ChatGPT doesn’t pick up new Depict tools by itself. On a workspace, ChatGPT keeps the list of Depict’s tools from when Depict was published. When Depict adds or changes tools, an admin refreshes the tool list in the workspace’s app settings. If a request that works in other assistants fails in ChatGPT, refresh the tool list first. ChatGPT may ask you to confirm before a tool makes changes; read what it is about to send before you confirm. Deep research in ChatGPT can only use the tools that read. The steps follow OpenAI’s guide to custom MCP servers, which has the current menu names if they change.

Codex

The Codex CLI, the Codex IDE extension and the Codex app share one configuration, so adding Depict once makes it available in all of them.
1

Add the server and sign in

Copy the command from the Codex row of the AI assistants card and run it in your terminal. It adds the server, then signs in, and looks like this:
Keep the quotes, as with Claude Code. Your browser opens the approval screen in your Shopify admin. To sign in again later, run codex mcp login depict on its own. In a terminal without a browser, add --no-browser to the login command and follow its instructions.
2

Allow

Approve the connection (see below). The browser returns to Codex, which stores the sign-in. codex mcp list, or /mcp inside Codex, shows the Depict server and its tools.
The steps follow OpenAI’s Codex MCP guide.

Connecting several stores

A connection reaches one store. To use an assistant with several stores, for example one store per region, add one connector or server per store:
  • Endpoint URLs: each store has its own. In a multi-store group, the AI assistants card of any store in the group lists the endpoints of all the others.
  • Names: name each connector after its store, for example Depict DE. In Claude Code and Codex, use a different server name per store:
  • Approval: each connection asks for approval in its own store’s Shopify admin.
  • Expiry: each connection lasts as long as you chose when you approved it, on its own.
With several stores connected in the same chat, you can ask about them together, for example “Compare last week’s collection revenue across our stores”. The assistant asks each store through its own connection and compares the answers.

The approval screen

When an assistant connects, your browser opens the Depict: Search & Merchandising app’s Settings → Connections page inside the Shopify admin, with the connection request at the top of the AI assistants card. If you’re not signed in to the Shopify admin, sign in first; the request waits for 10 minutes. The request reads [name] wants to connect to [store], followed by where approving sends you. Read both before you allow it. The name is what the assistant calls itself. Any program can register under any name, so the name alone doesn’t tell you who is asking. Where approving sends you is the part you can check. When you click Allow, your browser is sent back to the assistant with a one-time code that completes the connection. The screen says where that is: For a website or an app link, the screen adds Only allow if you started this from [name] yourself. If you didn’t just start connecting an assistant, click Cancel: someone may be trying to get access to your store through a link they sent you. Choose what it may do:
  • Read your store’s Depict data (collections, products, analytics) is required and always checked.
  • Make changes on your behalf (publish curation changes, edit rules) is unchecked. Check it only if you want the assistant to make changes.
Choose how long it lasts: Keep this connection for offers 1 day, 7 days, 30 days (selected), 90 days or Until I disconnect it. The line under it says when the connection ends. Pick the shortest time that covers what you need: a connection kept until you disconnect it stays valid until someone disconnects it, even if the person who approved it leaves. Then:
  • Allow connects the assistant, and your browser returns to it. If you already had a connection from the same assistant to this store, the new one replaces it. Other people’s connections are not affected.
  • Cancel declines. Nothing is granted. An assistant on your own computer is told straight away; for a website or an app link, nothing is sent back, and the assistant stops waiting on its own.

What an assistant can do

An assistant connected to Depict gets these tools:
  • overview: a one-page explanation of how Depict models your store (collections and versions, publishing, Boost & Bury, A/B tests, content cards, search, recommendations, analytics). The assistant is asked to read it before its first search.
  • search: looks through the description of the Search & Merchandising API to find the operation that answers a question.
  • execute: runs a short program that reads your store’s data through those operations. It never makes changes.
  • execute_write: the same, but it can also make changes. Only a connection you allowed to make changes gets this tool.
For example, an assistant can:
  • report which collections earned the most last week
  • explain why a product sits where it does
  • compare A/B test results, for one collection or across every collection in one go
  • list every pinned and hidden product across your collections, for one market or market group at a time or for every market of up to 10 named collections at once, and say which of them are sold out or not active
  • read every saved version of up to 25 collections in one go, with each version’s sort, pins, Boost & Bury rules, unpin-when-sold-out setting and hidden products
  • count the products, active products and active products in stock for up to 100 collections in one go, and show the first few (up to 24) in the order your store shows them now
  • list the content cards of up to 50 collections in one go, for the live version or every version, and report the clicks on each card over a period, for example a weekly report of which content cards got clicks across every collection
  • explain what a search query returns now, and why search doesn’t show a product
  • list your query rules, the pages indexed for search and the metafields search can index
  • look up a list of up to 100 products in one go, by their Shopify product ids
  • list the products that are sold out now, ranked by what they sold over a period you choose (say, Black Friday week), and sold-out products still pinned in a collection
  • list products in stock that sold nothing over a period, most stock first
  • check whether tracking reaches Depict, then look at the latest events, how they match your products, and how many buyers Depict saw before they bought
  • with changes allowed, schedule a collection version, update Boost & Bury rules, or add, change or delete a query rule
  • with changes allowed, publish or schedule saved versions on up to 100 collections at once, for example to start a sale on every sale collection, or unschedule or unpublish versions on up to 100 collections at once
  • with changes allowed, move collections to another of your theme’s collection templates, up to 100 at once, and back again afterwards
  • with changes allowed, change versions on up to 100 collections at once: change the live version or a saved version, or create a new version from the live one or another version, for example “Create a Black Friday version of every sale collection that sorts by best selling, then schedule them for Friday.” The assistant can change the sort order, unpin when sold out, whether the collection uses its own Boost & Bury rules, pin products at the top, unpin them, clear all pins, add Boost & Bury rules and rename a saved version
  • with changes allowed, add, change or remove content cards on up to 50 collections at once, for example “Move the Black Friday card to the top of every collection.”
An answer over 1 MB is refused with a message to narrow the request. Ask for fewer rows or a shorter period. The lists of pins and hides cover the products you pinned or hid, not every product in a collection. Publishing or unpublishing many versions takes a few seconds per collection. When a batch doesn’t finish in one go, the assistant is told which collections weren’t started yet and sends them again, so a large sale can take a minute or two. If an answer about content cards would be very large, the assistant is told to ask again for the collections it didn’t get. A new version made from the live one or another version copies its sort, pins, Boost & Bury rules, groupings, hidden products and content cards. New versions are saved, not published, and an unpublished version never shows to shoppers. The assistant can publish or schedule them with the bulk publish above. For every change to a version, the assistant gets back what the change replaced, so it can undo the change. It can’t undo the creation of a version: an assistant can’t delete versions, so you delete one in the Depict app. Switching a collection to Manual sort, setting a metafield sort and renaming the live version are done one collection at a time. Changing a Manual collection to another sort unpins its products, as in the app. A large batch of version changes may come back partly done, with the rest marked not started. The assistant sends those again. Content card changes to the live version show on your storefront as soon as they are made. Changes to the cards of one collection are made in order. If one fails, the assistant is told to read that collection’s cards before it tries again, so cards are never duplicated. An assistant can only move a collection to a template your theme already has. Moving collections onto a Depict template works only after someone at your store has switched a collection to a Depict template in the Depict app on that theme. Moving a collection to a template that isn’t a Depict template takes Depict’s grid, with its content cards, off that collection’s page; the assistant can move it back. A query rule an assistant adds works like one you add in the app. It adds chosen products to one search’s results, or hides them, in every market once the rule shows as Active. Depict adds the matching search words for every language your store serves. A store has at most 50 query rules, each with up to 200 products, and one rule that adds and one that hides per search. If your Search page has a Synonyms row, an assistant with changes allowed can add, change or remove synonym groups, one or many in one go, for example “Add jumper as a synonym for sweater.” It changes only the groups it names and never replaces your whole list. As in the app, a word that is already in a group joins the new words to that group. Sold-out lists only products sold out now: one that sold out during the period and is back in stock isn’t in it. Depict’s order history starts a month or two before your store was connected; for an earlier period the assistant is told those days count no sales.
Whether an assistant asks you before it runs a tool is decided by the assistant and its settings, not by Depict. Changes only go through execute_write, so you can let execute run without asking and still review every change. Don’t choose “always allow” for execute_write if you want to see each change first, or connect with read access only.

Revoking access

Every connection is listed under Connected assistants in the AI assistants card, with its name, where it connected from, its access (Read or Read and write), the date it was connected and when it expires (Until you disconnect it for a connection that doesn’t expire). Click Revoke on a row to disconnect it. The assistant’s next request is refused, and it has to connect again, with a new approval, to get access back. Revoking one connection doesn’t affect the others. Each install of an assistant can register separately, so the same assistant may appear more than once, for example Claude Code on two computers.

Troubleshooting

The assistant reports This connection belongs to another Depict store. The URL the assistant uses names a different store from the one the connection was approved for, for example after the URL was edited. Remove the server or connector from the assistant and add it again with the URL copied from that store’s Settings → Connections. This request names no Depict store; open the endpoint URL from your Depict settings page. The URL is missing its store_id. Copy it again from the AI assistants card. The assistant says writes are not enabled for this connection. The connection was approved without Make changes on your behalf. Connect again and check the box. The assistant stopped working after a while. The connection reached the end of the time chosen when it was approved (30 days unless someone chose otherwise); its end date was shown under Connected assistants. Connect again from the assistant, and choose a longer time or Until I disconnect it if you want it to last.