> Documentation index: [Saleor](/llms.txt) · [This section](/developer/llms.txt)
> Source: https://docs.saleor.io/developer/ai

# Using AI with Saleor

Saleor provides resources to help AI agents and AI-assisted development tools work effectively with the platform.

note

Saleor doesn't share any data to AI vendors.

<a id="for-ai-agents"></a>

## For AI Agents

If you're an AI agent exploring Saleor documentation:

-   **Documentation index**: [https://docs.saleor.io/llms.txt](/llms.txt) — structured overview of all documentation
-   **GraphQL Schema** (latest stable): [https://raw.githubusercontent.com/saleor/saleor/3.23/saleor/graphql/schema.graphql](https://raw.githubusercontent.com/saleor/saleor/3.23/saleor/graphql/schema.graphql)
-   **GraphQL Schema** (main, may contain unreleased and unstable changes): [https://raw.githubusercontent.com/saleor/saleor/main/saleor/graphql/schema.graphql](https://raw.githubusercontent.com/saleor/saleor/main/saleor/graphql/schema.graphql)
-   **Base URL**: [https://docs.saleor.io](/index.md)

<a id="url-patterns"></a>

### URL Patterns

Public documentation URLs follow this pattern:

```text
https://docs.saleor.io/{path}
```

Raw MDX source files are available at:

```text
https://raw.githubusercontent.com/saleor/saleor-docs/main/docs/{path}.mdx
```

<a id="key-entry-points"></a>

### Key Entry Points

| Topic | Public URL | Raw MDX |
| --- | --- | --- |
| Quickstart | [https://docs.saleor.io/quickstart/cloud](/quickstart/cloud.md) | [source](https://raw.githubusercontent.com/saleor/saleor-docs/main/docs/quickstart/cloud.mdx) |
| Core Concepts | [https://docs.saleor.io/developer](/developer.md) | [source](https://raw.githubusercontent.com/saleor/saleor-docs/main/docs/developer/index.mdx) |
| API Reference | [https://docs.saleor.io/api-reference/api-reference](/api-reference/api-reference) | [source](https://raw.githubusercontent.com/saleor/saleor-docs/main/docs/api-reference/api-reference.mdx) |
| Building Apps | [https://docs.saleor.io/developer/extending/apps/overview](/developer/extending/apps/overview.md) | [source](https://raw.githubusercontent.com/saleor/saleor-docs/main/docs/developer/extending/apps/overview.mdx) |
| Webhooks | [https://docs.saleor.io/developer/extending/webhooks/overview](/developer/extending/webhooks/overview.md) | [source](https://raw.githubusercontent.com/saleor/saleor-docs/main/docs/developer/extending/webhooks/overview.mdx) |

<a id="model-context-protocol-mcp"></a>

## 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:

```json
{
  "mcpServers": {
    "mcp-saleor": {
      "command": "npx",
      "args": ["mcp-graphql"],
      "env": {
        "SCHEMA": "/path/to/local/schema.graphql"
      }
    }
  }
}
```

You can download the full Saleor GraphQL schema from the following URL: [https://raw.githubusercontent.com/saleor/saleor/3.23/saleor/graphql/schema.graphql](https://raw.githubusercontent.com/saleor/saleor/3.23/saleor/graphql/schema.graphql)

Note: The URL includes the specific Saleor version (3.23) in the path. To reference a different version, adjust the URL accordingly.

<a id="editor-configuration"></a>

### Editor Configuration

Example MCP configurations for popular editors:

-   VS Code: `.vscode/mcp.json` — [docs](https://code.visualstudio.com/docs/copilot/chat/mcp-servers)
-   Cursor: `.cursor/mcp.json` — [docs](https://docs.cursor.com/context/model-context-protocol#configuration-locations)
-   [JetBrains IDE](https://www.jetbrains.com/help/ai-assistant/configure-an-mcp-server.html)

<a id="graphql-schema"></a>

## GraphQL Schema

The GraphQL schema is the source of truth for all API operations. It includes:

-   **Queries**: Read operations (products, orders, users, etc.)
-   **Mutations**: Write operations (create, update, delete)
-   **Subscriptions**: Real-time events via webhooks
-   **Types**: All data structures and their fields

Schema URLs by version:

-   Latest stable (3.23): `https://raw.githubusercontent.com/saleor/saleor/3.23/saleor/graphql/schema.graphql`
-   Main (may contain unreleased and unstable changes): `https://raw.githubusercontent.com/saleor/saleor/main/saleor/graphql/schema.graphql`
