MCP Shopify Admin Server

MCP Shopify Admin Server

Exposes Shopify Admin API capabilities to LLMs, enabling product, order, customer, and inventory management via natural language.

Category
Visit Server

README

MCP Shopify Admin Server

An MCP (Model Context Protocol) server that exposes Shopify Admin API capabilities to LLMs like Claude.

Features

  • Products: List, get, create, and update products
  • Orders: List, get, fulfill, and cancel orders
  • Customers: List and get customer details
  • Inventory: Get inventory levels and adjust quantities

Prerequisites

  • Node.js 18+
  • A Shopify store with Admin API access
  • An Admin API access token with the required scopes

Required API Scopes

Your Shopify Admin API access token needs these scopes:

  • read_products, write_products
  • read_orders, write_orders
  • read_customers, write_customers
  • read_inventory, write_inventory
  • read_locations

Installation

  1. Clone this repository:

    git clone https://github.com/your-org/mcp-shopify-admin.git
    cd mcp-shopify-admin
    
  2. Install dependencies:

    npm install
    
  3. Create a .env file with your Shopify credentials:

    cp .env.example .env
    
  4. Edit .env with your store domain and access token:

    SHOPIFY_STORE_DOMAIN=your-store.myshopify.com
    SHOPIFY_ACCESS_TOKEN=shpat_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    

Usage

With Claude Desktop

Add to your Claude Desktop configuration (claude_desktop_config.json):

{
  "mcpServers": {
    "shopify": {
      "command": "node",
      "args": ["path/to/mcp-shopify-admin/src/index.js"],
      "env": {
        "SHOPIFY_STORE_DOMAIN": "your-store.myshopify.com",
        "SHOPIFY_ACCESS_TOKEN": "shpat_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
      }
    }
  }
}

With MCP Inspector

Test the server using the MCP Inspector:

npx @modelcontextprotocol/inspector node src/index.js

Standalone

Run the server directly (for debugging):

npm start

Available Tools

Products

Tool Description Type
shopify_list_products List products with filtering and pagination Read
shopify_get_product Get detailed product info by ID Read
shopify_create_product Create a new product Write
shopify_update_product Update an existing product Write

Orders

Tool Description Type
shopify_list_orders List orders with status filtering Read
shopify_get_order Get detailed order info by ID Read
shopify_fulfill_order Create fulfillment for an order Write
shopify_cancel_order Cancel an order Write

Customers

Tool Description Type
shopify_list_customers List customers with search Read
shopify_get_customer Get detailed customer info by ID Read

Inventory

Tool Description Type
shopify_get_inventory_levels Get inventory at locations Read
shopify_update_inventory Adjust inventory quantities Write

Response Formats

All tools support two response formats via the response_format parameter:

  • json (default): Structured JSON for programmatic use
  • markdown: Human-readable formatted output

Examples

List Products

Use shopify_list_products to show me the first 10 products

Get Order Details

Use shopify_get_order with id "5123456789" and response_format "markdown"

Update Inventory

Use shopify_update_inventory to add 50 units to inventory item "12345" at location "67890"

Error Handling

The server provides clear error messages for common issues:

  • 401 Unauthorized: Check your access token
  • 403 Forbidden: Your token may lack required scopes
  • 429 Rate Limited: Wait before making more requests
  • 404 Not Found: The requested resource doesn't exist

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured