Skip to main content
Glama

Shopify Storefront MCP Server

Demo Shopify Storefront MCP Server

This is created as a demo for a proposal regarding Public MCP Servers on the OpenAI Community Platform

Multi-Store Support

This server now supports multiple Shopify stores simultaneously. You can configure up to multiple stores and switch between them using the storeId parameter in all tools.

Setup

Single Store Setup (Legacy)

cp .env.example .env

Multi-Store Setup (Recommended)

cp .env.stores.example .env

Then, replace the environment variables with your actual Shopify store credentials:

  • Domain: Your Shopify store domain (e.g., your-store.myshopify.com)

  • Storefront Token: Shopify Storefront API Token

  • Admin Token: Admin API access token (for advanced operations)

  • API Key/Secret: Your app's API credentials

Store Configuration

Each store requires:

  • Unique storeId (used in tool calls)

  • Store name (for display purposes)

  • Domain and access tokens

  • Enable/disable flag

Running

# First terminal npm build npm start

Deployment of the Public Server

You can deploy the Express Server whereever you wish and then use https://your-domain.com/mcp instead of http://localhost:3000/mcp for the following examples to test the remote server.

Connecting via Claude Desktop

First run the MCP Server like above. Then add this to your Claude Desktop Config

{ "mcpServers": { "demo-shopify-storefront-mcp-server": { "command": "npx", "args": [ "-y", "mcp-remote@latest", "http://localhost:3000/mcp" ] } } }

Available Tools

Multi-Store Tools

  • listStores - List all configured and enabled stores

  • findProducts - Search products in a specific store

  • getProductById - Get product details by ID

  • cartCreate - Create a new cart

  • cartLinesAdd - Add items to cart

  • cartLinesUpdate - Update cart items

  • cartLinesRemove - Remove items from cart

  • getCart - Get cart details

Usage Examples

All tools (except listStores) require a storeId parameter:

{ "storeId": "europride", "query": "perfume" }

Available store IDs:

  • europride - EURO PRIDE store

  • wifimoney - WIFI MONEY store

  • saderstore - SADERSTORE store

Manual Testing

# Second terminal npx @modelcontextprotocol/inspector http://localhost:3000/mcp
-
security - not tested
F
license - not found
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Enables interaction with multiple Shopify stores simultaneously through the Storefront API. Supports product search, cart management, and store operations across configured Shopify stores through natural language.

  1. Multi-Store Support
    1. Setup
      1. Single Store Setup (Legacy)
      2. Multi-Store Setup (Recommended)
      3. Store Configuration
    2. Running
      1. Deployment of the Public Server
        1. Connecting via Claude Desktop
          1. Available Tools
            1. Multi-Store Tools
            2. Usage Examples
          2. Manual Testing

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/volticscontent/axios_mcp'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server