Allows retrieving product and customer information from a Shopify store, including product lists with details (title, ID, type, vendor, status, price) and customer lists with details (name, ID, email, orders count, total spent)
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Shopify MCP Servershow me the top 5 products in my store"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Shopify MCP Server
A Model Context Protocol (MCP) server to connect clients like Claude with Shopify store data. This server exposes tools for retrieving product and customer information from your Shopify store.
Tools
get-product-list: Retrieve a list of products from your Shopify storeget-customer-list: Retrieve a list of customers from your Shopify storeMore to come soon
Related MCP server: WooCommerce MCP Server
Prerequisites
Python 3.12 or higher
A Shopify store with API access
Shopify API credentials (API Key, Password, and Access Token)
Installation
Clone the repository:
git clone https://github.com/siddhantbajaj/shopify-mcp-server.git
cd shopify-mcp-serverCreate and activate a virtual environment using
uv:
uv venv
source .venv/bin/activate # On Unix/MacOS
# or
.venv\Scripts\activate # On WindowsInstall the package:
uv pip install -e .Configuration
Create a
.envfile in the root directory with your Shopify credentials:
SHOPIFY_SHOP_URL="your-store.myshopify.com"
SHOPIFY_API_KEY="your_api_key"
SHOPIFY_PASSWORD="your_api_password"
SHOPIFY_ACCESS_TOKEN="your_access_token"Replace the placeholder values with your actual Shopify API credentials.
Usage
Start the MCP server:
python -m shopify_mcp_server.serverThe server exposes two tools:
get-product-list
Retrieves a list of products from your Shopify store.
Optional parameter:
limit(default: 10) - Maximum number of products to return
get-customer-list
Retrieves a list of customers from your Shopify store.
Optional parameter:
limit(default: 10) - Maximum number of customers to return
Tool Response Format
Products
Products (showing X):
Title: Product Name
ID: 123456789
Product Type: Type
Vendor: Vendor Name
Status: active
Price: $XX.XX
---Customers
Customers (showing X):
Name: John Doe
ID: 123456789
Email: john@example.com
Orders Count: X
Total Spent: $XX.XX
---Development
This project uses:
MCP (Model Context Protocol) for building AI-powered tools
Shopify Python API for Shopify integration
UV for dependency management
Security
Never commit your
.envfile to version controlKeep your Shopify API credentials secure
Use environment variables for sensitive information
License
This project is licensed under the MIT License - see the LICENSE file for details.
Contributing
Fork the repository
Create your feature branch (
git checkout -b feature/amazing-feature)Commit your changes (
git commit -m 'Add some amazing feature')Push to the branch (
git push origin feature/amazing-feature)Open a Pull Request
This server cannot be installed
Resources
Looking for Admin?
Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.