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:
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
- Install 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.server
- 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
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 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
Metadata
Release files for orange4-shopify-mcp-server 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| orange4_shopify_mcp_server-0.1.0.tar.gz | 4.0 kB | Without provenance | Details for orange4_shopify_mcp_server-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| orange4_shopify_mcp_server-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for orange4_shopify_mcp_server-0.1.0-py3-none-any.whl |
Total release size: 7.4 kB
Release files / orange4_shopify_mcp_server-0.1.0.tar.gz
| Download URL | orange4_shopify_mcp_server-0.1.0.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bf078fd3e43746625d02d52a0b7656624b1dfc2410d99be8e7c0f6771cf7e6fe
|
|
BLAKE2b-256 checksum How to use checksums |
5fef0d74c660c66cb09ed838a099842aa9ad242ed129efe22f7bca54c469fdef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.11
|
Release files / orange4_shopify_mcp_server-0.1.0-py3-none-any.whl
| Download URL | orange4_shopify_mcp_server-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2167daccb16ec0930e948493d6d5f14c22bac3f72f8f58446f488949c64796e1
|
|
BLAKE2b-256 checksum How to use checksums |
4170cf886cfcb43b4b24a884e25e1e9d275f983e4d8ed7b8c69ad75fc0c1af24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.11
|
Security for orange4-shopify-mcp-server 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.