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
- Poetry (recommended) or pip
- Claude 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:
⚡ 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
tool - See 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 filtering- Parameters:
limit
,channel
,category_id
- Returns: Formatted product list with names, prices, availability
- Parameters:
🛠️ 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 -13Python
- -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 -JavaScript
- -securityFlicense-qualityA Model Context Protocol server that provides AI models with structured access to external data and services, acting as a bridge between AI assistants and applications, databases, and APIs in a standardized, secure way.Last updated -1Python
- -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 -TypeScript