A Model Context Protocol implementation for interacting with Saleor e-commerce platform
Transform how you interact with your Saleor store data
The Model Context Protocol (MCP) is a way to plug Saleor's API into an LLM, letting you ask questions about your store data in the context of the LLM itself. This lets you take an agent that you already use, like Cursor, and pull in additional information from Saleor to help with tasks like business analysis, inventory management, and customer insights.
Connecting Saleor to LLMs allows you to easily get answers to questions like:
This provides an easy interface to learn insights about your Saleor store without needing to navigate through different dashboards or write complex queries.
Quick setup guide to get you up and running
To get started with the Saleor MCP server, visit our GitHub repository which contains detailed installation instructions, configuration guides, and examples.
Note: The repository includes setup instructions for various MCP clients, authentication configuration, and example usage scenarios.
Pre-configured functions for common Saleor operations
Tools are pre-configured functions that can be used to help with common tasks. Each tool provides specific functionality for interacting with your Saleor store data.
Fetch the list of channels from Saleor. This tools retrieves the list of channels. For each channel it returns information such as: ID, name, slug, currency code, default country, whether the channel is active, and the list of warehouses.
Fetch list of customers from Saleor GraphQL API. This tool retrieves customer information such as: ID, email, first name, last name, active status, confirmation status, checkout and order counts, language code, last login, date joined, and default shipping/billing addresses.
Fetch list of orders from Saleor GraphQL API. This tool retrieves the list of orders. For each order it returns information such as: ID, number, status, creation date, last update date, payment status, user email, total amount, shipping address, billing address, order lines which include: quantity, product SKU, variant name, product ID, product name, unit price.
Fetch total count of orders from Saleor GraphQL API. This tool retrieves the total count of orders based on the provided filter criteria.
Fetch list of products from Saleor GraphQL API. This tool retrieves product information such as: ID, name, slug, external reference, product type, category, date of creation, date of last update, and pricing. Products are channel-aware, meaning that their availability and pricing can vary based on the specified channel. If a channel is provided, the tool will fetch product data specific to that channel. Otherwise, it will return general product data.
Fetch list of stocks from Saleor GraphQL API. This tool retrieves stock information such as: ID, quantity, allocated quantity, warehouse information, and associated product variant details.
Fetch warehouse details from Saleor GraphQL API. This tool retrieves detailed warehouse information including: ID, name, slug, address details, click and collect options, associated shipping zones with their channels and countries, and metadata.