Recommended for setting up a local Saleor instance for development and testing
Supports environment variable configuration for connecting to Saleor instances
Interacts with Saleor's GraphQL API to access e-commerce data
Used for dependency management and packaging of the MCP server
Provides testing capabilities for validating the MCP server functionality
Serves as the foundation for the MCP server implementation, providing the runtime environment
Saleor MCP Server
A Model Context Protocol (MCP) server for Saleor. This server enables an MCP client to interact with Saleor e-commerce data including products, orders, customers, and more.
๐ Features
-Product Management: Query and browse Saleor products with rich formatting
๐ Prerequisites
Required Software
Python 3.10 or higher
python --version # Should be 3.10+Poetry (recommended) or pip
# Install Poetry curl -sSL https://install.python-poetry.org | python3 - # Or via pip pip install poetryClaude Desktop
Download from claude.ai/desktop
Required Services
Running Saleor Instance
Local development server
๐ช Setting Up Saleor
You need a running Saleor instance to connect to. Choose one of these options:
Option 1: Local Development (Recommended for Testing)
Follow the official Saleor documentation to set up a local instance:
๐ Saleor Developer Documentation
Quick Start with Docker:
Detailed Setup Guides:
๐ณ Docker Setup
๐ Local Python Setup
โ๏ธ Saleor Cloud
โก Quick Start
1. Clone and Install
2. Configure Environment
Required Configuration (.env):
3. Test the Connection
Expected output:
4. Test with MCP Inspector
This opens a web interface at http://localhost:5173
where you can:
Test the connection
Call the
get_products
toolSee formatted responses
๐ฅ๏ธ Claude Desktop Setup
1. Find your Claude Desktop config file:
macOS:
~/Library/Application Support/Claude/claude.desktopconfig
Windows:
%APPDATA%\Claude\claude.desktopconfig
Linux:
~/.config/Claude/claude.desktopconfig
2. Add the server configuration:
Option A: Using Poetry (Recommended)
Option B: Direct Script
3. Restart Claude Desktop
After updating the configuration, restart Claude Desktop completely.
๐งช Testing
Command Line Testing
Interactive Testing
Usage Examples
Once configured, you can ask Claude questions like:
"Show me the latest products in my store"
"What products do I have available?"
Available Tools
get_products
: Retrieve products with optional filteringParameters:
limit
,channel
,category_id
Returns: Formatted product list with names, prices, availability
๐ ๏ธ Development
Project Structure
Adding New Tools
Create tool class in
bm_mcp/tools/
Inherit from appropriate base class
Register in
main.py
Add tests in
tests/
Running Tests
๐ง Troubleshooting
Common Issues
Connection Errors
Import Errors
Claude Desktop Issues
Debug Mode
Getting Help
License
This project is licensed under the MIT License - see the LICENSE file for details.
๐ Acknowledgments
Anthropic for the Model Context Protocol
Saleor for the excellent e-commerce platform
The open-source community for inspiration and tools
๐ค Contributing
Fork the repository
Create a feature branch (
git checkout -b feature/amazing-feature
)Make your changes
Add tests for new functionality
Run the test suite (
poetry run pytest
)Commit your changes (
git commit -m 'Add amazing feature'
)Push to the branch (
git push origin feature/amazing-feature
)Open a Pull Request
This server cannot be installed
A Model Context Protocol server that enables AI assistants to interact with Saleor e-commerce data including products, orders, customers, and more.
Related MCP Servers
- -securityFlicense-qualityA versatile Model Context Protocol server that enables AI assistants to manage calendars, track tasks, handle emails, search the web, and control smart home devices.Last updated -19
- -securityFlicense-qualityA Model Context Protocol server that connects to a payments company's developer portal, providing AI assistants with access to payment documentation, APIs, and guides.Last updated -
- -securityFlicense-qualityA Model Context Protocol server that enables AI assistants to interact with a complete e-commerce application, providing authentication, product browsing, and shopping cart management through standardized MCP tools.Last updated -