Shopify MCP Server
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 store- More to come soon
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:
Copy
- Create and activate a virtual environment using
uv
:
Copy
- Install the package:
Copy
Configuration
- Create a
.env
file in the root directory with your Shopify credentials:
Copy
Replace the placeholder values with your actual Shopify API credentials.
Usage
- Start the MCP server:
Copy
- The 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
Copy
Customers
Copy
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
.env
file to version control - Keep 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
This MCP server connects clients with Shopify store data, enabling retrieval of product and customer information via exposed tools.