
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

An MCP server that provides access to the Shopify Storefront API so AI assistants can query store data and manage carts and customer information.
Shopify Storefront MCP Server is cataloged as an MCP server attributed to quentincody. An MCP server that provides access to the Shopify Storefront API so AI assistants can query store data and manage carts and customer information. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Shopify Storefront MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Yes, the server supports both GraphQL queries and mutations against the Shopify Storefront API.
Customer data is stored in user_data/customer.json and persists between server restarts.
README.md · f4774bd9db07 · 采集于 2026-11-13 10:15:46 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
This server provides access to the Shopify Storefront API via MCP, allowing AI assistants to query and interact with your Shopify store data.
pip install -r requirements.txt.env.example to .env and configure your environment variablespython -m shopify_storefront_mcp_serverCreate a .env file using the provided .env.example as a template:
# Required
SHOPIFY_STOREFRONT_ACCESS_TOKEN=your_storefront_token
SHOPIFY_STORE_NAME=your-store-name
# Optional
SHOPIFY_API_VERSION=2025-04
SHOPIFY_BUYER_IP=127.0.0.1
unauthenticated_read_product_listingsunauthenticated_read_product_inventoryunauthenticated_read_product_pricingunauthenticated_write_checkoutsunauthenticated_read_content.env file as SHOPIFY_STOREFRONT_ACCESS_TOKENRunning with the MCP server:
python -m shopify_storefront_mcp_server
The server exposes the following MCP tools:
shopify_discover: Detect if a URL belongs to a Shopify storefront and discover authentication tokensshopify_storefront_graphql: Execute GraphQL queries against the Storefront APIcustomer_data: Unified tool for all customer data operations (Create, Read, Update, Delete)This server also provides MCP resources for customer information:
customer://name: Customer's full namecustomer://email: Customer's email addresscustomer://phone: Customer's phone numbercustomer://shipping_address: Customer's shipping address (including address1, address2, city, state, postal_code, country)customer://billing_address: Customer's billing address (including address1, address2, city, state, postal_code, country)customer://profile: Complete customer profileCustomer data is stored in user_data/customer.json and should be managed using the customer_data tool.
The server provides a unified customer_data tool for managing all customer information. This tool consolidates create, read, update, and delete operations into a single interface.
Examples:
# Get all customer data
customer_data(operation="get")
# Get a specific field
customer_data(operation="get", field="name")
customer_data(operation="get", field="shipping_address")
# Update a specific field
customer_data(operation="update", field="name", value="Jane Doe")
customer_data(
operation="update",
shipping_address={
"address1": "123 Main St",
"address2": "Apt 4B",
"city": "New York",
"state": "NY",
"postal_code": "10001",
"country": "US"
}
)
# Add custom fields
customer_data(
operation="update",
custom_fields={
"preferences": {
"theme": "dark",
"notifications": "email",
"language": "en-US"
},
"loyalty_tier": "gold",
"last_purchase_date": "2023-06-15"
}
)
# Get a custom field
customer_data(operation="get", field="preferences")
customer_data(operation="get", field="loyalty_tier")
# Update single custom field
customer_data(operation="update", field="loyalty_tier", value="platinum")
# Delete a specific field
customer_data(operation="delete", field="phone")
customer_data(operation="delete", field="preferences")
# Delete all customer data
customer_data(operation="delete")
This consolidated tool simplifies integration with AI assistants by providing a consistent interface for all customer data operations, including both standard customer information and any custom fields that may be useful for personalization.
Customer data is stored in user_data/customer.json. This file contains personal information and should not be committed to version control. The repository includes:
user_data/customer.json.example: A template file showing the expected structure with dummy data.gitignore to prevent accidental commits of actual customer dataWhen deploying this server, the user_data/customer.json file will be created automatically when the customer_data tool is first used. You can also copy and rename the example file to get started:
cp user_data/customer.json.example user_data/customer.json
All data stored in the customer file persists between server restarts. The file supports both standard customer fields (name, email, addresses) and arbitrary custom fields for AI personalization.
The server makes it easy to create Shopify checkouts that include customer information by combining the customer_data and shopify_storefront_graphql tools.
Example workflow:
# Step 1: Get customer data
customer_profile = customer_data(operation="get")
# Step 2: Create a cart with GraphQL
cart_mutation = """
mutation createCart($lines: [CartLineInput!]!) {
cartCreate(input: {lines: $lines}) {
cart {
id
checkoutUrl
}
userErrors {
field
message
}
}
}
"""
cart_variables = {
"lines": [
{
"merchandiseId": "gid://shopify/ProductVariant/12345678901234",
"quantity": 1
}
]
}
cart_result = shopify_storefront_graphql(
mode="execute",
host="your-store.myshopify.com",
token="your_storefront_token",
query=cart_mutation,
variables=cart_variables
)
# Step 3: Apply customer attributes to the cart
cart_id = # extract from cart_result
customer_info = json.loads(customer_profile)
attributes_mutation = """
mutation updateCartAttributes($cartId: ID!, $attributes: [AttributeInput!]!) {
cartAttributesUpdate(cartId: $cartId, attributes: $attributes) {
cart {
id
checkoutUrl
}
userErrors {
field
message
}
}
}
"""
attributes_variables = {
"cartId": cart_id,
"attributes": [
{
"key": "email",
"value": customer_info["email"]
},
{
"key": "deliveryAddress",
"value": json.dumps(customer_info["shipping_address"])
}
]
}
shopify_storefront_graphql(
mode="execute",
host="your-store.myshopify.com",
token="your_storefront_token",
query=attributes_mutation,
variables=attributes_variables
)
This approach gives you complete control over the checkout process while leveraging the stored customer information.
If you encounter authentication errors:
shpsa_ (newer) or shpat_ (older)curl -X POST \
https://your-store.myshopify.com/api/2025-04/graphql.json \
-H "Content-Type: application/json" \
-H "X-Shopify-Storefront-Access-Token: your_token" \
-d '{"query": "query { shop { name } }"}'
.env file or any files containing API tokensClaim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Shopify Storefront MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/shopify-storefront-mcp-server)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.