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, products, search, recommendations and analytics, and, if you allow it, make changes such as pinning products in a collection or adding a synonym. Each assistant connects to one store. You approve every connection yourself, choose whether it may make changes, and can disconnect it at any time. AI assistants are in beta, for selected stores.

Limits and behavior

  • Depict turns AI assistants on per store, with two switches: AI assistants (MCP) lets assistants read, and Assistant changes lets them make changes. When AI assistants (MCP) is on, AI assistants appears in Settings.
  • Every connection can read. Making changes needs two things: you checked Make changes on your behalf when you approved the connection, and Assistant changes is on for your store.
  • Changes 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 doesn’t expire.
  • If the person who approved a connection loses access to the store (they are removed from it, or their Depict account is deactivated), the connection stops working at its next request. If they still have no access a day later, the connection ends and leaves Settings → AI assistants. Giving them access again doesn’t bring it back: they connect the assistant again.
  • If Depict turns AI assistants (MCP) off, connected assistants stop working at their next request, and work again once it’s back on.

Requirements

  • AI assistants (MCP) turned on for your store. If AI assistants is missing from Settings, contact us.
  • A Depict account with access to the store. You sign in with it when you approve the connection.
  • An assistant that supports remote MCP servers with OAuth sign-in. The steps below cover Claude, Claude Code, ChatGPT and Codex. Other assistants that work the same way can connect too.

Your endpoint URL

Every store has its own endpoint URL:
You don’t need to build it yourself. In the portal at app.depict.ai, open Settings → AI assistants:
  • Your MCP endpoint shows the URL with a Copy button, and the full Claude Code and Codex commands, each with its own Copy button.
  • Connected assistants lists the assistants connected to the store.
Use the URL exactly as copied. The store_id part 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 Depict, you sign in and approve it, and it is connected. You don’t create keys or enter a client ID or secret.

Claude

Claude on the web and the Claude desktop app share connectors.
1

Add a custom connector

In Claude, go to Customize → Connectors, click + Add, then Add custom connector. On a Team or Enterprise plan, an organization owner adds it instead, under Organization settings → Connectors (Add → Custom → Web).
2

Enter the endpoint

Give the connector a name, for example Depict, and paste your endpoint URL. Leave the OAuth client ID and secret empty. Then click Add.
3

Connect

Click Connect on the new connector. Your browser opens Depict; 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.

Claude Code

1

Add the server

Copy the command from Claude Code on the AI assistants page 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. Your browser opens Depict; see The approval screen.

ChatGPT

ChatGPT connects to remote MCP servers on the web for Business, Enterprise and Edu workspaces, and your workspace’s permissions decide who can add one. Menu names change, so follow OpenAI’s guide to custom MCP servers.
1

Add a custom MCP server

In ChatGPT, add a custom MCP server from Plugins. Give it a name, for example Depict, paste your endpoint URL, and set the authentication to OAuth. Leave any client ID and secret empty.
2

Connect

Start the sign-in. Your browser opens Depict; see The approval screen.

Codex

1

Add the server and sign in

Copy the command from Codex on the AI assistants page and run it in your terminal. It adds the server, then signs in:
Keep the quotes, as with Claude Code. Your browser opens Depict; see The approval screen. To sign in again later, run codex mcp login depict on its own.
The steps follow OpenAI’s Codex MCP guide.

The approval screen

When an assistant connects, your browser opens a Depict approval page. If you are not signed in, sign in first. The request waits for 10 minutes. The page 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 page says where that is: For a website or an app link, the page 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. It appears only when the assistant asked for changes and Assistant changes is on for your store. If the store has changes off, the page says the assistant will only read.
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, or until the person who approved it loses access to the store for a day. Then click Allow to connect, or Cancel to refuse. After you allow, you can close the tab.

What an assistant can do

A connected assistant gets these tools:
  • overview: a one-page explanation of how Depict models a headless store. The assistant reads it before its first search.
  • search: finds the Depict operation that answers a question.
  • execute: reads your store’s data. It never makes changes.
  • execute_write: also makes changes. Only a connection you allowed to make changes gets this tool, and its changes are refused while Assistant changes is off.
So an assistant can, for example, answer:
  • “Which collections have the most hidden products?”
  • “List every pinned product in Norway, collection by collection.”
  • “Compare last week’s revenue per collection with the week before.”
  • “Why doesn’t search show this product?”
With changes allowed, it can also act on requests like:
  • “Pin these three products at the top of the SUMMER SALE collection.”
  • “Set the pins of BESTSELLERS in Finland to this list, in this order.”
  • “Pin these products in the search start view, in this order.”
  • “Hide these 40 products in the OUTLET collection.”
  • “Move the SUMMER SALE collection under OUTLET.”
  • “Translate the filter word Colour into Swedish.”
  • “Show the Size filter before the Colour filter.”
  • “Add jumper as a synonym for sweater.”
  • “Turn off the query rule for rain jacket.”
  • “Hide these three products from search in every market.”
  • “Reset these 31 products to From feed.”
