100+ integrations are ready to connect to your AI.Connect your first MCP

Rebuy MCP server for your AI

See what Rebuy would recommend with a product, check your top sellers and trending products, test a data source against a real cart, and search your store the way shoppers do, all from your AI client.

PopMCPRebuy

What are my top sellers and trending products right now?

Supported Rebuy tools

Rebuy's documented API is all here: its AI product lists, your data sources, widget settings, Smart Search, Smart Collections, Meta Shops and analytics events. Long lists come back short and searchable, and product answers stay compact unless your AI asks for more.

28 tools in the full catalog: 26 read and 2 write. 24 load by default, and the rest are found with tool search.

rebuy_get_collection_products

Get products from one or more Shopify collections, optionally sorted by Rebuy.

rebuy_get_complementary_to_viewed

Get products that go with what one shopper viewed.

rebuy_get_products_by_id

Get specific products as Rebuy holds them, by id or handle.

rebuy_get_purchased_products

Get the products one customer bought before, the list behind Rebuy's Buy It Again.

rebuy_get_recommended_products

Get Rebuy's AI cross-sell picks: the products most likely to convert alongside the ones given.

rebuy_get_similar_products

Get products similar to one product, from Rebuy's AI.

rebuy_get_top_sellers

Get the store's best selling products by Rebuy's sales data.

rebuy_get_trending_products

Get products trending in recent sales.

rebuy_get_viewed_products

Get the products one shopper recently viewed.

rebuy_get_shopper_products

See one shopper in one call: what they bought, what they recently viewed and what goes with what they viewed.

rebuy_get_smart_cart_settings

Read the store's Smart Cart settings: whether it is on, its layout, cross-sell widget, buy more save more tiers, progress bar and wording.

rebuy_get_store_snapshot

Get the store's top sellers, trending products and Rebuy's recommended products in one call.

rebuy_list_data_sources

Find the store's data sources: Rebuy's built-in ones and the merchant's own rulesets, also called custom endpoints.

rebuy_list_smart_flows

List the store's active Smart Flows: the popups, banners and targeted offers shown to shoppers.

rebuy_quick_view_search

Get autocomplete suggestions for what a shopper is typing, as in the Smart Search Quick View.

rebuy_search_content

Search the store's articles and blog posts through Smart Search.

rebuy_search_products

Search the store's products the way shoppers do, with the merchant's Smart Search settings applied.

rebuy_get_smart_collection_products

List the products in one Smart Collection as shoppers see them, with filters and sorting.

rebuy_get_smart_collection_settings

Read the Smart Collections settings in force for one collection, with any running campaign applied.

rebuy_run_data_source

Run one of the merchant's data sources, also called custom endpoints or rulesets, and see what it would show this shopper.

rebuy_track_event

Record one shopper event in Rebuy's analytics, such as a product view.

rebuy_track_events_bulk

Record up to 100 shopper events in one call.

rebuy_get_shop_config

Read the connected store's Rebuy setup: name, domains, currency, cache key, which features and integrations are on, and a short list of its Smart Cart and Smart Flows.

rebuy_get_widget_settings

Read all the settings of one Rebuy widget: its data source, layout, placement, discount, wording and styles.

rebuy_meta_get_collection_trending

Get what is trending in one collection for Meta Shops.

rebuy_meta_get_recommended

Get recommendations for Meta Shops.

rebuy_meta_get_storefront_trending

Get what is trending across the store for Meta Shops.

rebuy_list_sources

List every data source in the store as Rebuy returns it: the built-in ones and the merchant's own rulesets, with the names of the inputs each takes.

Connect Rebuy to Claude, ChatGPT and Claude Code

Credentials off one Rebuy screen, then an endpoint your client signs into. Nothing to deploy, and nothing to install.

In the Rebuy admin, open Settings, then API Keys, and copy a key. If there is none yet, click Create new API Key. Paste it into PopMCP, which checks it with Rebuy and finds your store from it, so there is nothing else to fill in.

API key••••••••••••3f7a
Store domain (optional)example-brand.myshopify.com
Meta Shops key (optional)••••••••••••3f7a
ConnectionVerified

