Для AI-агентов: markdown этой страницы — /docs/mcp-storefront.mdиндекс документации — /llms.txt
MCP: storefront
Обновлено
Определения инструментов. Обновляйте tools/list после изменения прав. required_scopes: ALL.
get_storefront
Read the tenant public-storefront display settings: whether the site is live (enabled), its URL slug (the first label of the business's platform site address that `site_list_pages` lists under `hosts`; the site, sign-in and the catalog at /shop all live on that one address per zone, or on the connected custom domain once it is live), the public page title + subtitle, and `account_links` — the buyer-cabinet custom links (`buttons`: large tiles on the customer's /account page; `menu`: extra items after the standard cabinet sections). 0-cost read.
Scopes (ALL): ["storefront:read"]. Risk: "read".
update_storefront
Update the tenant storefront display settings (partial patch — send only the fields you change; pass null to clear the title/subtitle). Toggle `enabled` to publish/unpublish the site. The slug is chosen once at onboarding and cannot change: a slug equal to the current one is ignored, any other value errors SLUG_IMMUTABLE. `account_links` replaces both cabinet lists at once — send `buttons` (≤5: title ≤40, optional subtitle ≤80, url) and `menu` (≤5: title ≤24, url), where url is the business's own page path starting with a single "/" or an external https:// address; empty lists remove the links. Idempotent. Returns the full updated storefront.
Scopes (ALL): ["storefront:write"]. Risk: "write".