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:- 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.
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.
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.
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.
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”.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.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.
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.
- 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.
- 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.”
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 itsstore_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.
