Shopify Storefront MCP Server
Enables interaction with multiple Shopify stores simultaneously through the Storefront API. Supports product search, cart management, and store operations across configured Shopify stores through natural language.
README
Demo Shopify Storefront MCP Server
This is created as a demo for a proposal regarding Public MCP Servers on the OpenAI Community Platform
Multi-Store Support
This server now supports multiple Shopify stores simultaneously. You can configure up to multiple stores and switch between them using the storeId parameter in all tools.
Setup
Single Store Setup (Legacy)
cp .env.example .env
Multi-Store Setup (Recommended)
cp .env.stores.example .env
Then, replace the environment variables with your actual Shopify store credentials:
- Domain: Your Shopify store domain (e.g.,
your-store.myshopify.com) - Storefront Token: Shopify Storefront API Token
- Admin Token: Admin API access token (for advanced operations)
- API Key/Secret: Your app's API credentials
Store Configuration
Each store requires:
- Unique
storeId(used in tool calls) - Store name (for display purposes)
- Domain and access tokens
- Enable/disable flag
Running
# First terminal
npm build
npm start
Deployment of the Public Server
You can deploy the Express Server whereever you wish and then use https://your-domain.com/mcp instead of http://localhost:3000/mcp for the following examples to test the remote server.
Connecting via Claude Desktop
First run the MCP Server like above. Then add this to your Claude Desktop Config
{
"mcpServers": {
"demo-shopify-storefront-mcp-server": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"http://localhost:3000/mcp"
]
}
}
}
Available Tools
Multi-Store Tools
listStores- List all configured and enabled storesfindProducts- Search products in a specific storegetProductById- Get product details by IDcartCreate- Create a new cartcartLinesAdd- Add items to cartcartLinesUpdate- Update cart itemscartLinesRemove- Remove items from cartgetCart- Get cart details
Usage Examples
All tools (except listStores) require a storeId parameter:
{
"storeId": "europride",
"query": "perfume"
}
Available store IDs:
europride- EURO PRIDE storewifimoney- WIFI MONEY storesaderstore- SADERSTORE store
Manual Testing
# Second terminal
npx @modelcontextprotocol/inspector http://localhost:3000/mcp
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.