home / mcp / shopify mcp server

Shopify MCP Server

Provides access to Shopify product and customer data via MCP tools for AI-powered clients.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "siddhantbajaj-shopify-mcp-server": {
      "command": "python",
      "args": [
        "-m",
        "shopify_mcp_server.server"
      ],
      "env": {
        "SHOPIFY_API_KEY": "YOUR_API_KEY",
        "SHOPIFY_PASSWORD": "YOUR_API_PASSWORD",
        "SHOPIFY_SHOP_URL": "YOUR_STORE_URL",
        "SHOPIFY_ACCESS_TOKEN": "YOUR_ACCESS_TOKEN"
      }
    }
  }
}

You have a Shopify MCP Server that lets you query your Shopify store data through an MCP client. It exposes tools to fetch product and customer information, enabling AI-powered tools to work with live store data in a structured way.

How to use

Connect to the Shopify MCP Server from your MCP client and choose the available tools to retrieve data from your store. You can fetch a list of products or a list of customers, optionally limiting how many results you receive. Use the returned data to power AI-driven analysis, reporting, or decision making within your application.

How to install

Prerequisites you need before installation are Python 3.12 or higher and a Shopify store with API access. Prepare Shopify API credentials (API Key, Password, and Access Token) and a store URL to enable the server to communicate securely with Shopify.

# 1) Clone the project
git clone https://github.com/siddhantbajaj/shopify-mcp-server.git
cd shopify-mcp-server

# 2) Create and activate a virtual environment using uv
uv venv
source .venv/bin/activate  # On Unix/MacOS
# or
.venv\Scripts\activate  # On Windows

# 3) Install the package
uv pip install -e .

Additional configuration and runtime notes

Create a configuration file in the root directory to provide your Shopify credentials for the server to use. You can place the values in a .env file that the server reads at startup.

SHOPIFY_SHOP_URL="your-store.myshopify.com"
SHOPIFY_API_KEY="your_api_key"
SHOPIFY_PASSWORD="your_api_password"
SHOPIFY_ACCESS_TOKEN="your_access_token"

Starting the server

Run the MCP server with Python. This launches the local server process that your MCP client will connect to.

python -m shopify_mcp_server.server

Security and best practices

Do not commit your .env file or any Shopify credentials to version control. Keep credentials secure and consider using environment variables or secret management in production. Use the provided environment variable approach to supply sensitive information to the server at runtime.

Available tools

get-product-list

Retrieves a list of products from your Shopify store. You can specify an optional limit parameter to control the maximum number of products returned.

get-customer-list

Retrieves a list of customers from your Shopify store. You can specify an optional limit parameter to control the maximum number of customers returned.