Shopify MCP server enterprise setup: official servers, OAuth and tokens

Shopify's documented MCP servers authenticate through OAuth, a device flow or stored CLI sign-in, and the pages reviewed here do not describe SSO, SCIM or audit logging for them. Enterprise controls must come from the AI client or a gateway the organization runs.

On this page

Does the Shopify MCP server meet enterprise sign-in and audit requirements?

Shopify's documented MCP servers use OAuth 2.0 with PKCE, a device flow, or stored CLI authentication, and the Shopify pages reviewed for this page do not document SSO, SCIM or audit logging for these servers. Those controls therefore depend on the AI client the staff use or on a gateway your organization runs in front of it. Treat the Shopify sign-in methods as the authentication layer and plan the identity and logging layer separately.

Match each requirement to the server that fits it. The Customer Accounts MCP server requires an OAuth 2.0 access token from the authorization code grant with PKCE, and its endpoint is discovered from the store's /.well-known/customer-account-api document, so your allowlist should record the discovered endpoint rather than assume a fixed URL. Shop MCP at needs no API key and works for search without an account, and signing in adds buyer features. Shopify documents a Shop device flow for signing in a buyer from their own agent and says distributed apps should register their own client. The AI Toolkit, installed through Shopify CLI, is a developer tool and relies on the stored CLI login on each machine. Confirm with Shopify which token lifetimes, refresh behavior and revocation options apply to each flow, since the pages reviewed do not state them.

What has to be built is the control plane around these flows. Ask the AI client vendor whether it offers SSO enforcement, a managed allowlist of MCP servers, and centralized logs of tool calls, and ask the store owner who may approve connections. Route traffic through a gateway if your policy requires per-user attribution, because stored CLI credentials on developer laptops are otherwise hard to tie to individuals. Before approval, test whether a revoked staff member's session stops working and whether tool calls can be traced to a named user in your own logs.

Which Shopify MCP server supports which enterprise control

This table compares Shop MCP, the Customer Accounts MCP server and the Shopify AI Toolkit against the controls a reviewer usually asks for: sign-in, client requirements, SSO, SCIM, audit logging and admin enforcement. Each cell states whether the reviewed Shopify pages document the control, whether they are silent on it, or whether an outside component such as the AI client or a gateway would have to provide it. The main takeaway is that the reviewed Shopify pages do not describe SSO, SCIM, audit logs or admin policy for these servers, so confirm those controls with Shopify or build them around the client.

ControlShop MCPCustomer Accounts MCP serverShopify AI Toolkit
Authentication methodDocumented: no API key or UCP profile for search; device flow for signing in a buyerDocumented: OAuth 2.0 access token from the authorization code grant with PKCEDocumented: plugin installed through Shopify CLI. Confirm how CLI sign-in tokens are stored.
Client requirementsDocumented: client must support MCP specification version 2026-07-28Documented: endpoint discovered from the store's customer-account-api document, not a fixed URLDocumented: plugin installs for Claude Code and Codex using the commands on the AI Toolkit page
Supported AI clientsNot documented in reviewed pages as a client list; the MCP specification version is the stated requirementNot documented in reviewed pages as a client listDocumented: Claude Code, Codex, Antigravity CLI, Cursor and Visual Studio Code, plus plugin-only Hermes, OpenClaw and Pi
SSONot documented in reviewed pages for workforce sign-in. Sign-in with Shop is documented for buyers.Not documented in reviewed pages. Access runs through OAuth for an individual customer session.Provided by outside component: sign-in controls of the AI client or gateway
SCIMNot documented in reviewed pagesNot documented in reviewed pagesProvided by outside component: user lifecycle is managed by the AI client or gateway
Audit loggingNot documented in reviewed pages. Confirm request logging with Shopify before relying on it.Not documented in reviewed pages. Confirm request logging with Shopify before relying on it.Provided by outside component: logging at the AI client, the shell or a gateway
Admin enforcementNot documented in reviewed pages. Distributed apps register their own client.Not documented in reviewed pages. Each token acts for one signed-in customer.Provided by outside component: allowlisting and approval policy in the AI client or gateway
Hosting and licensingDocumented: hosted by Shopify at a single endpoint with no /mcp pathDocumented: remote server reached through the store's discovered endpointDocumented: MIT-licensed repository published by the Shopify organization

