Installation guide
How to install Shopify Customer Account MCP
In Claude, ChatGPT, Gemini, Microsoft Copilot, Perplexity, Cursor and Claude Code, with what to check before you start and the first prompts to run.
This is not a connector you paste into a chat client. The Customer Accounts MCP server is hosted by Shopify, but each store exposes its own endpoint, found by fetching `https://{shopDomain}/.well-known/customer-account-api` and reading `mcp_api`. Access needs an OAuth 2.0 access token from the authorization code flow with PKCE, and your own app has to obtain that token on behalf of a signed-in customer. The documentation describes this as app code, not as a client config entry.
A developer with access to the Shopify Dev Dashboard and the app should do this, working on a dev store first. The app must meet Shopify's protected customer data requirements. The server handles customer authentication and personal data, so have the store owner or a privacy lead review the scopes and what the agent may do before you go near production.

Before you start
- A Shopify store with a custom domain configured, plus a dev store with sample products for testing
- A Shopify app set up for customer accounts authentication that meets Shopify's protected customer data requirements, with Protected customer data access requested in the Dev Dashboard
- Shopify CLI installed, to scaffold the app or run
shopify app config linkfor an existing Dev Dashboard app - A real app domain for the redirect URI listed under
[customer_authentication]inshopify.app.toml - A place to run code that can do the
PKCEauthorization flow and store the access token securely
- How it runs
- Remote, added by URL
- Access
- Varies by tool
- Server address
- Copy it from the vendor documentation
Shopify Customer Account MCP in Claude
- The documentation does not cover Claude.ai or Claude Desktop. The server needs a per-customer OAuth token that your app obtains, so check first whether a custom connector can supply one.
- Finish the app setup first: scaffold the app, request Protected customer data in the Dev Dashboard, and add the scopes and redirect URIs to
shopify.app.toml. - Discover the MCP URL from
https://{shopDomain}/.well-known/customer-account-api(themcp_apifield). - If you test a custom connector in
Settings > Connectors, enter that URL. Whether the client can complete Shopify's customer sign-in is not documented, so confirm it with Anthropic and Shopify before relying on it. - Start with the dev store and read-only requests such as order lookups.
Shopify Customer Account MCP in ChatGPT
- The documentation does not cover ChatGPT. The standard route for a custom MCP server is a connector added by URL in Developer mode.
- Complete the app setup, deploy the app and install it on the dev store.
- Get the MCP URL from the
mcp_apifield athttps://{shopDomain}/.well-known/customer-account-api. - If you try Developer mode, add that URL as a custom connector. Shopify documents the token flow as app code, so whether ChatGPT can complete it is unconfirmed. Check OpenAI and Shopify documentation.
- Test on the dev store only, with read-only prompts.
Shopify Customer Account MCP in Gemini
- The documentation does not cover Gemini. Gemini CLI normally reads MCP servers from the
mcpServersobject in its settings file. - Complete the app setup and obtain a customer access token through the
PKCEflow described in the Shopify documentation. - Discover the MCP URL from
mcp_apiathttps://{shopDomain}/.well-known/customer-account-api. - If you add it to
mcpServers, you would need to pass the token in theAuthorizationheader. The documentation shows that header only in app code, so check Gemini CLI documentation for how to set headers. - Test on the dev store only.
Shopify Customer Account MCP in Microsoft Copilot
- The documentation does not cover Microsoft Copilot Studio or GitHub Copilot. Standard routes are an MCP tool or custom connector in Copilot Studio, or
.vscode/mcp.jsonin VS Code. - Complete the app setup and deploy the app to the dev store.
- Discover the MCP URL from the
mcp_apifield athttps://{shopDomain}/.well-known/customer-account-api. - If you add it as a remote server, the token goes in the
Authorizationheader. Shopify shows this only in app code, so confirm header support in the Copilot documentation. - Test with read-only requests on the dev store.
Shopify Customer Account MCP in Perplexity
- The documentation does not cover Perplexity. Perplexity desktop app connectors are normally added by URL in its connector settings.
- Complete the app setup and install the app on the dev store.
- Discover the MCP URL from
mcp_apiathttps://{shopDomain}/.well-known/customer-account-api. - The server needs a per-customer OAuth token from your own app. Confirm with Perplexity and Shopify whether a connector can use it.
- Test on the dev store only, with read-only prompts.
Shopify Customer Account MCP in Cursor
- The documentation does not cover Cursor. Cursor normally takes MCP servers in its MCP settings or an
mcp.jsonfile with anmcpServersobject. - Complete the app setup and deploy the app. Run
shopify app dev --use-localhostif the server is not already running. - Discover the MCP URL from
mcp_apiathttps://{shopDomain}/.well-known/customer-account-api. - Get a customer access token through the authorization code flow with
PKCE, using the endpoints fromhttps://{shopDomain}/.well-known/openid-configuration. - If you add a
urlentry in Cursor, pass the token in anAuthorizationheader only if Cursor supports it for remote servers. Check the Cursor documentation. Test on the dev store.
Shopify Customer Account MCP in Claude Code
- The documentation does not cover Claude Code. The standard remote command is
claude mcp add --transport http <name> <url>. - Complete the app setup: request Protected customer data in the Dev Dashboard and add the scopes and redirect URIs to
shopify.app.toml. - Deploy the app, install it on the dev store and discover the MCP URL from
mcp_apiathttps://{shopDomain}/.well-known/customer-account-api. - Get an access token through the authorization code flow with
PKCE, then add the server with the discovered URL in place of<url>. - Authentication is not covered for Claude Code. Check the Claude Code documentation for passing an
Authorizationheader. Then ask the agent to runtools/listequivalents and keep it to read-only requests on the dev store.
Check that it works
Start with questions that only read data. If these answer from your real account, the connection is good.
- List the tools this Customer Accounts MCP server exposes and summarize what each one does.
- For the signed-in test customer on the dev store, show the status of their most recent order.
- For the signed-in test customer, list their past orders without changing anything in the account.
Troubleshooting
+Why do I get a 401 Unauthorized response?
The documentation says a 401 means the request has no valid access token. Start the OAuth flow: read the endpoints from `/.well-known/openid-configuration`, run the authorization code flow with PKCE, exchange the code at `token_endpoint`, then retry the MCP request with the token in the `Authorization` header.
+How do I find the MCP endpoint for my store?
The endpoint is not fixed. Fetch `https://{shopDomain}/.well-known/customer-account-api` from the storefront domain and read the `mcp_api` field. The store needs a custom domain configured. The documentation shows the result as `https://{shopDomain}/customer/api/mcp`.
+Why does the authorization request fail or return no customer data?
Check that `redirect_uri` matches the `redirect_uris` in `shopify.app.toml` and that the app is deployed and installed on the dev store. Confirm Protected customer data access was requested with reasons for each field. Also check that the scopes include the customer scopes you need.
Written Nov 20, 2026 from the vendor documentation. Exact menus, addresses and commands change; the official documentation is the source of truth.
Questions and answers
Questions readers and searchers ask about installing Shopify Customer Account MCP, answered by the site editor from the vendor documentation, plus reader experience. Every comment is reviewed before it appears.