shopify-mcp-server-main
Shopify MCP Server
Documentation
Shopify MCP Server
MCP Server for Shopify API, enabling interaction with store data through GraphQL API. This server provides tools for managing products, customers, orders, and more.
Features
- Product Management: Search and retrieve product information
- Customer Management: Load customer data and manage customer tags
- Order Management: Advanced order querying and filtering
- GraphQL Integration: Direct integration with Shopify's GraphQL Admin API
- Comprehensive Error Handling: Clear error messages for API and authentication issues
Tools
1. `get-products`
2. `get-products-by-collection`
3. `get-products-by-ids`
4. `update-product-price`
5. `get-variants-by-ids`
6. `get-customers`
7. `tag-customer`
8. `get-orders`
9. `get-order`
10. `create-discount`
11. `create-draft-order`
12. `complete-draft-order`
13. `get-collections`
14. `get-shop`
15. `get-shop-details`
16. `manage-webhook`
Setup
Shopify Access Token
To use this MCP server, you'll need to create a custom app in your Shopify store:
1. From your Shopify admin, go to Settings > Apps and sales channels
2. Click Develop apps (you may need to enable developer preview first)
3. Click Create an app
4. Set a name for your app (e.g., "Shopify MCP Server")
5. Click Configure Admin API scopes
6. Select the following scopes:
7. Click Save
8. Click Install app
9. Click Install to give the app access to your store data
10. After installation, you'll see your Admin API access token
11. Copy this token - you'll need it for configuration
Note: Store your access token securely. It provides access to your store data and should never be shared or committed to version control.
More details on how to create a Shopify app can be found here.
Usage with Claude Desktop
Add to your `claude_desktop_config.json`:
{
"mcpServers": {
"shopify": {
"command": "npx",
"args": ["-y", "shopify-mcp-server"],
"env": {
"SHOPIFY_ACCESS_TOKEN": "",
"MYSHOPIFY_DOMAIN": ".myshopify.com"
}
}
}
}Development
1. Clone the repository
2. Install dependencies:
npm install3. Create a `.env` file:
SHOPIFY_ACCESS_TOKEN=your_access_token
MYSHOPIFY_DOMAIN=your-store.myshopify.com4. Build the project:
npm run build5. Run tests:
npm testDependencies
- @modelcontextprotocol/sdk - MCP protocol implementation
- graphql-request - GraphQL client for Shopify API
- zod - Runtime type validation
Contributing
Contributions are welcome! Please read our Contributing Guidelines first.
License
MIT
Community
Built with ❤️ using the Model Context Protocol
Frequently asked questions
What is shopify-mcp-server-main?
shopify-mcp-server-main is Shopify MCP Server
How do I install shopify-mcp-server-main?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is shopify-mcp-server-main open source?
Yes — it is hosted on GitHub at https://github.com/therealhexi/shopify-mcp-server-main and has 10 stars.
Related MCP tools
Model Context Protocol Servers
The Open-Source Multimodal AI Agent Stack: Connecting Cutting-Edge AI Models and Agent Infra
A MCP for Claude Desktop / Claude Code / Windsurf / Cursor to build n8n workflows for you
MCP server to provide Figma layout information to AI coding agents like Cursor
The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Instant is the best backend for AI-coded apps. You get auth, permissions, storage, presence, and streams — everything you need to ship apps your users will love.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP