Back to Home
bcsgarcia icon

shopify-mcp-server

by bcsgarcia

Overview

A middleware HTTP API designed to simplify, build, and execute Shopify GraphQL search queries for automation tools.

Installation

Run Command
docker run -p 3000:3000 --env-file .env shopify-mcp-server

Environment Variables

  • PORT
  • SHOPIFY_STORE_URL
  • SHOPIFY_ACCESS_TOKEN
  • SHOPIFY_API_VERSION
  • MCP_API_KEY

Security Notes

Authentication middleware is explicitly disabled if the `MCP_API_KEY` environment variable is not set, leading to unauthenticated access to all endpoints. This is a critical vulnerability. The query builder uses direct string concatenation to construct Shopify's search query parameters, which, while relying on Shopify's internal sanitization for search input, could potentially be vulnerable to unexpected query behavior or injection if specific malicious patterns are not fully neutralized. The `/api/execute-query` endpoint allows executing arbitrary GraphQL queries, making it a powerful endpoint that requires robust protection by the API key.

Similar Servers

Stats

Interest Score0
Security Score4
Cost ClassLow
Stars0
Forks0
Last Update2025-12-15

Tags

ShopifyGraphQLAPIMiddlewareAutomation