MCP-Server

ivasoom/MCP-Server

3.2

If you are the rightful owner of MCP-Server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

Shopify MCP Server is designed to facilitate interaction with the Shopify Admin API through the Model Context Protocol.

Shopify MCP Server

Serveur Model Context Protocol (MCP) pour interagir avec l'API Shopify Admin.

🚀 Fonctionnalités

  • get_products : Récupère la liste des produits (jusqu'à 100)
  • create_product : Crée un nouveau produit
  • get_orders : Liste les commandes récentes (jusqu'à 50)

📦 Installation locale

npm install

🔧 Configuration

Créez un fichier .env avec vos credentials Shopify :

SHOPIFY_ACCESS_TOKEN=votre_token_ici
SHOPIFY_STORE_DOMAIN=votre-shop.myshopify.com

🏃 Utilisation

Serveur STDIO (pour Claude Desktop)

npm start

Serveur SSE (pour ChatGPT/Web)

npm run start:sse

Le serveur SSE démarre sur http://localhost:4000

🌐 Déploiement sur Render

  1. Créez un compte sur Render
  2. Créez un nouveau Web Service
  3. Connectez votre dépôt Git
  4. Render détectera automatiquement render.yaml
  5. Ajoutez vos variables d'environnement :
    • SHOPIFY_ACCESS_TOKEN
    • SHOPIFY_STORE_DOMAIN

🔌 Connexion à ChatGPT

Une fois déployé sur Render, vous obtiendrez une URL publique (ex: https://shopify-mcp-server.onrender.com).

Créer un Custom GPT

  1. Allez sur ChatGPT → "Explore GPTs" → "Create"
  2. Dans "Configure" → "Actions"
  3. Utilisez cette spec OpenAPI :
{
  "openapi": "3.0.0",
  "info": {
    "title": "Shopify MCP",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://VOTRE-APP.onrender.com"
    }
  ],
  "paths": {
    "/sse": {
      "get": {
        "operationId": "connectSSE",
        "summary": "Établit une connexion SSE avec le serveur MCP"
      }
    }
  }
}

📖 Documentation

🔑 Obtenir un token Shopify

  1. Connectez-vous à votre admin Shopify
  2. SettingsApps and sales channels
  3. Develop apps
  4. Créez une nouvelle app
  5. Configurez les permissions Admin API :
    • read_products
    • write_products
    • read_orders
  6. Installez l'app sur votre boutique
  7. Copiez le Admin API access token

📝 Licence

MIT