Which Shopify MCP servers are official and what each one is for

Shopify publishes three surfaces that an organization may encounter, and they serve different audiences. The first is the Shopify AI Toolkit, which connects AI coding tools to developer docs, API schemas, code validation and store management through Shopify CLI. It installs as a plugin, for example with claude plugin install shopify-ai-toolkit@claude-plugins-official for Claude Code or codex plugin add shopify@openai-curated for Codex. Supported tools include Claude Code, Codex, Antigravity CLI, Cursor and Visual Studio Code, with Hermes, OpenClaw and Pi available as plugin only. Its repository is published under the MIT license by the Shopify organization, so reviewers can read the source before approving it. This surface is aimed at developers and is the one an engineering team member is most likely to connect.

The second surface is Shop MCP, a hosted server at ` that lets an agent find products from Shopify merchants and check out using the buyer's Shop account. It is buyer-side, so it is aimed at consumers rather than staff building or operating a store. Search works without an account, while signing in with Shop adds Shop Pay, saved details and order tracking. The third surface is the Customer Accounts MCP server, which provides tools for customer-specific actions such as order management and account details. It is buyer-facing and sits behind customer sign-in. A staff member would rarely connect either server for internal work, so the practical question is which team owns the storefront and whether it intends to expose these surfaces to customers at all.

Older guidance is still circulating. The Storefront MCP catalog and cart tools on the /api/mcp path were removed, and Shopify points developers to Shop MCP or the Universal Commerce Protocol endpoint at /api/ucp/mcp. Any internal runbook, agent configuration or vendor integration that still references the removed path should be found and updated before it fails or is replaced by an unreviewed alternative. Confirm with Shopify which endpoint a given store uses, and check the client against the MCP specification version Shop MCP requires before approving it.

How OAuth with PKCE, the device flow and stored CLI auth differ

The Customer Accounts MCP server works on behalf of one signed-in customer and returns that customer's account data, such as orders and account details. It requires an OAuth 2.0 access token obtained through the authorization code grant with PKCE, so the customer approves access in a browser and the client exchanges a one-time code for a token. The endpoint is not a fixed address. Clients discover it from the store's customer account API document under the well-known path, so the URL can vary by store.

  • Authorization code grant with PKCE: The client creates a secret verifier and sends a derived challenge, which makes an intercepted authorization code harder to reuse.
  • Endpoint discovery: The MCP endpoint is read from the store's /.well-known/customer-account-api document, so allowlist entries should be checked against what discovery actually returns.
  • Per-customer scope: Access is tied to the signed-in customer's account, so the agent sees that customer's data rather than store-wide records.
  • Token lifetime and refresh: The sources reviewed do not state access token lifetimes or refresh behavior. Confirm these in the Customer Accounts documentation before approving the server.

Check which client applications may request this token and how their redirect addresses are registered.

How a staff member's AI client reaches a Shopify MCP server

The flow starts at the developer's or buyer's AI client, which may pass through a gateway or allowlist the organization runs. Shopify documents the identity step: a PKCE authorization code flow for the Customer Accounts MCP server, a device flow for Shop sign-in, or a stored Shopify CLI session for the AI Toolkit. The endpoint then depends on the server chosen, and logging is not documented by Shopify, so any audit record has to come from the client or a gateway the organization operates. Check each hop before approval.

Shopify-documented hops are the sign-in and endpoints; the gateway and log store are organization components.

Decisions the organization must make before approving a Shopify MCP connection

Each Shopify MCP connection starts with a choice about who connects, with which credentials, and through what path. The cards below cover the decisions that set the scope of access, the evidence you can collect, and how access ends when someone leaves.

Which AI clients are allowed

The Shopify AI Toolkit supports Claude Code, Codex, Antigravity CLI, Cursor and Visual Studio Code, and it also runs as a plugin in Hermes, OpenClaw and Pi. Each client has its own sign-in, update and logging behavior, so approving the toolkit once does not approve every client. Decide which clients may be installed on managed devices, and confirm with your AI client vendor how each one stores and logs tool calls. Plugin-only tools need separate review because they sit outside the first-party client list.

AI Toolkit docs

Toolkit credentials or buyer-side Shop MCP

Developers who use the AI Toolkit through Shopify CLI rely on credentials stored by the CLI on their laptop, which give the tool access to store management. Shop MCP is different: it is a hosted server that lets an agent search products and check out on behalf of a buyer, and it needs no API key for search. Decide whether engineers may hold store-level CLI credentials at all, or whether only a reviewed group may. Treat buyer-side Shop MCP as a separate purchase path with its own checkout risk.

Shop MCP docs

Registering an OAuth client for internal apps

Shopify's Shop device flow signs a buyer in from their own agent, and Shopify states that distributed apps should register their own client. An internal app that many staff use should therefore have its own registered client, not borrow a developer's session. The client registration fixes the redirect and scope settings for every user of the app. Confirm who owns the client, who can change its settings, and how it is revoked. The Customer Accounts MCP server requires an OAuth 2.0 access token obtained through authorization code with PKCE, so customer data always passes through this flow.

Customer Accounts MCP docs

Placing a gateway or proxy to log calls

The reviewed Shopify pages do not describe audit logs for these MCP servers, so call records must come from the AI client or from a gateway or proxy your organization runs. Decide where that gateway sits: between each AI client and the Shopify endpoint, or between developers and the CLI. Confirm that it records tool names, store identifiers, arguments and the identity behind each call, and that it can block write tools. Check that logging does not capture customer personal data beyond what your policy allows.

Stores and customer accounts in scope

Decide which stores an approved client may reach, and which customer accounts it may touch. The Customer Accounts MCP server exposes tools for order management and account details, so a connection that reaches it can read personal data about buyers. Set the store list in writing, separate staging and production stores, and exclude stores that hold regulated customer data until the data handling review is complete. Ask Shopify which account roles and approvals apply to each store before a connection is granted.

Rotating and removing credentials on exit

Credentials for these servers are held by the client, the CLI or the OAuth grant, so offboarding must reach each location. Require that departing staff have their CLI sessions, OAuth grants and any stored tokens removed, and that the revocation is confirmed in the Shopify admin for their account. Set a rotation schedule for shared app clients and a process for re-consenting after a scope change. Ask Shopify and your identity team to confirm how a grant is revoked and whether revocation takes effect immediately.

How the answer changes by identity provider, team size and data sensitivity

The Shopify pages reviewed for this topic do not describe SSO, SCIM or audit logging for the MCP servers, so identity enforcement happens at the AI client or at a gateway your organization runs. Okta or Entra ID can control who may open the AI client, but the Shopify credential the client holds is still tied to a Shopify user and a store. Your review should follow that chain from the identity provider to the client to the store account.

  • Client sign-in: confirm with the client vendor which SSO options its plan provides, and whether it can block personal accounts.
  • Credential ownership: each OAuth or CLI session belongs to one Shopify user, so the identity provider and the store's staff accounts must match on who that person is.
  • Offboarding: test what happens to an existing Shopify session when a person is disabled in Okta or Entra ID, and confirm with Shopify how to end that access.
  • Gateway option: if the client has no SSO, a gateway you operate can sit in front of the connection, but its logs then become your audit source.
  • Audit gap: Shopify's pages reviewed do not describe audit logs for these servers, so ask Shopify directly what is recorded.

Before approving, check the client's SSO documentation and run a deprovisioning test that ends with a confirmed loss of store access.

Order of work before a Shopify MCP server goes live for staff

This sequence moves from scope and identity to logging, client restrictions, a supervised pilot and a vendor review, so the security team approves each layer before staff receive access. The result is a written record of what is allowed, who approved it and what evidence supports the decision.

  1. Confirm which servers and clients are in scope

    The platform or security lead lists each Shopify MCP surface the team may use: the AI Toolkit through Shopify CLI, Shop MCP at and the Customer Accounts MCP server. Confirm that no workflow still points at the removed Storefront MCP catalog and cart endpoint, and that any Universal Commerce Protocol endpoint is documented separately. Check the AI Toolkit's supported client list and record which clients are in scope. Done means a signed scope sheet names each server, each client, each owner and each intended use.

  2. Confirm the AI client identity and admin settings

    The IT lead records how each approved AI client signs its users in and which administrative switches it offers, such as sign-in restriction, managed settings and seat controls. Shopify's pages read for this review do not describe SSO, SCIM or admin policy for these MCP servers, so ask the client vendor for those answers in writing. Confirm that Shop MCP clients support the 2026-07-28 version of the MCP specification. Done means each client has a written record of its sign-in path, admin controls and open questions.

  3. Decide how CLI credentials are stored and removed

    The security engineer decides where Shopify CLI stored authentication lives on managed endpoints, who may hold it and how it is revoked when someone changes roles or leaves. Shop sign-in uses the documented Shop device flow, and the Customer Accounts MCP server requires an OAuth 2.0 token from the authorization code grant with PKCE, so define the handling for each token type separately. Done means a written credential standard covers storage, rotation, revocation on offboarding and what happens to tokens on lost devices.

  4. Place logging around tool calls

    The security team identifies where a record of each tool call will come from. Shopify's pages read for this review do not describe audit logging for these MCP servers, so logs would come from the AI client or a gateway the organization runs. Run a test that performs a read and a write, then confirm the record shows the user, the server, the tool and the time. Done means the team can show, from its own logs, one read and one write call traced to a named person.

  5. Restrict the client list

    The platform lead publishes an allowlist of approved AI clients and install paths. Installation should use the documented plugin commands from Shopify's AI Toolkit page, such as the Claude Code and Codex plugin commands, and unapproved clients or unofficial servers should be blocked on managed devices where the organization has that control. Any distributed app that uses Shop sign-in should register its own client, as Shopify recommends. Done means the allowlist is enforced on managed devices and each exception has an owner and a reason.

  6. Pilot with a development store

    The engineering lead runs a supervised pilot against a development store, not a live merchant store. Testers exercise each in-scope tool, confirm which tools write data, check that consent screens show the expected permissions and verify that revoking a token stops access. Use illustrative test accounts and keep customer data out of the pilot. Done means a pilot report lists each tool tested, each write tested, the revocation result and every defect with an owner and status.

  7. Review vendor answers on SSO and audit logs before expanding

    Before any wider rollout, the procurement and security reviewers send written questions to Shopify and the AI client vendors about SSO, SCIM, audit logs, data retention and how customer data is protected under the Customer Accounts MCP server. Ask Shopify to confirm in writing which controls it provides and which must come from the client or gateway. Expansion is approved only when each answer is documented, each gap has a compensating control and the pilot findings are closed. Done means a signed review record exists and the rollout owner has approved the next group.

What a security reviewer asks to see for Shopify MCP access

This table maps each evidence request a security reviewer typically makes to the place the answer comes from: the Shopify documentation, the AI client, or the organization's own environment. Use it to decide which requests Shopify's pages can answer and which require written confirmation or logs you collect yourself. The main takeaway is that the Shopify pages reviewed do not describe SSO, SCIM or audit logging for these servers, so those answers must come from the AI client vendor or a gateway you run.

Reviewer requestWhat to ask forWhere the answer comes from
Authentication method per serverThe grant or sign-in path for each server in use, such as OAuth with PKCE for Customer Accounts or the Shop device flow for buyer sign-inShopify developer docs for each server, confirmed against your own test sign-in
Approved AI client listNamed clients and versions allowed to connect, including whether the Shopify AI Toolkit plugin is permitted for eachShopify AI Toolkit page for supported tools, plus your own allowlist in the AI client admin settings
CLI credential storage and removalWhere Shopify CLI stores session credentials on each developer machine, and the steps to revoke and delete them when someone leavesYour endpoint management and CLI configuration on the machine, verified by inspection, not by vendor documentation
Gateway log samplesSample entries showing which client called which server and tool, with timestamps and the account usedLogs from the gateway or proxy you run in front of MCP traffic, since Shopify does not document audit logs for these servers
Written SSO and audit confirmationSigned or written statement from Shopify or the AI client vendor on SSO, SCIM and audit logging for the exact plan in useShopify account team or the AI client vendor's enterprise contract, not the public developer pages
Shopify AI Toolkit license reviewConfirmation of the license terms, the repository's current state, and an internal review record for the version installedThe Shopify AI Toolkit repository published under the MIT license by the Shopify organization, reviewed by your legal and engineering teams
Scope of store write accessWhich tools can change store data, which token holds that permission, and who approved itYour own token inventory and the store's admin permissions, checked against the server's tool list

Questions to put to Shopify in writing before approval

The first question to put to Shopify in writing is whether any enterprise identity option exists for these servers. The pages reviewed for this topic describe OAuth 2.0 with PKCE for the Customer Accounts MCP server, a device flow for signing in a buyer through Shop MCP, and stored Shopify CLI authentication for the AI Toolkit, but none of them mention SSO, SCIM or enforced sign-in through a corporate identity provider. Ask Shopify whether any of these paths can be bound to your identity provider, whether a merchant can require it, and what happens to access when an employee leaves. If the answer is no, record that the controls must come from the AI client or a gateway your organization runs.

Next, ask whether MCP calls are logged on Shopify's side, which fields each log records (tool name, store, token identity, timestamp, parameters), how long records are kept, and how a merchant or store owner retrieves them. Ask for the exact location of the logs in the admin, whether they can be exported, and whether they cover AI Toolkit actions taken through Shopify CLI as well as hosted server calls. Do not assume a log exists until Shopify confirms it in writing.

Ask how long OAuth access tokens, refresh tokens and device flow tokens last, how a refresh token is rotated, and how a token is revoked. Ask whether a merchant can see and revoke active grants for a given client, whether revocation takes effect immediately for the Customer Accounts MCP server, and whether stored CLI credentials on a developer machine are invalidated when the developer's store access is removed. Ask which client identifiers Shopify issues for distributed apps and how a merchant can block an unapproved client.

Finally, ask which controls apply to Customer Accounts data. The Customer Accounts MCP server reads and acts on order management and account details, so request written confirmation of the scopes it requests, whether customer data is covered by protected customer data approvals, where the endpoint discovered from the store's /.well-known/customer-account-api document is hosted, and how data is retained by any Shopify-operated component. File all written answers with the approval record, and mark any question Shopify declines to answer as an open risk.

Shopify MCP server enterprise questions buyers ask before approval

Does Shopify support SSO for its MCP servers?

Shopify's public documentation for these servers does not describe SSO, SCIM or audit logging, so do not assume they exist. The Shop MCP, Customer Accounts MCP and AI Toolkit pages describe OAuth, device flow and CLI-based authentication, but no enterprise sign-in enforcement for staff. Any SSO control would come from the AI client your staff use or from a gateway your organization runs in front of the servers. Ask Shopify in writing whether any staff sign-in path can be tied to your identity provider, and confirm which store staff accounts can authorize the toolkit.

Can staff use the Shopify AI Toolkit without stored CLI credentials?

The public documentation does not settle this, so confirm it before approval. The AI Toolkit installs as a plugin in the AI client, for example with claude plugin install shopify-ai-toolkit@claude-plugins-official for Claude Code, and its store management features run through Shopify CLI, which is where a persisted login would normally live. Ask whether store management can run without a saved CLI session, how long a session lasts, and where the credential is written on a developer laptop. The Customer Accounts MCP server, by contrast, requires an OAuth 2.0 access token obtained with the authorization code grant and PKCE, which is a per-user flow.

What drives the cost and effort of a Shopify MCP rollout?

Three cost components drive most of the effort, and each is paid to a different party:

  • The gateway: if your organization runs a gateway in front of the servers, your platform team carries its hosting and upkeep. If you buy one, the vendor charges for it. Either way, this recurs.
  • Identity work: connecting AI client sign-in to your identity provider, registering clients and setting who may authorize which store. This is mostly one-time, with recurring review as staff change.
  • Review: security testing of tool permissions, write paths, credential handling and prompt injection exposure. This is one-time per setup and repeats after material changes.

Costs rise with the number of stores, the number of AI clients, the number of write-capable tools and whether customer data is in scope. Ask any partner for a quote that lists each component, who performs it and what is recurring.

What can our own team do before bringing in a partner?

Your team can do a good share of the preparation without outside help:

  • Inventory which AI clients, plugins and CLI installs staff already use against Shopify stores.
  • Decide which servers are allowed: Shop MCP for buyer-facing search and checkout, Customer Accounts MCP for customer-specific actions, and the AI Toolkit for developers.
  • Narrow store staff roles to what the agent needs, and list which actions are write-capable.
  • Keep an allowlist of approved AI clients and record who authorized each connection.
  • Test changes in a non-production store if your Shopify plan provides one.

These steps reduce the scope a later review must cover. They do not replace a security test of the live setup.

What does a scoping call with DeployOpen cover?

A scoping call sets the written scope that DeployOpen's fixed-scope engagements depend on, and the scope, deliverables and timeline are agreed in writing before work starts. For Shopify MCP work, the call would normally cover which servers and AI clients are in scope, which stores are included, which tools can read or write, how identity and admin settings are configured, whether a gateway is needed and who will run it, and what security testing applies. It would also confirm the deliverables, such as a findings report with fixes and a retest. DeployOpen does not publish a price list, so the quote follows from the agreed scope.

Is the Storefront MCP endpoint still usable?

No, not for catalog and cart tools. Shopify removed the Storefront MCP catalog and cart tools from the store's older MCP path and now points developers to Shop MCP or to the Universal Commerce Protocol endpoint for the store. Shop MCP is reached at its own host without an /mcp path and requires an MCP client that supports the 2026-07-28 version of the MCP specification, so confirm your clients support that version before planning a move. Any integration still calling the removed tools will need to be rewritten against one of the replacement paths. Shopify's migration guide describes the replacements.

What happens to access when an employee leaves?

Access can persist in several places, so offboarding has to cover each one. Staff access can live in the Shopify store staff account, in OAuth grants tied to an employee's sign-in, in CLI sessions stored on a laptop, and in AI client or plugin configuration. Revoke the identity provider account and the AI client connection, remove or downgrade the store staff account, and clear stored CLI sessions on the device. Shopify's public documentation for these servers does not describe offboarding, so ask how individual OAuth grants can be revoked, whether tokens expire, and how a revoked grant behaves. Then test that a revoked connection fails.

How DeployOpen helps organizations approve Shopify MCP access safely

DeployOpen reviews how Shopify MCP servers and the AI Toolkit would be set up in your environment, including sign-in, token handling and the controls your AI client or gateway provides. The work is fixed-scope, so the questions, deliverables and boundaries are agreed in writing before any testing or configuration begins.

How we scope

  • We confirm which Shopify MCP servers and AI clients your teams plan to use, such as Shop MCP, Customer Accounts MCP or the AI Toolkit.
  • We define in writing which authentication paths (OAuth with PKCE, device flow or stored CLI sign-in) are in and out of review.
  • We agree which stores, environments and client devices the written scope covers, and which approval decisions remain with your team.

How we build

  • We configure a test setup for the agreed clients and check how each token is issued, stored, scoped and revoked.
  • We test what a connected agent can read and change in the store, including checks for write actions and customer-data access.
  • We document SSO, SCIM and audit logging gaps where Shopify's pages are silent, and test the controls your AI client or gateway provides instead.

How we hand over

  • You receive a written findings report with the tested configurations, the risks found and the fixes recommended for each one.
  • We provide an approval checklist your security and IT reviewers can use for each client and server before staff connect.
  • We retest the agreed items after fixes are applied and document what passed, what changed and what remains open.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers when Shopify changes its servers or endpoints.
  • A retainer can cover re-review of new AI clients or new Shopify MCP servers before your teams adopt them.
  • Your compliance team can use the documented evidence when assessments ask how the Shopify MCP setup was reviewed and approved.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.