Then just ask for the work

  • “What are my top sellers and trending products right now?”

    • get_store_snapshot
  • “What would Rebuy recommend alongside the Classic Beanie?”

    • search_products
    • get_recommended_products
  • “Find my post-purchase data source and show what it returns for a cart holding product 562415992868”

    • list_data_sources
    • run_data_source
  • “How is my Smart Cart set up, and which Smart Flows are running?”

    • get_smart_cart_settings
    • list_smart_flows
  • “Search my store for hats under 50 dollars, in stock only, and show the filters shoppers get”

    • search_products
  • “What did customer 65069794 buy and view, and what goes with what they viewed?”

    • get_shopper_products

Use Rebuy from the assistant you already open

One hosted endpoint, registered once per client. The same tools and the same permissions, whichever window the request comes from.

Claude DesktopCustom connector

Add the PopMCP URL under Customize → Connectors and the tools appear in every chat.

Claude WebCustom connector

The same endpoint, registered in the browser. Nothing to install on the machine you are working from.

ChatGPTCustom connector

Register PopMCP as a custom connector, then let ChatGPT read and update the account.

CodexDesktop & CLI

Wire the endpoint into Codex or the Codex CLI when a task needs live business context, not a fixture.

OpenCodeCoding agent

Register the remote MCP server in OpenCode's config for terminal-first and scripted agent runs.

ZCodeDesktop app

Add PopMCP as an MCP server in Z.ai's desktop app and work the account from the same window.

Rebuy MCP server questions

What teams ask before putting Rebuy behind an AI client.

What do I need to connect Rebuy?

A Rebuy account and one API key. In the Rebuy admin, open Settings, then API Keys. PopMCP uses the key to find your store, so usually that is all you paste.

Can the AI change my widgets or Smart Cart?

No. Rebuy's API can read widget and Smart Cart settings but has no way to change them, so those edits stay in the Rebuy admin. The AI can tell you what to change.

Can it read my orders or sales reports?

No. Rebuy's documented API has no calls for orders or reports. It can show what a customer bought as a list of products, and your top sellers and trending products.

Can the AI change anything at all?

Only analytics events, such as recording that a shopper viewed a product. They join your real data and feed recently viewed lists. New connections are read-only, which removes those tools until you allow write actions.

Why do Smart Search or Smart Collections tools fail for me?

They only work if the store has those features on. Ask the AI to read your store's Rebuy setup, which shows whether each one is on.

What is the Meta Shops key under More options?

Rebuy's Meta Shops recommendation calls ask for a private key. You only need it for those tools, and can ask Rebuy for it. Everything else works with the key from your API Keys page.

Is my key safe if it is in a URL?

Some Rebuy calls take the key in the address, and that is how Rebuy designed them. PopMCP stores the key encrypted, sends it only to Rebuy from its servers, and removes it from every answer the AI sees.

Do I have to run or host the Rebuy MCP server myself?

No. PopMCP hosts it and gives you a Streamable HTTP MCP URL. There is nothing to deploy, no callback URL to register, and no infrastructure to keep running or patch.

Which AI clients can use this MCP server?

Any client that supports a remote Streamable HTTP MCP server: Claude Desktop, Claude Web, Claude Code, ChatGPT custom connectors, Codex and the Codex CLI, OpenCode and Z.ai's ZCode, as well as editors such as Cursor, Windsurf and Zed. Your client signs in to PopMCP with OAuth; the provider credential never leaves the server.

How do I connect Rebuy to Claude Code?

Connect Rebuy in PopMCP first, then run claude mcp add --transport http popmcp https://app.popmcp.com/mcp in a terminal. Inside Claude Code, run /mcp and sign in to PopMCP in the browser window it opens, ticking Rebuy on the consent screen. The Rebuy tools are then available in that session, and no Rebuy credential is stored on your machine.

Why do only 24 of the 28 tools load by default?

Loading 28 tool definitions into every conversation burns context before the work starts. PopMCP loads a curated 24-tool set covering the everyday workflows and keeps the rest searchable, so your AI pulls a specialist tool only when a task needs it. Every tool stays searchable, and on Scale the owner can load the full catalog for a teammate's connection.

What is the difference between a tool and a trigger?

A tool is something your AI calls, and there are 28 here. A trigger is something PopMCP watches for you: 3 Rebuy events that can start work on the PopMCP side. Triggers never enter your AI client's context, and none of them ask you to paste a callback URL into Rebuy.

Connect Rebuy to your AI in minutes

Launch a hosted MCP endpoint for Rebuy, keep tool access under control, and start testing real workflow prompts right away.

Connect your first MCP