# Recharge Storefront API Configuration # Store Configuration # Your Shopify store domain (required - must end with .myshopify.com) # Example: your-shop.myshopify.com (without https://) # IMPORTANT: Use exact format - no trailing slashes, no protocol prefix # Correct: your-shop.myshopify.com # Incorrect: https://your-shop.myshopify.com/ or your-shop.myshopify.com/ RECHARGE_STOREFRONT_DOMAIN=your-shop.myshopify.com # Authentication # ONLY TOKEN YOU NEED: Admin API Token # Recharge Admin API Token (NOT Storefront API token) # Used for: customer lookup by email, creating customer sessions # Get this from your Recharge admin panel under API tokens # IMPORTANT: Must be Admin API token, NOT customer session token (st_...) # Admin tokens typically start with your store prefix or "sk_" # This token will auto-create customer session tokens (st_...) as needed RECHARGE_ADMIN_TOKEN=your_admin_api_token_here # Optional: Default customer session token (if you have one) # Customer session tokens start with "st_" and are customer-specific # Most users won't need this - the system creates them automatically RECHARGE_SESSION_TOKEN= # Customer session tokens (st_...) are AUTO-GENERATED - no manual configuration needed # The system creates customer session tokens automatically using your Admin API token # MCP Server Configuration # Server identification (optional - for logging and debugging) MCP_SERVER_NAME=recharge-storefront-api-mcp MCP_SERVER_VERSION=1.0.0 # Development Configuration # Enable debug logging (optional) # Set to 'true' for detailed logging, 'false' or omit for production