Shopify Store MCP Server
A Model Context Protocol (MCP) server that connects to via the Admin and Storefront APIs. Unlike documentation-only MCPs, this server enables AI agents to perform on your store.
接入你的智能体
發布者自己的指令。不是 PlugMCP 端點。
用我們的金鑰與日誌託管一份副本。
npx -y [email protected]Claude Code 沒有本機指令的安裝連結。複製下方指令並在終端機中執行。
claude mcp add shopify-store-mcp -- npx -y shopify-store-mcp@1.0.10在終端機中執行。
{ "mcpServers": { "shopify-store-mcp": { "command": "npx", "args": [ "-y", "[email protected]" ] } }}claude_desktop_config.json
遠端 URL 還是本機指令? 兩種安裝方式的差異
Important: For the best experience, use both this MCP and the official Shopify Dev MCP together. The Dev MCP helps your AI agent understand Shopify's API schemas and documentation, while this MCP executes the actual operations on your store.
run_graphql_queryAfter installing, edit the configuration to add your actual store credentials.
Add to your Cursor MCP settings (~/.cursor/mcp.json):
{
"mcpServers": {
"shopify-store-mcp": {
"command": "npx",
"args": ["-y", "shopify-store-mcp"],
"env": {
"SHOPIFY_STORE_URL": "your-store.myshopify.com",
"SHOPIFY_ACCESS_TOKEN": "shpat_xxxxxxxxxxxxxxxxxxxxx"
}
}
}
}
{
"mcpServers": {
"shopify-store-mcp": {
"command": "cmd",
"args": ["/k", "npx", "-y", "shopify-store-mcp"],
"env": {
"SHOPIFY_STORE_URL": "your-store.myshopify.com",
"SHOPIFY_ACCESS_TOKEN": "shpat_xxxxxxxxxxxxxxxxxxxxx"
}
}
}
}
Add to your Claude Desktop config:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"shopify-store-mcp": {
"command": "npx",
"args": ["-y", "shopify-store-mcp"],
"env": {
"SHOPIFY_STORE_URL": "your-store.myshopify.com",
"SHOPIFY_ACCESS_TOKEN": "shpat_xxxxxxxxxxxxxxxxxxxxx"
}
}
}
}
{
"mcpServers": {
"shopify-store-mcp": {
"command": "cmd",
"args": ["/k", "npx", "-y", "shopify-store-mcp"],
"env": {
"SHOPIFY_STORE_URL": "your-store.myshopify.com",
"SHOPIFY_ACCESS_TOKEN": "shpat_xxxxxxxxxxxxxxxxxxxxx"
}
}
}
}
Add to your Claude Code settings (~/.claude/settings.json):
{
"mcpServers": {
"shopify-store-mcp": {
"command": "npx",
"args": ["-y", "shopify-store-mcp"],
"env": {
"SHOPIFY_STORE_URL": "your-store.myshopify.com",
"SHOPIFY_ACCESS_TOKEN": "shpat_xxxxxxxxxxxxxxxxxxxxx"
}
}
}
}
Add to your VS Code settings (settings.json):
{
"mcp.servers": {
"shopify-store-mcp": {
"command": "npx",
"args": ["-y", "shopify-store-mcp"],
"env": {
"SHOPIFY_STORE_URL": "your-store.myshopify.com",
"SHOPIFY_ACCESS_TOKEN": "shpat_xxxxxxxxxxxxxxxxxxxxx"
}
}
}
}
Add to your Windsurf MCP config (~/.windsurf/mcp.json):
{
"mcpServers": {
"shopify-store-mcp": {
"command": "npx",
"args": ["-y", "shopify-store-mcp"],
"env": {
"SHOPIFY_STORE_URL": "your-store.myshopify.com",
"SHOPIFY_ACCESS_TOKEN": "shpat_xxxxxxxxxxxxxxxxxxxxx"
}
}
}
}
For any MCP-compatible client, use:
npx -y shopify-store-mcp
With environment variables:
SHOPIFY_STORE_URL — Your store's myshopify.com domainSHOPIFY_ACCESS_TOKEN — Admin API access tokenFor the best AI agent experience, also add the official Shopify Dev MCP. It provides:
This helps your AI agent know what queries to write before executing them with this MCP.
{
"mcpServers": {
"shopify-store-mcp": {
"command": "npx",
"args": ["-y", "shopify-store-mcp"],
"env": {
"SHOPIFY_STORE_URL": "your-store.myshopify.com",
"SHOPIFY_ACCESS_TOKEN": "shpat_xxxxxxxxxxxxxxxxxxxxx"
}
},
"shopify-dev-mcp": {
"command": "npx",
"args": ["-y", "@shopify/dev-mcp@latest"]
}
}
}
Multi-step workflows that handle complexity automatically:
The server automatically respects Shopify's rate limits based on your shop plan:
Use the configure tool to set your tier or auto-detect from your shop plan.
# Clone the repo
git clone https://github.com/Brahim-Benzarti/Shopify_store-MCP.git
cd Shopify_store-MCP
# Install dependencies
npm install
# Build
npm run build
# Run with MCP Inspector
npm run inspect
# Watch mode
npm run dev
# View database
npm run db:studio
The server uses SQLite for operation logging and configuration. Database is automatically created at ~/.shopify-mcp/mcp.db.
.env file or access tokensMCP_LOG_OPERATIONS=false)MCP server for Shopify store operations via Admin and Storefront APIs
{ "mcpServers": { "shopify-store-mcp": { "command": "npx", "args": [ "-y", "[email protected]" ] } }}工具
尚無工具清單。遠端伺服器會在首次健康檢查後取得工具清單。
常見問題
在本頁複製適用於 Cursor、Claude Desktop、Claude Code 或 VS Code 的 stdio 設定。它使用發布者的安裝方式,而不是 PlugMCP 代理伺服器。
這筆記錄未列出必要的環境變數。
Shopify Store 透過 stdio 在本機執行。
上次檢查時間:2026-11-16。 MCP server for Shopify store operations via Admin and Storefront APIs