# Shopify MCP Server - Environment Configuration
# ===== Shopify Configuration =====
# Option 1: Multi-store configuration (recommended)
# JSON array of store configurations
SHOPIFY_STORES='[{"id":"my-store","domain":"my-store.myshopify.com","accessToken":"shpat_xxxxx","apiVersion":"2024-01"}]'
# Option 2: Legacy single-store configuration
# SHOPIFY_STORE_DOMAIN=my-store.myshopify.com
# SHOPIFY_ACCESS_TOKEN=shpat_xxxxx
# SHOPIFY_API_VERSION=2024-01
# ===== Auth0 OAuth Configuration (Required for Remote Server) =====
# Get these from your Auth0 application dashboard
AUTH0_DOMAIN=dev-xxxxx.us.auth0.com
AUTH0_CLIENT_ID=your_client_id_here
AUTH0_AUDIENCE=https://your-server.onrender.com
# ===== Server Configuration =====
# Your deployed server URL (used for OAuth resource identifier)
MCP_SERVER_URL=https://your-server.onrender.com
# Server port (default: 8000)
PORT=8000
# ===== Token Caching Configuration =====
# How long to cache validated tokens (seconds, default: 120)
TOKEN_CACHE_TTL_SECONDS=120
# Maximum number of tokens to cache (default: 1000)
TOKEN_CACHE_MAX_SIZE=1000
# ===== Node Environment =====
NODE_ENV=development