---
name: sortyra-feed-management
description: Connect an AI agent to Sortyra (product feed management for online shops and agencies) via MCP or the REST API – read catalogues, run outputs, preview and apply bulk rules, categories, translations, pricing and marketplaces.
---

# Sortyra – product feed management for AI agents

Sortyra imports supplier and shop feeds (XML, CSV, JSON), merges them into one catalogue and publishes outputs for
shops, Google Shopping, Meta, comparison sites and marketplaces. Everything a user can do in the app is available
to an agent through MCP or the REST API, with the same permissions.

## Connect

### MCP (recommended for agents)

- Endpoint (Streamable HTTP): `https://app.sortyra.com/mcp` – 253 tools, guide resources and ready-made prompts.
- Authorization: OAuth 2.1 with PKCE – discover it at `https://app.sortyra.com/.well-known/oauth-protected-resource`.
  The user signs in in the browser and approves the access (scopes `read`, `write`).
- Alternative: an organisation API key sent as `Authorization: Bearer fc_…` (created in the app under
  AI and integrations; a read-only key cannot make changes).
- In Claude or ChatGPT it is enough to add the MCP URL – sign-in happens in the browser.

### REST API

- Base URL: `https://app.sortyra.com/api/v1`
- Specification: `https://app.sortyra.com/api/v1/openapi.json`
- Authorization: `Authorization: Bearer fc_…` (organisation API key).

## Typical workflow

1. `list_projects` and `list_sources` – see the outputs (feeds for channels) and the input feeds.
2. `search_products`, `get_product`, `get_trace` – inspect products and why a value changed.
3. `list_rules`, `rule_format`, `propose_rule` / `dry_run` – preview a bulk change on real products first.
4. `enable_rule` or `apply_recipe` – apply only after the user confirmed the preview (two-step write, see below).
5. `run_project` – recalculate the output; `project_readiness` checks what the channel still needs.

Other areas: categories (`category_proposals`, `channel_categories`), translations (`translation_review`,
`glossary_terms`), pricing (`get_price_overview`, `preview_price_strategy`), competitor pairing
(`scan_pairing`), marketplaces (`list_marketplaces`), sales quotes (`list_sales_quotes`), change history
(`list_changes`, `revert_change`).

## Rules for agents

- Always preview (`dry_run`, `preview_*`) and show the user the impact before changing data.
- Writes are two-step and enforced by the server: a tool that saves a change, called without `confirmationCode`,
  changes nothing and returns a preview with a one-time code (valid for 10 minutes, single use, bound to the same
  access, tool and identical arguments). Show the preview to the user; only after their explicit consent call the
  tool again with the same arguments plus `confirmationCode`. Never use a code without the user's consent.
- Manual edits made by people take precedence over automation; do not overwrite locked fields.
- Every change is recorded in the change history and can be reverted.
- Respect the user's plan: a `402`/plan error means the feature is not in their subscription.

## More

- Website: https://sortyra.com
- Overview for LLMs: https://sortyra.com/llms.txt
- Authentication for agents: https://sortyra.com/auth.md
- Contact: support@sortyra.com
