Skip to main content
MCP (Model Context Protocol) is an open standard that lets an AI client read data from outside tools. Aftersell hosts an MCP server that gives your AI client read-only access to your store’s Aftersell analytics. The self-serve connect page lets you link an AI client — such as Claude Desktop — to your store’s Aftersell analytics. Once connected, you can ask your AI client questions about your store’s upsell performance, funnel results, and more, directly in natural language. The connection is read-only: your AI client can read your Aftersell analytics data but cannot place orders or change any settings. Personally identifiable customer fields are blocked.

What you can ask

Once connected, you can ask your AI client questions like:
  • How much extra revenue did my upsells make last week?
  • How do I stack up against similar stores on post-purchase performance?
  • How are my funnels performing this week?
  • Break down my offer responses - how many were accepted, declined, or timed out?
  • Why aren’t my post-purchase offers showing to more shoppers?
  • Which upsell products drove the most revenue last month?
  • Which of my active funnels is underperforming on conversions?
  • How many orders did my store get each day this month, and what was my average order value?
  • Compare my primary offer step vs the second offer vs the downsell - which converts best?
  • Is my upsell conversion rate trending up or down lately?
  • How many people saw my post-purchase offers each day over the last two weeks?
  • How does my revenue per visitor compare to similar stores?
  • Trace order #1234 - did the shopper see an offer?

Connecting your AI client

The connect page opens with Choose your AI client, a picker offering Claude Desktop, Claude Code, Codex App, and Codex CLI. The steps below it change to match your choice: Claude Desktop and Codex App give you a connector URL to paste into the client’s own settings, while Claude Code and Codex CLI give you a single terminal command to copy instead. The walkthrough below is for Claude Desktop.
  1. On the connect page, choose Claude Desktop. A single-use connect code is minted for you automatically and shown under step 3, Enter the connect code — you do not have to click anything to get one. It expires 6 hours after it is generated; Regenerate gives you a fresh one, and Generate appears instead if no code is currently shown.
  2. Copy the Remote MCP server URL from step 2, Add the connector to Claude Desktop. It is shown whether or not a code has been generated.
  3. In Claude Desktop, open Settings, then Connectors.
  4. Choose Add custom connector and paste in the URL.
  5. Click Connect. Claude will ask for a connect code.
  6. Enter the connect code from step 1.
  7. A verification number appears in both Claude and your Aftersell admin. Select the matching number in your admin to approve the connection.
Once approved, your status changes to Connected and you can start asking questions.

Connecting a second store

Your MCP connection is tied to your email address, not a single store. Once you have a connection set up, you can link additional stores without going through the full setup again. To link another store:
  1. Open the connect page from that store’s Aftersell admin.
  2. The page shows a Store data access section with a Link store button.
  3. Click Link store. The store is linked immediately — no connect code or approval needed.
Once linked, your AI client can read that store’s Aftersell data through the same connection. If you have more than one store linked, tell your AI client which store you’re asking about.

The two sections on the connect page

The connect page has two independent sections:
  • MCP connection — the status of your AI client’s connection to Aftersell MCP. This is email-global: one connection reaches every store you’ve linked.
  • Store data access — whether this specific store’s data is accessible through your connection.
The store data access section only appears once your MCP connection is active.

Connection statuses

MCP connection

If your connect code or a pending approval lapses before the connection completes, the status stays Not connected — there is no separate expired status. Generate a new code and run through the steps again.

Store data access

Unlike the MCP connection section above, this section shows a status badge in one case only — Expired. The other states are shown in different ways:

Disconnecting

To disconnect your AI client from Aftersell MCP, click Disconnect on the connect page and confirm. This disconnects your AI client from all stores immediately. Your store access records are kept, so you can reconnect anytime by following the setup steps again.

Who can connect

Store owners, staff members, and collaborators can all self-connect. Collaborators connect and link stores for their own email address, scoped to the store they have a session for. Managing other people’s MCP access — granting, approving, or revoking access for others — is limited to store owners and staff members. Access management is also rolled out separately from self-connecting, so the management screen may not be available on your store yet even though you can connect your own AI client. Contact the customer support team if you need it.

Frequently asked questions

What is an MCP? MCP (Model Context Protocol) is an open standard that lets an AI client connect to outside tools and data. This connector uses it to give your AI client read-only access to your store’s Aftersell analytics. What can the AI access? Only your store’s Aftersell analytics. Aftersell doesn’t hold a full copy of your store’s data, so the AI can’t see everything in Shopify — just the analytics Aftersell has, scoped to this shop. It’s read-only and personally identifiable customer fields are blocked. My AI is asking me to approve tool calls. What does that mean? AI clients ask for your approval before they run a tool, so you stay in control of what they do. When your AI wants to read your Aftersell data, it asks to call this connector’s tools. Approve them to let it answer. It’s read-only, so approving only lets the AI read your analytics; it can’t place orders or change anything in your store. Is my data safe? Yes. The connector is read-only and scoped to your store’s Aftersell analytics only. The verification number step during setup ensures only you can approve a connection. How do I connect another store? Open the connect page from each store’s Aftersell admin and click Link store to give your connection access. Your MCP connection reaches every store you’ve linked, so when you have more than one, tell your AI client which store you’re asking about. My connect code expired. What do I do? Generate a new code on this page and use that one. Each new code replaces the previous unused one. How do I stop the AI’s access? Click Disconnect on this page to disconnect your AI client from Aftersell MCP right away. You can connect again anytime by following the setup steps. Can I have multiple AI clients connected? Each connect code is single-use. To connect a second device or client, generate a new connect code and repeat the setup steps.