Skip to main content
S

Shopify

@codespar/mcp-shopify Β· v0.2.2

🌐 GlobalE-CommerceAuth · API Keybeta28 tools3 env vars

Global ecommerce platform β€” dominant DTC backend. Admin REST API v2024-01. Orders, products, customers, inventory, fulfillments, webhooks. Complements Tienda Nube (regional-only) for international DTC brands.

Get started Β· freeView docs

MIT Β· runs locally with your own credentials

Package
@codespar/mcp-shopify
Version
0.2.2
npm dist-tag
latest
Category
E-Commerce
Auth
API Key
Country
🌐 Global
License
MIT
Transport
stdio Β· streamable-http

Quickstart

Install, set the credentials, make the first call.

Pick your client. The server runs locally over stdio, with your own credentials.

Add the server to your clientOne config entry. No build step, no SDK required.
Set the environment variables3 variables read by this server's code, listed below.
Restart and make the first callThe agent can call any of the 28 tools. Try list_orders first.
terminal
# Claude Code claude mcp add shopify -e SHOPIFY_ACCESS_TOKEN=… -e SHOPIFY_API_VERSION=… -e SHOPIFY_SHOP=… -- npx -y @codespar/mcp-shopify@0.2.2 # then: /mcp to confirm the server is connected
Environment variables3 variables
SHOPIFY_ACCESS_TOKENShopify Admin API access token (private/custom app) sent as X-Shopify-Access-Token headerrequiredsecret
SHOPIFY_API_VERSIONShopify Admin API version. Defaults to 2024-01.optional
SHOPIFY_SHOPShopify shop subdomain (e.g. 'acme' for acme.myshopify.com)required

Names read from the package code (@codespar/mcp-shopify@0.2.2). Descriptions and flags come from its manifest. Self-hosted, you hold the credentials.

First call demolist_orders

"List orders with optional filters. Returns an array of order objects with line items, customer, shipping, and financial status"

tools/calllist_ordersresult returned

Tools

What your agent can call.

28 tools, as the package's tools/list returns them.

list_orders

List orders with optional filters. Returns an array of order objects with line items, customer, shipping, and financial status.

get_order

Get a single order by ID with full detail.

create_order

Create a new order. Useful for draft orders, phone orders, or marketplace order ingestion.

update_order

Update an existing order (tags, note, email, shipping_address, metafields, etc).

cancel_order

Cancel an order. Optionally restock inventory, refund payment, notify customer.

list_products

List products with optional filters. Each product includes variants, images, and options.

get_product

Get a single product by ID including all variants and images.

create_product

Create a new product with variants, options, and images.

update_product

Update an existing product's fields, variants, or images.

list_customers

List customers with optional query filter.

create_customer

Create a new customer record.

adjust_inventory

Adjust the available inventory for a specific inventory_item at a specific location by a delta (positive to increase, negative to decrease).

Names and descriptions come from the package's tools/list (@codespar/mcp-shopify@0.2.2). A kind (read, write, delete) is shown only when the package annotates its tools or each tool was verified one by one; neither exists for this server yet.

Compatibility

MCP is a protocol. Any client that speaks it can mount this server.

The CodeSpar runtime does not route this server. Mount it in your client over stdio Β· streamable-http.

Protocol

Any MCP client

stdio Β· streamable-http

Questions

Before you install.

How do I install the Shopify MCP server?

Run npx -y @codespar/mcp-shopify@0.2.2 and add the config block above to your MCP client: Claude Code, Cursor, Claude Desktop, VS Code, or any MCP-compatible client. No build step, no SDK required.

What can my agent do with Shopify?

Shopify exposes 28 tools for e-commerce. Your agent calls them directly; the full list is above.

How does Shopify authenticate, and how are credentials stored?

Shopify uses API Key. Self-hosted, you hold the credentials: the server reads them from its environment variables.

How does Shopify handle upstream API changes?

Every server is versioned independently on npm. The command on this page pins 0.2.2, the version whose tools are listed here; your agent keeps running it until you change the version.

Is Shopify open source? How do I report a bug?

Yes. Shopify is MIT-licensed and published on npm as @codespar/mcp-shopify, source on GitHub (link in the Details panel). Report issues on the package repository; security issues go to security@codespar.dev, and we respond within 24 hours.

Start in seconds.

Add the config above, set the variables, and your agent calls the tools.

Start in seconds demo
Add the server to your client with the config above.
Set the environment variables listed above.
Ask your agent for the first call.
Shopify β€” MCP server Β· 28 tools | CodeSpar