Changes cover moving a collection, pinning and hiding products in collections, hand-picked collection products, a product’s visibility, Boost & Bury rules, the search start view, products and tags search never returns, synonyms, search content, query rules, the order and translations of search filters, auto-hide exemptions and custom recommendation rules. Anything else is changed in the portal. On some stores Depict keeps the settings itself: both the assistant and the portal refuse the change there, and only Depict support can make it. An assistant can read the pinned and hidden products of many collections in one step, for one market or market group at a time, so checking pins across the store doesn’t take a call per collection. It sees product ids, and leaves out collections with nothing pinned or hidden unless you ask for them. To set a collection’s whole pin order, give the assistant the complete list in order. It sets the pins of one market or market group in a single change, and tells you first which current pins the list leaves out, because those are unpinned. Pins the portal doesn’t show, such as archived products, stay where they are. For a few changes, ask for those pins one by one. The search start view works the same way, with one list for pinned products and one for pinned collections. The assistant sees at most the first 10 products there, and not products hidden for being out of stock, so list every pin you want to keep: other pins left out are unpinned. Deleted products and collections stay where they are. To hide or unhide many products in a collection, or to add or remove many hand-picked products, give the assistant the whole list. It makes the change in one step, for up to 500 products at a time, and tells you which products changed and which were already that way. If any product in the list can’t be changed, nothing is changed and the assistant names every product that was refused: for example a product that isn’t in your catalogue, a pinned product it was asked to hide, or a product the collection’s rules add, which can be hidden but not removed. A product’s visibility says whether it’s hidden or shown in collections, search and recommendations, for every market, a market group or one market. Resetting a product puts it back to From feed. A reset clears only the level it names, so if a product is hidden for one market group, ask for that group. The assistant changes up to 100 products in one step and splits a longer list into several. If any product in a step can’t be changed, nothing in that step is changed and the assistant names the products that were refused. A visibility change reaches collections and search in about a minute. Moving a size filter also makes it count only sizes in stock, as it does when you reorder filters in the portal. The assistant tells you when that applies. Changes are safe:
  • Every change starts from the latest data. If someone else changed the same thing since the assistant last read it, the change is refused. The assistant reads again and retries.
  • Changes sent right after each other can be refused with a message that a save is already running. Nothing is saved; retrying a moment later fixes it.
Some limits to know about:
  • An answer over 1 MB is refused with a message to narrow the request. Ask for fewer rows, a shorter period, or leave out extra metrics.
  • Ask for only a few rows of product metrics at a time: at most 40 products over 30 days, 15 over 90 days or 5 over a year.
  • Metrics reads can take 10 to 30 seconds. Ask for a shorter period if one fails.
  • If you name something Depict doesn’t recognise, such as a mistyped product id or a market group that was deleted, you still get an answer, and the assistant tells you what wasn’t recognised. A product Depict has no record of shows as visible, which isn’t a confirmed state. For a market group that doesn’t exist or has no markets, the numbers cover the whole store, or the one market you named, and not that group. Stock numbers can be missing or read zero, so a list of dead stock can come back empty, and a period comparison covers at most 10 collections.
  • Comparing two periods for one market or market group covers at most 10 collections, because Depict works those numbers out when you ask. The assistant tells you when that happens, and the totals add up only those collections. To choose which collections, name up to 10 of them.
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.

Disconnecting access

Connected assistants on Settings → AI assistants lists every connection with its name, where it signs in, its access, the date it was connected and when it expires (Until you disconnect it for a connection that doesn’t expire). Access is what you approved: Read, or Read and write if you checked Make changes on your behalf. A new connection can take a minute to appear; reload the page if you don’t see it yet. Click Disconnect on a row and confirm. The assistant loses access to the store, its old sign-in stops working, and it has to connect again, with a new approval, to get access back. Disconnecting one assistant doesn’t affect the others. The same assistant may appear more than once, for example on two computers. If the portal says it could not disconnect the assistant, click Disconnect again.

Troubleshooting

The AI assistants page is missing from Settings, or the assistant says AI assistants are not enabled for this store. AI assistants are off for your store. A direct link to the page shows a page headed “This page got buried”. Contact us to turn them on. Connected assistants stop working while they are off. The assistant says it is not authorised. Its connection has ended: it was disconnected, it reached the end of the time chosen when it was approved (the end date is on Settings → AI assistants), the person who approved it lost access to the store, or the sign-in was refused. Remove the connector, add it again, and approve it again. I connected an assistant but the page says none are connected. A new connection can take a minute to appear. Wait a minute, then reload the page. There is no Make changes on your behalf box on the approval page, or the assistant can’t make a change. Either Assistant changes is off for your store, the assistant didn’t ask for changes, or you connected it without checking the box. Check with us that changes are on, then disconnect the assistant, connect it again and check the box. This connection request has expired or was already used; connect again from your assistant. A request is valid for 10 minutes and can be answered once. Start connecting again from the assistant. You cannot answer this connection request. Your Depict account has no access to this store. Sign in with one that does. The assistant says an answer was too large, or a change was refused because the data changed. See the limits above. For a refused change, ask the assistant to read again and retry.