High-performance GraphQL e-commerce platform.
## Saleor MCP Server: GraphQL Commerce The **Saleor MCP Server** integrates Saleor's modern GraphQL commerce platform into Google Antigravity, enabling developers to build headless e-commerce solutions through AI-assisted commerce workflows. ### Why Saleor MCP? - **GraphQL First**: Complete GraphQL API with subscriptions - **Multi-Channel**: Manage multiple storefronts from one backend - **Extensible**: Plugin system with webhooks and apps - **Cloud Native**: Kubernetes-ready, scalable architecture - **Open Source**: BSD-3 licensed with enterprise features ### Key Features #### 1. Product Management ```javascript // Create product const product = await saleor.createProduct({ input: { productType: "product_type_id", name: "Modern Product", description: "Built with Saleor", slug: "modern-product", category: "category_id", chargeTaxes: true } }); // Create product variant await saleor.createProductVariant({ input: { product: product.id, sku: "PROD-001", name: "Default Variant", trackInventory: true, stocks: [{ warehouse: "warehouse_id", quantity: 100 }], channelListings: [ { channelId: "channel_id", price: 99.99, isPublished: true } ] } }); // Update product await saleor.updateProduct({ id: product.id, input: { name: "Updated Product" } }); ``` #### 2. Order Processing ```javascript // Get orders const orders = await saleor.getOrders({ first: 50, filter: { status: ["UNFULFILLED"] } }); // Fulfill order await saleor.fulfillOrder({ orderId: orders[0].id, input: { lines: [{ orderLineId: "line_id", stocks: [{ quantity: 1, warehouse: "warehouse_id" }] }], trackingNumber: "TRACK123" } }); // Capture payment await saleor.captureOrder({ id: orders[0].id, amount: 99.99 }); ``` ### Configuration ```json { "mcpServers": { "saleor": { "command": "npx", "args": ["-y", "@anthropic/mcp-saleor"], "env": { "SALEOR_API_URL": "https://your-saleor.com/graphql/", "SALEOR_TOKEN": "your-access-token" } } } } ``` ### Use Cases **Headless Commerce**: Build custom storefronts with GraphQL. **Multi-Channel**: Manage B2B and B2C from one platform. **International Commerce**: Handle multi-currency and multi-language. The Saleor MCP Server brings modern GraphQL commerce to your workflow.
{
"mcpServers": {
"saleor": {}
}
}