Using AI with Saleor
note
Saleor doesn't share any data to AI vendors.
Model Context Protocol (MCP)
To help AI agents properly interact with Saleor, you can use the Model Context Protocol, which can interact with Saleor by understanding the GraphQL schema.
To configure your compatible IDE / editor to use the MCP, you can use the following configuration:
{
"mcpServers": {
"mcp-saleor": {
"command": "npx",
"args": ["mcp-graphql"],
"env": {
"SCHEMA":"https://raw.githubusercontent.com/saleor/saleor/3.20/saleor/graphql/schema.graphql"
}
}
}
}
Note that the SCHEMA
includes the Saleor version.
Example MCP configurations for popular editors:
- VS Code:
.vscode/mcp.json
- docs - Cursor:
.cursor/mcp.json
- docs - JetBrains IDE