- Home
- MCP servers
- Shopify
Shopify
- python
0
GitHub Stars
python
Language
7 months ago
First Indexed
3 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"mcp-mirror-siddhantbajaj_shopify-mcp-server": {
"command": "python",
"args": [
"-m",
"shopify_mcp_server.server"
],
"env": {
"SHOPIFY_API_KEY": "your_api_key",
"SHOPIFY_PASSWORD": "your_api_password",
"SHOPIFY_SHOP_URL": "your-store.myshopify.com",
"SHOPIFY_ACCESS_TOKEN": "your_access_token"
}
}
}
}You can run a Shopify MCP Server to securely expose product and customer data to MCP clients. This server provides tools to fetch a store’s products and customers, enabling AI-powered workflows that need Shopify data without exposing raw store access.
How to use
You connect to this MCP server from your MCP client and call its available tools to fetch data from your Shopify store. The two built-in tools are get-product-list and get-customer-list. You can specify an optional limit to control how many records are returned in a single response.
How to install
# prerequisites
- Python 3.12 or higher
- A Shopify store with API access
- Shopify API credentials (API Key, Password, and Access Token)
Clone the project repository, install dependencies in a virtual environment, and prepare the environment to run locally.
git clone https://github.com/siddhantbajaj/shopify-mcp-server.git
cd shopify-mcp-server
# Create and activate a virtual environment using uv
uv venv
source .venv/bin/activate # On Unix/MacOS
# or
.venv\Scripts\activate # On Windows
uv pip install -e .
Configuration
Set up your Shopify credentials in a configuration file so the server can access the store data. Create a .env file in the root directory with your Shopify credentials as shown.
SHOPIFY_SHOP_URL="your-store.myshopify.com"
SHOPIFY_API_KEY="your_api_key"
SHOPIFY_PASSWORD="your_api_password"
SHOPIFY_ACCESS_TOKEN="your_access_token"
Running the server
Start the MCP server so your MCP client can begin querying data. Use the Python module invocation shown.
python -m shopify_mcp_server.server
Security and best practices
Keep your credentials secure at all times. Do not commit the .env file to version control. Use environment variables to manage sensitive information and rotate credentials regularly.
Notes
The server exposes two tools for data retrieval. The get-product-list tool returns a list of products from your Shopify store with an optional limit parameter to control the number of results. The get-customer-list tool returns a list of customers with an optional limit parameter as well.
Available tools
get_product_list
Retrieve a list of products from your Shopify store with an optional limit to cap the number of products returned.
get_customer_list
Retrieve a list of customers from your Shopify store with an optional limit to cap the number of customers returned.