Skip to main content
ClaudeWave
A1-x-Tech avatar
A1-x-Tech

mcp-shopify-admin

View on GitHub

MCP server for the Shopify Admin API (GraphQL): products, orders, customers, inventory and discounts for AI agents.

MCP ServersOfficial Registry0 stars0 forksTypeScriptMITUpdated today
ClaudeWave Trust Score
95/100
Verified
Passed
  • Open-source license (MIT)
  • Actively maintained (<30d)
  • Clear description
  • Topics declared
  • Documented (README)
Last scanned: 8/23/2026
Install in Claude Code / Claude Desktop
Method: NPX · mcp-shopify-admin
Claude Code CLI
claude mcp add mcp-shopify-admin -- npx -y mcp-shopify-admin
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "mcp-shopify-admin": {
      "command": "npx",
      "args": ["-y", "mcp-shopify-admin"],
      "env": {
        "SHOPIFY_CLIENT_SECRET": "<shopify_client_secret>"
      }
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
Detected environment variables
SHOPIFY_CLIENT_SECRET
Use cases

MCP Servers overview

# <img src="./assets/a1-logo.svg" alt="A1" width="40"> Shopify Admin MCP

**English** | [Русский](./README.ru.md)

[![npm](https://img.shields.io/npm/v/mcp-shopify-admin)](https://www.npmjs.com/package/mcp-shopify-admin)
[![CI](https://github.com/A1-x-Tech/mcp-shopify-admin/actions/workflows/ci.yml/badge.svg)](https://github.com/A1-x-Tech/mcp-shopify-admin/actions/workflows/ci.yml)
[![Glama](https://glama.ai/mcp/servers/A1-x-Tech/mcp-shopify-admin/badges/score.svg)](https://glama.ai/mcp/servers/A1-x-Tech/mcp-shopify-admin)
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)

**A1 Shopify Admin MCP** connects AI applications to one Shopify store through the Admin GraphQL API. Ask in plain language about products, orders, customers, inventory, discounts, and shop data; the assistant uses the server's ready-made tools and shows the result.

- **One store per server.** The store domain and credentials come from configuration; tools cannot switch to another store.
- **Tokens stay fresh.** Give the server the client ID and secret of a Shopify Dev Dashboard app and it mints the Admin API token itself, keeps it in memory only, and re-mints it before the 24-hour expiry. A ready-made token from an older custom app still works too.
- **16 focused tools.** Read shop data, products, orders, customers, locations, inventory, and discounts, plus create or update the supported records.
- **GraphQL failures are surfaced.** Shopify can return HTTP 200 for a failed mutation, so the server checks `userErrors` and rejects empty or malformed GraphQL responses.
- **Cost-aware responses.** Every result includes the GraphQL cost bucket: the cost of the request and the points currently available for the next calls.
- **Risk is visible.** Reads are read-only; product, price, inventory, and discount writes are explicit; order cancellation and arbitrary GraphQL are marked destructive.

Start with a read-only request:

> Show the latest orders and the products that currently have inventory.

[Connect the server](#quick-start) · [Explore use cases](#what-you-can-ask-it-to-do) · [Open technical documentation](#technical-documentation)

---

## See it work in a minute

> **You:** Show the latest orders and the products that currently have inventory.
>
> **Assistant:** Shows recent orders with their statuses and totals, then products with prices and inventory. Nothing changes.
>
> **You:** Prepare a 20% discount code called `SUMMER` for two weeks.
>
> **Assistant:** Shows the proposed code, percentage, dates, and limits, then asks for confirmation before creating it.
>
> **You:** Confirm.

## Contents

- [Quick start](#quick-start)
- [What you can ask it to do](#what-you-can-ask-it-to-do)
- [What can change in Shopify](#what-can-change-in-shopify)
- [Getting access](#getting-access)
- [Configuration](#configuration)
- [Data, limits, and background work](#data-limits-and-background-work)
- [Technical documentation](#technical-documentation)
- [Support](#support)

## Quick start

You need Node.js 20+, a store domain such as `my-store.myshopify.com`, and Admin API credentials. The recommended set is the client ID and secret of a [Shopify Dev Dashboard](https://shopify.dev/docs/apps/build/dev-dashboard) app: the server exchanges them for an access token itself and keeps that token fresh, which matters because the token Shopify issues for this grant expires after 24 hours. The app and the store must belong to the same Shopify organization.

1. [Get access](#getting-access) and prepare the app's client ID and client secret.
2. Add the MCP server to your AI application.
3. Send the safe request from the opening section.

The server runs locally over stdio through `npx`. Browser-only ChatGPT and Claude web sessions cannot start a local stdio process directly.

Every snippet below uses that pair. If your store still holds a ready-made token from an admin-created custom app, replace `SHOPIFY_CLIENT_ID` and `SHOPIFY_CLIENT_SECRET` with a single `SHOPIFY_ACCESS_TOKEN` — see [Getting access](#getting-access).

<details open>
<summary><strong>Codex</strong></summary>

<br>

**Through the app:**

1. Open **Settings → Plugins → MCP servers**.
2. Select **Add server**.
3. Add `npx -y mcp-shopify-admin@latest` and set `SHOPIFY_STORE_DOMAIN`, `SHOPIFY_CLIENT_ID`, and `SHOPIFY_CLIENT_SECRET`.

**Through the CLI:**

```bash
codex mcp add shopify-admin \
  --env SHOPIFY_STORE_DOMAIN=my-store.myshopify.com \
  --env SHOPIFY_CLIENT_ID=your_client_id \
  --env SHOPIFY_CLIENT_SECRET=your_client_secret \
  -- npx -y mcp-shopify-admin@latest

codex mcp list
```

[Codex MCP documentation](https://learn.chatgpt.com/docs/extend/mcp?surface=cli)

</details>

<details>
<summary><strong>Claude Code</strong></summary>

<br>

```bash
claude mcp add \
  --env SHOPIFY_STORE_DOMAIN=my-store.myshopify.com \
  --env SHOPIFY_CLIENT_ID=your_client_id \
  --env SHOPIFY_CLIENT_SECRET=your_client_secret \
  --transport stdio --scope user shopify-admin \
  -- npx -y mcp-shopify-admin@latest

claude mcp list
```

[Claude Code MCP documentation](https://code.claude.com/docs/en/mcp)

</details>

<details>
<summary><strong>Claude Desktop</strong></summary>

<br>

Open **Settings → Developer → Edit Config** and add:

```json
{
  "mcpServers": {
    "shopify-admin": {
      "command": "npx",
      "args": ["-y", "mcp-shopify-admin@latest"],
      "env": {
        "SHOPIFY_STORE_DOMAIN": "my-store.myshopify.com",
        "SHOPIFY_CLIENT_ID": "your_client_id",
        "SHOPIFY_CLIENT_SECRET": "your_client_secret"
      }
    }
  }
}
```

If **Edit Config** is not available, edit `~/Library/Application Support/Claude/claude_desktop_config.json` on macOS or `%APPDATA%\Claude\claude_desktop_config.json` on Windows.

[Claude Desktop MCP documentation](https://support.claude.com/en/articles/10949351-getting-started-with-local-mcp-servers-on-claude-desktop)

</details>

<details>
<summary><strong>Cursor</strong></summary>

<br>

Add this server to `~/.cursor/mcp.json` on macOS/Linux or `%USERPROFILE%\.cursor\mcp.json` on Windows:

```json
{
  "mcpServers": {
    "shopify-admin": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "mcp-shopify-admin@latest"],
      "env": {
        "SHOPIFY_STORE_DOMAIN": "my-store.myshopify.com",
        "SHOPIFY_CLIENT_ID": "your_client_id",
        "SHOPIFY_CLIENT_SECRET": "your_client_secret"
      }
    }
  }
}
```

[Cursor MCP documentation](https://cursor.com/docs/mcp)

</details>

<details>
<summary><strong>VS Code</strong></summary>

<br>

Run **MCP: Open User Configuration** and add:

```json
{
  "inputs": [
    {
      "type": "promptString",
      "id": "shopify_store_domain",
      "description": "Shopify store domain, for example my-store.myshopify.com"
    },
    {
      "type": "promptString",
      "id": "shopify_client_id",
      "description": "Client ID of the Shopify Dev Dashboard app"
    },
    {
      "type": "promptString",
      "id": "shopify_client_secret",
      "description": "Client secret of that app",
      "password": true
    }
  ],
  "servers": {
    "shopify-admin": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "mcp-shopify-admin@latest"],
      "env": {
        "SHOPIFY_STORE_DOMAIN": "${input:shopify_store_domain}",
        "SHOPIFY_CLIENT_ID": "${input:shopify_client_id}",
        "SHOPIFY_CLIENT_SECRET": "${input:shopify_client_secret}"
      }
    }
  }
}
```

Check the server with **MCP: List Servers**.

[VS Code MCP documentation](https://code.visualstudio.com/docs/agent-customization/mcp-servers)

</details>

## What you can ask it to do

- **Inspect the store.** Show shop details, locations, products, orders, customers, or discounts.
- **Work with products.** Create a product draft, update product fields, or change variant prices.
- **Track inventory.** Find locations and set the absolute available quantity for inventory items.
- **Review orders.** Search orders, inspect a complete order, or cancel an eligible order with explicit refund and restock choices.
- **Manage discounts.** List existing discounts or create a basic code discount.
- **Use the escape hatch.** Run an arbitrary Admin GraphQL document for capabilities that do not have a dedicated tool.

## What can change in Shopify

| Operation | What happens | Data boundary |
|---|---|---|
| Shop, products, orders, customers, locations, discounts | Reads store data | Read-only |
| Product fields or variant prices | Replaces the fields supplied in the request | Changes the storefront data |
| Inventory quantities | Sets the absolute available quantity | Changes product availability |
| Product or discount creation | Creates a new Shopify object | Creates data and cannot be undone automatically |
| Order cancellation | Cancels an order and can refund and/or restock | Destructive and irreversible |
| `graphql_request` | Can run any Admin API query or mutation | Potentially destructive |

This server does not provide dedicated tools for creating orders, fulfillment, customer writes, variant creation, media, targeted discounts, or publishing products to sales channels. Use `graphql_request` only when you understand the document and its `userErrors` response.

The AI client may ask for confirmation before a write, but confirmation behavior belongs to that client. A clear request to create, update, set, or cancel authorizes the corresponding server operation.

## Getting access

The server authenticates in one of two ways: with the client ID and secret of a Dev Dashboard app, which it exchanges for an access token itself, or with a ready-to-use Admin API access token that it sends as-is. If both are configured, the ready-made token wins.

### Dev Dashboard app (recommended)

Shopify stopped allowing new admin-created custom apps on 2026-01-01, so this is the path for any store being set up today.

1. Create an app in the [Shopify Dev Dashboard](https://shopify.dev/docs/apps/build/dev-dashboard) or with the [Sh
ai-agentsecommercegraphqlmcpmodel-context-protocolshopifyshopify-admin

What people ask about mcp-shopify-admin

What is A1-x-Tech/mcp-shopify-admin?

+

A1-x-Tech/mcp-shopify-admin is mcp servers for the Claude AI ecosystem. MCP server for the Shopify Admin API (GraphQL): products, orders, customers, inventory and discounts for AI agents. It has 0 GitHub stars and its last recorded update is dated 2026-08-23.

How do I install mcp-shopify-admin?

+

You can install mcp-shopify-admin by cloning the repository (https://github.com/A1-x-Tech/mcp-shopify-admin) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is A1-x-Tech/mcp-shopify-admin safe to use?

+

Our security agent has analyzed A1-x-Tech/mcp-shopify-admin and assigned a Trust Score of 95/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.

Who maintains A1-x-Tech/mcp-shopify-admin?

+

A1-x-Tech/mcp-shopify-admin is maintained by A1-x-Tech. The last recorded GitHub activity is dated 2026-08-23, with 0 open issues.

Are there alternatives to mcp-shopify-admin?

+

Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.

Deploy mcp-shopify-admin to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: A1-x-Tech/mcp-shopify-admin
[![Featured on ClaudeWave](https://claudewave.com/api/badge/a1-x-tech-mcp-shopify-admin)](https://claudewave.com/repo/a1-x-tech-mcp-shopify-admin)
<a href="https://claudewave.com/repo/a1-x-tech-mcp-shopify-admin"><img src="https://claudewave.com/api/badge/a1-x-tech-mcp-shopify-admin" alt="Featured on ClaudeWave: A1-x-Tech/mcp-shopify-admin" width="320" height="64" /></a>

More MCP Servers

mcp-shopify-admin alternatives