Shopify MCP server
28 operations1 webhook
Read and manage products, variants, inventory, collections, orders and customers in a Shopify store, and verify the webhooks Shopify sends.
Try Shopify with your agent
Connect Shopify, then paste this into Claude, ChatGPT or Cursor. For ideas from other apps, see the use cases.
Using Corsair, show me what you can do in Shopify on my account, then run one read-only example and show me the result.
Shopify tools and triggers
Tools are what your agent can do in Shopify through Corsair's MCP server. Triggers are the Shopify events a routine can start from.
Orders
- CancelDestructive
Cancel an order, optionally restocking and notifying the customer; does not refund
orders.cancel
- CloseWrite
Close a completed or cancelled order so it no longer counts as open
orders.close
- GetRead-only
Read one order by GID with its customer and a page of its line items
orders.get
- ListRead-only
List orders with totals and line items, filtered and sorted, cursor-paged
orders.list
- List Line ItemsRead-only
Read one page of an order line items, cursor-paged, for orders with more than one page
orders.listLineItems
- Mark As PaidDestructive
Mark an order as paid: captures an existing payment authorization, or records a manual payment for the outstanding amount
orders.markAsPaid
Products
- CreateWrite
Create a product with its title and catalog fields; variants are added separately
products.create
- DeleteDestructive
Permanently delete a product with its variants, media and inventory items
products.delete
- GetRead-only
Read one product by GID, including its first variants and inventory totals
products.get
- ListRead-only
List products with their first variants, cursor-paged and filtered with Shopify search syntax
products.list
- UpdateWrite
Update a product, changing only the fields that are passed
products.update
Collections
- Add ProductsWrite
Add products to a collection; the whole call fails if any is already present
collections.addProducts
- CreateWrite
Create a manual collection with a title and handle
collections.create
- GetRead-only
Read one collection by GID
collections.get
- ListRead-only
List collections with their product counts, cursor-paged
collections.list
Customers
- CreateWrite
Create a customer with an email, name and tags
customers.create
- GetRead-only
Read one customer by GID, including addresses and spend
customers.get
- ListRead-only
List customers with order counts and spend, cursor-paged and filtered
customers.list
- UpdateWrite
Update a customer, overwriting tags when tags are passed
customers.update
Webhook Subscriptions
- CreateWrite
Register a JSON webhook subscription for one topic and URI
webhookSubscriptions.create
- DeleteDestructive
Delete a webhook subscription, stopping further deliveries for that topic
webhookSubscriptions.delete
- ListRead-only
List shop-scoped webhook subscriptions, optionally filtered by topic
webhookSubscriptions.list
Inventory
- AdjustWrite
Adjust available stock by a signed delta at one location, with a reason
inventory.adjust
- ListRead-only
Read the available stock of one inventory item at every active location
inventory.list
Shop
- GetRead-only
Read the shop name, domain, currency and plan for the configured token
shop.get
- List LocationsRead-only
List the inventory locations of the shop, for use with inventory.adjust
shop.listLocations
Variants
- ListRead-only
List the variants of one product, cursor-paged, with price and stock
variants.list
- UpdateWrite
Update price, SKU, barcode or inventory policy on one variant
variants.update
Connect Shopify to Claude, ChatGPT or Cursor
- 1
Connect Shopify in Corsair
Add your Shopify API key once in Corsair. Corsair stores the credential encrypted and makes the Shopify API calls for your agent, so it never goes into a prompt or a config file. Connect Shopify
If your link lets the agent add apps, you can skip this: it gives you a sign-in link the first time it needs Shopify. On a ChatGPT personal plan, connect Shopify here first.
- 2
Add Corsair's MCP server to your agent
Every client uses the same address:
https://mcp.corsair.dev/mcpOpen Customize → Connectors → Add custom connector, paste the address, then select Connect.Add a custom MCP server with the address and choose OAuth. Personal plans get read tools only.Add to CursorOr add this to~/.cursor/mcp.json. Cursor opens Corsair to sign in the first time it connects.{ "mcpServers": { "corsair": { "url": "https://mcp.corsair.dev/mcp" } } }Run this, then run/mcpin Claude Code to sign in.claude mcp add --transport http corsair https://mcp.corsair.dev/mcpCodex, Gemini CLI, VS Code, Zed and other clients with OAuth sign-in work the same way. Clients without it, such as GitHub Copilot's coding agent, use a link's own address and an API key. Setup for every client
- 3
Sign in and choose what needs your approval
Your client opens Corsair to sign in. Pick a link: the apps your agent can use and a mode that decides what it may do without asking. In the default Cautious mode, Shopify's read and write operations run right away and its 4 destructive operations wait for your approval. Strict mode asks before every write and refuses destructive operations, and Read mode allows reads only.
FAQ
Install corsair and @corsair-dev/shopify, add the Shopify plugin, and connect with an API key. Then call methods like corsair.shopify.api.collections.addProducts() from your app. Corsair verifies webhooks, and keeps each tenant isolated.
Yes. Shopify requires an API key from your Shopify account or developer dashboard. Create credentials with access that matches what you automate, then paste them into Corsair or connect through managed auth in Hub.
Yes. One Corsair client can hit Shopify, GitHub, Notion, Stripe, and the rest. Trigger Shopify from a webhook, push updates to Slack, or chain actions across plugins. Same tenant context across integrations, plain TypeScript.
Teams use Corsair for read and manage products, variants, inventory, collections, orders and customers in a Shopify store, and verify the webhooks Shopify sends. Common builds include sync jobs, admin tooling, and agents that call Shopify APIs from your backend. Webhook handlers react to Shopify events and fan out to Slack, email, or other plugins in the same tenant.
The SDK is open source. Self-host and you pay Corsair nothing for the integration layer. Hub bills for hosted auth and execution, not per Shopify API call. Hub has a generous free tier. For hobby projects you can probably run the whole thing on free. Paid plans start to matter with more tenants or heavier traffic.
We maintain @corsair-dev/shopify in the open repo. When Shopify ships API changes, upgrade the package. Your call sites stay typed. You should not need to rewrite the integration layer each time.
No. Corsair does not read your Shopify data or hold individual access credentials. Credentials stay in your database. API calls run on your instance. We do not store Shopify data on your behalf.
Yes. Add https://mcp.corsair.dev/mcp as a custom connector or MCP server in Claude, ChatGPT, Cursor, VS Code, Claude Code, Codex or any client that supports remote MCP servers with OAuth sign-in, then sign in to Corsair. On ChatGPT personal plans, custom servers currently get read tools only.
Yes. Put Shopify on a link in Strict mode and every write waits for your approval, while destructive actions are refused. The default Cautious mode asks only before the 4 destructive Shopify operations. You can change a link's mode at hub.corsair.dev/me.