MCP for Ecommerce: Native Tools & Custom Development
Short answer
An ecommerce MCP server exposes store functions, such as catalog search, carts, checkout, and store administration, as tools an AI agent can call through the Model Context Protocol. Shopify, WooCommerce, and BigCommerce now provide native MCP servers for much of this. Build custom only when you need data or logic those servers do not expose, such as fitment, B2B pricing, or ERP inventory.
Key takeaways
- Separate three access layers: catalog discovery, cart and checkout, and admin or store management. They have different auth, risk, and platform support.
- Shopify removed the old catalog and cart tools on /api/mcp; current tools live on /api/ucp/mcp (Storefront Catalog, Cart, and Checkout MCP) plus Shop MCP and WebMCP.
- WooCommerce MCP is a developer preview reached through the WordPress MCP Adapter; BigCommerce Storefront MCP is generally available and Store Management MCP is in early access.
- Custom MCP work is justified by gaps: data the platform does not hold, logic it does not run, or systems it cannot reach.
- A working MCP server proves tool access only. It does not prove any AI system will recommend your products or complete purchases.
- Follow the MCP security best practices for protocol version 2026-07-28: no token passthrough, least-privilege scopes, and handles that are never treated as authentication.
What is MCP in ecommerce?
The Model Context Protocol (MCP) is an open protocol that lets an AI application discover and call tools exposed by a server, using JSON-RPC messages with typed inputs and outputs. In ecommerce, those tools are store functions: search the catalog, read a product, build a cart, start a checkout, or update inventory.
MCP is a transport for tool access. It is not a shopping channel, a ranking signal, or a payment protocol. Commerce-specific semantics, such as what a checkout session looks like, increasingly come from commerce protocols that run over MCP or REST. For example, Shopify's current MCP servers implement Google's Universal Commerce Protocol (UCP) capabilities. For how these layers fit together, see ACP vs UCP vs MCP.
- MCP server
- A service that publishes tools (and optionally resources and prompts) that an MCP client, usually an AI agent, can list and call.
- UCP
- Universal Commerce Protocol, an open specification for commerce capabilities such as catalog, cart, and checkout that agents and businesses negotiate through published profiles.
- WebMCP
- A proposed web standard that lets a web page register tools with the browser, so an agent working in the shopper's tab can call them instead of simulating clicks.
- Agent profile
- A URL describing an agent's identity and supported UCP capabilities. Shopify's UCP MCP servers require one on every request.
What can an ecommerce MCP server do?
An ecommerce MCP server can do anything you expose as a tool, but the useful work falls into three layers. Treat them as separate projects, because each has a different audience, authentication model, and failure cost.
| Layer | Typical tools | Who calls it | Auth model | Risk if misused |
|---|---|---|---|---|
| Catalog discovery | Search products, get product details, look up variants, find store locations, answer policy questions | Any shopping agent, often anonymously | Usually none or agent identification; public data only | Low: wrong or stale data, scraping load |
| Cart and checkout | Create and update carts, create checkout sessions, hand off or complete payment | Shopping agents acting for a buyer | Agent identification, signed requests, or tokens; idempotency keys on payment steps | Medium to high: wrong orders, abandoned sessions, payment errors |
| Admin and management | Edit products, adjust inventory, read orders, change prices, manage customers | Staff, internal agents, or trusted partners | OAuth with per-user, least-privilege scopes | High: data loss, price errors, PII exposure |
Most of the confusion in older MCP guides (including the earlier version of this article) came from mixing these layers, for example describing a public catalog tool and a cart-mutation tool as one "MCP server" with one security model.
Does Shopify have an MCP server for ecommerce?
Yes. Shopify documents several MCP servers, and they replaced the original Storefront MCP catalog and cart tools. Shopify's migration guide states that the catalog and cart tools on https://{shop}/api/mcp were removed, so code calling search_shop_catalog, get_product_details, get_cart, or update_cart on that endpoint needs migrating. The step-by-step move is covered in Shopify Storefront MCP migration.
| Surface | Layer | Endpoint | Documented tools | Access notes |
|---|---|---|---|---|
| Storefront Catalog MCP | Catalog | https://{shop}/api/ucp/mcp | search_catalog, lookup_catalog, get_product, search_locations, lookup_locations | No credentials described; every request carries meta.ucp-agent.profile. Location tools appear only for stores with an active in-person location. |
| Cart MCP | Cart | https://{shop}/api/ucp/mcp | create_cart, get_cart, update_cart, cancel_cart | No Bearer token required; agent profile required. update_cart replaces the full cart state. |
| Checkout MCP | Checkout | https://{shop}/api/ucp/mcp | create_checkout, get_checkout, update_checkout, complete_checkout, cancel_checkout | Requests must be authenticated or signed (client-credentials token from Dev Dashboard, or HTTP Message Signatures). Under general access the buyer usually finishes on the merchant checkout via continue_url. |
| Ask MCP | Catalog (policies) | https://{shop}/api/ucp/mcp | ask_business | Replaces policy and FAQ lookups from the old server. |
| Shop MCP | Catalog to checkout across merchants | https://mcp.shop.com | Search Shopify Catalog, build carts, Shop Pay checkout | Shopify's recommended starting point for third-party agent builders (changelog, October 13, 2026). |
| WebMCP tools | Catalog, cart, checkout in the shopper's browser | Registered in the page via document.modelContext | search_catalog, get_product, update_cart, proceed_to_checkout, ask_business, and more | Provided on Liquid storefronts and Hydrogen 2026-10 storefronts; agent support currently limited to Chromium-based browsers. |
| Shopify MCP (admin) | Admin | Not public | GraphQL Admin API operations, store setup | Shopify's page says it "isn't publicly available yet." |
A documented catalog request looks like the example below. Note that there is no API key: the agent identifies itself with a UCP profile URL, and responses report prices in minor units.
// POST https://{shop-domain}/api/ucp/mcp
// Synthetic example based on Shopify's documented request shape (checked 2026-11-29).
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "search_catalog",
"arguments": {
"meta": {
"ucp-agent": { "profile": "https://agent.example.com/.well-known/ucp-profile.json" }
},
"catalog": {
"query": "waterproof hiking boots",
"context": { "address_country": "US", "intent": "Wide fit, under $200" }
}
}
}
}Does WooCommerce or BigCommerce support MCP?
Both do, with different maturity and a different focus. WooCommerce's MCP integration is an admin-oriented developer preview. BigCommerce offers storefront, browser, and store management servers.
WooCommerce MCP (developer preview)
- WooCommerce documents MCP as a developer preview whose implementation and APIs "may change in future releases."
- WooCommerce registers abilities through the WordPress Abilities API. You install the separate MCP Adapter plugin, which WooCommerce does not bundle. The default server endpoint is
/wp-json/mcp/mcp-adapter-default-server. - The WooCommerce-specific MCP endpoint was removed in WooCommerce 11.3 and now returns HTTP 410. Sites on 11.3 or later connect only through the adapter.
- Exposed abilities cover products (query, create, update, delete) and orders (query, query notes, update status, add notes). This is store management, not a public shopping catalog.
- Remote connections authenticate with a WordPress username plus an Application Password; local connections use STDIO through WP-CLI.
Details and setup are in the WooCommerce MCP integration guide.
BigCommerce MCP servers
- Storefront MCP is described as generally available. The store owner turns it on under Settings, API and MCP, MCP. It covers catalog, cart, and checkout, and B2B Edition stores also get shopping list and quote tools for authenticated buyers.
- WebMCP is on by default for eligible storefronts (Stencil, and Catalyst on Cloudflare). When Storefront MCP is on, its shopping tools sync to WebMCP.
- Store Management MCP is in early access. BigCommerce's November 19, 2026 changelog says any store can now turn it on without an access request. It uses OAuth 2.1 with PKCE, starts users with no access, and lets an administrator grant scopes per user. Endpoints are
https://api.bigcommerce.com/mcpor the per-storehttps://api.bigcommerce.com/stores/{store_hash}/mcp, with per-user, per-store rate limits.
| Platform | Catalog | Cart and checkout | Admin and management |
|---|---|---|---|
| Shopify | Yes: Storefront Catalog MCP, Shop MCP, WebMCP | Yes: Cart MCP, Checkout MCP (signed or authenticated), WebMCP | Shopify MCP announced, not public yet; Dev MCP for developer tasks |
| WooCommerce | Product query abilities via adapter (authenticated) | Not in the documented default abilities | Yes, developer preview: products and orders |
| BigCommerce | Yes: Storefront MCP (GA) | Yes: Storefront MCP cart and checkout tools | Yes: Store Management MCP (early access) |
| Headless or custom | Whatever you build | Whatever you build or integrate | Whatever you build |
When should I build a custom MCP server instead of using native tools?
Build custom when the agent needs data, logic, or systems the platform's MCP tools do not reach. If the native tools already expose what the buyer needs, the better investment is usually the product data behind them, not a second server.
| Situation | Native tools enough? | Custom work that makes sense |
|---|---|---|
| Shopify or BigCommerce store with standard products, wants AI shopping discovery | Yes | None for MCP. Improve titles, attributes, and variants feeding the catalog. |
| Products depend on compatibility, fitment, or dimensions | Partly: catalog search works, but cannot answer "does this fit?" | A read-only tool (example below) backed by your fitment or spec data. |
| B2B customer-specific prices, quotes, or approval rules outside the platform | Partly: BigCommerce B2B Edition has quote and list tools; Shopify excludes identifiable B2B-only products from Catalog | Authenticated tools that call your pricing engine or ERP with per-customer scopes. |
| Inventory or price truth lives in an ERP, OMS, or PIM | No, if the platform copy is stale | Sync jobs first; a tool only if real-time checks are needed. See inventory and pricing integration. |
| Headless or custom commerce stack | No native server | Catalog and cart tools over your APIs, ideally aligned with UCP capabilities so agents can reuse them. |
| Internal staff want an agent for merchandising or operations | Sometimes: WooCommerce preview, BigCommerce early access | A narrowly scoped admin server with OAuth, audit logs, and human approval on writes. |
| You want to be "ready" for agents but have no defined use case | Yes, use what exists | Nothing yet. Define the buyer task first. |
// Synthetic tool definition for a custom read-only compatibility tool.
// Not a platform tool: this is the kind of gap a custom server fills.
{
"name": "check_fitment",
"description": "Return which variants of a part fit a given vehicle. Read-only. Never changes carts or orders.",
"inputSchema": {
"type": "object",
"properties": {
"product_id": { "type": "string", "description": "Catalog product ID" },
"year": { "type": "integer", "minimum": 1980, "maximum": 2027 },
"make": { "type": "string" },
"model": { "type": "string" }
},
"required": ["product_id", "year", "make", "model"],
"additionalProperties": false
},
"annotations": { "readOnlyHint": true }
}A good custom tool is narrow, read-only where possible, and described precisely, because agents choose tools from their descriptions. For a hands-on build, follow Build an Ecommerce MCP Server with TypeScript. If you are weighing MCP against a plain API for a partner integration, see MCP vs REST APIs for ecommerce.
How do you scope a custom ecommerce MCP server?
Start from one buyer or staff task, map it to the data it needs, and confirm that no native tool covers it. Then build the smallest tool set that completes the task.
- 1
Inventory native tools
List what your platform already exposes at each layer, using the tables above and the platform docs. Call the native tools with a test agent profile and record which buyer questions they cannot answer.
- 2
Name the gap
Write the gap as a task: "tell a buyer which brake pads fit a 2019 Civic," not "agent readiness." Each task becomes one or two tools.
- 3
Pick the layer and auth model
Catalog tools can be public. Cart and checkout tools need agent identification and idempotency. Admin tools need OAuth with per-user scopes.
- 4
Define schemas and descriptions
Use strict JSON Schema inputs (
additionalProperties: false), explicit units and currencies, and descriptions that say what the tool will not do. - 5
Connect the source of truth
Read from the system that owns the data (PIM, ERP, fitment database), with caching rules that match how fast that data changes.
- 6
Test against real clients
Exercise the server with the MCP clients your users actually run, including error paths, rate limits, and stale data.
- 7
Monitor after launch
Log tool calls, latency, errors, and scope use. Platform and spec versions change, so recheck compatibility on a schedule.
How do you secure an ecommerce MCP server?
Apply the MCP project's security best practices for protocol version 2026-07-28, and match controls to the layer: public catalog tools need abuse controls, while cart, checkout, and admin tools need real authorization. The core rules are summarized below; MCP authentication for ecommerce covers implementation.
| Risk (as named in the MCP docs) | What the docs require or recommend | Commerce example |
|---|---|---|
| Token passthrough | MCP servers MUST NOT accept tokens that were not explicitly issued for the MCP server. | Do not forward a shopper's or staff member's platform token straight to the Admin API. |
| Confused deputy | MCP proxy servers MUST implement per-client consent before forwarding to a third-party authorization server, with exact redirect URI matching and single-use state values. | A server that proxies to Shopify, BigCommerce, or an ERP with one static OAuth client. |
| State handle hijacking | Servers MUST NOT treat possession of a state handle as authentication; handles SHOULD be random and bound to the authenticated user. | Cart IDs, checkout IDs, and quote IDs passed as tool arguments. |
| Scope minimization | Start with minimal scopes and step up with targeted WWW-Authenticate challenges; avoid wildcard scopes. | Read-only catalog scope by default; separate scopes for price edits and order updates. |
| SSRF | Clients deployed on servers MUST consider SSRF when fetching OAuth metadata URLs; block private ranges and use egress proxies. | An internal agent platform connecting to many vendors' MCP servers. |
| Local server compromise | Clients MUST show the exact command and get consent before one-click local server setup; local servers SHOULD prefer stdio. | Staff installing a local catalog-editing server. |
Version 2026-07-28 of the protocol is stateless, with no protocol-level sessions, and marks Dynamic Client Registration as deprecated. Code written against the 2025-era session and handshake model may need updating; check your SDK's release notes before upgrading.
Will an MCP server make AI agents recommend my products?
No. An MCP server proves only that an agent which chooses to connect can call your tools. Whether ChatGPT, Gemini, Copilot, or another system surfaces your products depends on their own catalogs, eligibility rules, and ranking, which no MCP server controls.
- Discovery in major AI shopping surfaces mostly comes from feeds and platform catalogs (for example Shopify Catalog or an OpenAI product feed), not from agents finding your MCP endpoint.
- Tool access matters when an agent or app integrates with your server, or when a browser agent uses WebMCP on your pages.
- Checkout is governed by each surface's own rules; Shopify's Checkout MCP, for example, commonly escalates to the merchant checkout under general access.
For a broader readiness view across these layers, use the agentic commerce readiness checklist.
Frequently asked questions
Do I need an MCP server to sell through ChatGPT?
Not usually. Product discovery in ChatGPT shopping comes from product feeds and platform integrations such as Shopify Catalog. An MCP server becomes relevant when you build an app or custom integration that agents call directly.
Does the old Shopify /api/mcp search_shop_catalog tool still work?
No. Shopify's migration documentation says the catalog and cart tools on /api/mcp were removed. Use Storefront Catalog MCP and Cart MCP on /api/ucp/mcp, or Shop MCP, and include an agent profile in each request.
Is WooCommerce MCP production-ready?
WooCommerce labels it a developer preview and warns that implementation and APIs may change. It is reached through the WordPress MCP Adapter plugin and exposes product and order management abilities. Test it on staging and use a dedicated, least-privilege WordPress user.
What is the difference between an MCP server and WebMCP?
An MCP server runs on a server and agents connect to it over the network. WebMCP tools are registered by a web page in the shopper's own browser and act on that live session. Shopify and BigCommerce both provide WebMCP tools on eligible storefronts.
Should an ecommerce MCP server allow agents to edit products or prices?
Only for authenticated staff or trusted systems with narrow scopes, audit logs, and confirmation on risky changes. Keep admin tools on a separate server or scope set from public catalog tools. Never expose write tools anonymously.
Which MCP protocol version should I target?
As of 2026-11-29 the current MCP protocol version is 2026-07-28, which is stateless and negotiates the version per request. Many clients still use earlier handshake-based versions, so test against the clients your users run and support backward compatibility where your SDK allows it.
How much does a custom ecommerce MCP server cost?
It depends on the number of tools, the systems behind them, the auth model, and the testing required; read-only catalog tools are far smaller than authenticated checkout or admin tools. We quote after scoping, and the drivers are explained in MCP server development cost.
Check whether you need a custom MCP server
Tell us your platform, the buyer or staff task you want agents to handle, and the systems that hold the data. We start by testing what your platform already provides.
Related
- Build an Ecommerce MCP Server with TypeScriptA hands-on build of a custom catalog tool server.
- Shopify Storefront MCP MigrationMove from the removed /api/mcp tools to UCP-based servers.
- MCP Authentication for EcommerceOAuth, scopes, and token handling for cart and admin tools.
- MCP vs REST APIs for EcommerceWhen a protocol layer helps and when a plain API is enough.
- WebMCP for EcommerceBrowser-side tools on Shopify and BigCommerce storefronts.
- Ecommerce MCP Server DevelopmentNative-first assessment and custom tool development.
Sources
- Shopify: Storefront Catalog MCP
- Shopify: Migrate from Storefront MCP — States the /api/mcp catalog and cart tools were removed.
- Shopify: Cart MCP
- Shopify: Checkout MCP
- Shopify: WebMCP tools
- Shopify changelog: Shop MCP
- WooCommerce: MCP (developer preview)
- BigCommerce developer changelog, November 19, 2026
- BigCommerce: MCP server overview
- MCP: Security best practices (2026-07-28)
Platform capabilities, eligibility, and specifications change. Sources were checked on 2026-11-29; confirm the current primary documentation before scoping an implementation. See our editorial policy and methodology.