Back to Home
snowlxrd icon

mcp2py

Verified Safe

by snowlxrd

Overview

A high-performance, server-rendered Next.js application designed to function as a headless e-commerce storefront, primarily integrated with Shopify.

Installation

Run Command
pnpm dev

Environment Variables

  • COMPANY_NAME
  • SHOPIFY_REVALIDATION_SECRET
  • SHOPIFY_STORE_DOMAIN
  • SHOPIFY_STOREFRONT_ACCESS_TOKEN
  • SITE_NAME
  • TWITTER_CREATOR
  • TWITTER_SITE
  • NEXT_PUBLIC_VERCEL_URL

Security Notes

The application follows standard Next.js security practices, utilizing environment variables for sensitive Shopify API keys (`SHOPIFY_STOREFRONT_ACCESS_TOKEN`) and a revalidation secret (`SHOPIFY_REVALIDATION_SECRET`). These are validated at runtime and in the revalidation webhook handler to prevent unauthorized cache purging. The use of `dangerouslySetInnerHTML` for JSON-LD schema (product structured data) and general HTML content (e.g., product descriptions, pages) is present. While common for displaying CMS-managed content, it introduces a potential XSS vulnerability if the content fetched from Shopify is not adequately sanitized by the source system or if the application were to use untrusted HTML inputs elsewhere.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens1500
Stars0
Forks0
Last Update2025-12-06

Tags

Next.jsEcommerceShopifyReact Server ComponentsVercel