ShopifyMockMCP

ShopifyMockMCP

5

This project implements a Model Context Protocol server that acts as a proxy to Shopify's Storefront API, providing a safe and transparent environment for development and testing. It supports AI integrations and offers specific tools for interacting with Shopify, emphasizing safety and control.

Shopify MCP Proxy & Mock Server (ShopifyMCPMockShop)

This project creates a Model Context Protocol (MCP) server that acts as a proxy to Shopify's Storefront API. It offers a safe development and testing environment using mock.shop without the need for real store credentials. Key features include:

  • Safety and Sandbox Environment: Uses mock.shop for risk-free development.
  • Transparency and Control: Provides clear interaction details with the Shopify API, including versioning and action impacts.
  • Development Support: Supports AI tool integrations for Shopify tasks with guardrails and clear context.

Setup & Usage

  • Clone the repository: Follow the GitHub URL provided.
  • Dependencies: Install via npm.
  • Build: Compile TypeScript into JavaScript.
  • Configuration: (Optional) For real store, set environment variables.
  • Run: Automatically launched by MCP clients.

Available Tools

  • getShopInfo: Get basic shop details.
  • getProductById: Fetch a product by ID.
  • findProducts: Search products with various options.

Future Plans

  • Re-integrate Admin API tools.
  • Add testing framework.
  • Explore resource handling improvements.

Known Issues

  • Inline image rendering issues with certain clients.