story-theme-mcp
v1.7.5Serveur MCP du Story Thème : votre assistant IA connaît le thème Shopify Story par cœur et construit des boutiques propres et professionnelles.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_started Démarrer
START HERE. Theme version, method to build a professional store with Story Theme, the tools in order, and existing projects.
theme_source Source du thème
Which Story Theme version the MCP is working on and where it comes from (member area dashboard, local cache, or local folder). `update: true` asks the member area for the latest published version and downloads it if it changed. Use it when the merchant mentions a new theme version, or when a section seems missing.
| Parameter | Type | Description |
|---|---|---|
force | boolean | Retélécharger la version même si elle est déjà en cache (cache abîmé) |
update | boolean | Interroger l’espace membre maintenant et télécharger la dernière version publiée si elle a changé |
inspiration Boutiques démo
The ten Story Theme demo stores, composed by the theme designer. Without arguments: the catalogue (niche, positioning). With `demo`: how that store composes its pages — sections in order, palettes, block types. Look at the demo closest to the merchant’s business BEFORE building, and take inspiration from the sequence and rhythm — never from its texts.
| Parameter | Type | Description |
|---|---|---|
demo | string | Identifiant d’une démo (sylys, narvo, havn…) |
page | string | Page précise : index, product, collection, ou une page de marque (page.a-propos…) |
read_guide Lire un guide
Read a Story Theme guide (French). Topics: demarrage, architecture, design-pro, couleurs, typographie, accueil, fiche-produit, offres, entete-pied, pages, redaction, images, seo-performance, accessibilite, lancement, limites, signatures, reproduire, metiers, copywriting, structures.
| Parameter | Type | Description |
|---|---|---|
topic * | string |
search_theme Chercher dans le thème
Full-text search (French or English, accents optional) across sections, blocks, presets, settings, global settings, guides and recipes. Use it to find how the theme does something ("compte à rebours", "livraison offerte", "avant après").
| Parameter | Type | Description |
|---|---|---|
query * | string | |
kind | string | |
limit | integer |
list_sections Lister les sections
List the sections you can place, with their presets and what they are for. Filter by template type (index, product, collection, page…) or section group (header, footer).
| Parameter | Type | Description |
|---|---|---|
group | string | Groupe de sections : header, footer |
language | string | |
template | string | Type de modèle : index, product, collection, page, cart, search, blog, article, 404, password, list-collections, customers/account… |
get_section Détail d’une section
Everything about one section: purpose, where it is allowed, accepted blocks, static blocks, every preset as a block tree (in the chosen language), and its settings (ids, types, options, ranges, defaults). Read this before adding or editing a section.
| Parameter | Type | Description |
|---|---|---|
type * | string | |
detail | string | summary, presets, settings, ou full (défaut) |
language | string |
list_blocks Lister les blocs
List theme blocks. With `parent` (a section or block type), lists exactly what that parent accepts (public @theme blocks and its private blocks).
| Parameter | Type | Description |
|---|---|---|
include_private | boolean | Inclure les blocs privés (préfixe _) sans parent donné |
language | string | |
parent | string | Type de section ou de bloc parent |
get_block Détail d’un bloc
Everything about one block: purpose, which parents accept it, its children, presets as trees, and every setting (ids, types, options, ranges, defaults).
| Parameter | Type | Description |
|---|---|---|
type * | string | |
detail | string | |
language | string |
get_theme_settings Réglages du thème
Global theme settings (config/settings_schema.json): colours, typography, buttons, radius, cards, cart, social links… With `project`, also shows that project’s current values.
| Parameter | Type | Description |
|---|---|---|
group | string | Filtrer un groupe (ex. Typographie, Boutons, Panier) |
language | string | |
project | string |
get_theme_template Modèle du thème
A template or section group as shipped with the theme (reference compositions). Without `file`, lists them.
| Parameter | Type | Description |
|---|---|---|
file | string | ex. templates/product.json, sections/footer-group.json |
format | string | |
language | string |
recipes Recettes de pages
Ready-made page compositions (home pages by business type, product pages, collection, about, contact, FAQ, tracking, landing) built only from theme presets. Without `id`: the list. With `id`: the steps and what each section must say.
| Parameter | Type | Description |
|---|---|---|
id | string | |
template | string | Filtrer par fichier ou type (index, product, page…) |
generate_color_schemes Générer les palettes
Builds the four colour schemes the theme uses (background-1, background-2, inverse, scheme), the global palette and button palettes from 1–2 brand colours. Every text/button pair is pushed to WCAG AA; brand colour adjustments are reported. Pass the result to update_theme_settings.
| Parameter | Type | Description |
|---|---|---|
primary * | string | Couleur principale #RRGGBB |
background | string | Fond clair imposé #RRGGBB (ex. crème) |
mood | string | light (défaut) ou dark (boutique sombre) |
neutral | string | Teinte des neutres : tinted (teintée par la marque, défaut), warm (crème), cool, pure (gris neutres) |
secondary | string | Couleur secondaire #RRGGBB |
check_contrast Vérifier un contraste
WCAG contrast ratio between two colours, with AA/AAA verdicts for body text and large text.
| Parameter | Type | Description |
|---|---|---|
background * | string | |
foreground * | string |
find_fonts Polices
Fonts from the Shopify font library (the only ones a font_picker accepts). No args: tested pairings by style. `query`: search families. `handle`: check one handle (unknown or deprecated).
| Parameter | Type | Description |
|---|---|---|
handle | string | |
query | string |
validate_json Valider un JSON
Validates a template, section group or settings_data against the real theme schemas (types, blocks allowed, setting ids and values, limits, rich text), plus a design review. No project needed.
| Parameter | Type | Description |
|---|---|---|
content * | Le JSON (objet ou texte) | |
file * | string | Chemin du fichier dans le thème, ex. templates/index.json, templates/page.contact.json, sections/header-group.json, config/settings_data.json |
language | string |
build_store Construire la V1 d’une boutique
Builds the complete first version of a store in one call — AFTER the one-shot brief of the instructions (or right away if the merchant says "vas-y") — and exports the zip. Before writing copy, read read_guide copywriting (how to write copy that sells, zone by zone) and read_guide structures (the page skeleton for the store model: brand, niche, large catalogue, dropshipping, one-product sales page, premium). Identity (colour schemes, fonts, art direction), home page, product page, collection page, about / how-to / contact / FAQ / tracking pages (about and how-to composed for the business: b…
compose_page Composer une page
Designs a page freely with ANY section of the theme: for each section, a preset to start from plus its content (title, text, badge, buttons, repeated items such as steps, cards, questions, figures, specs, comparison rows and columns, hotspots, reviews, photos), palette, shape separators and photos (image, images, image_before / image_after), and the catalogue it shows (collection for a product list, collections, product for a featured product — else the project's main collection). The MCP places everything in the right blocks, adds or removes items, and saves only if the file is valid. Write…
| Parameter | Type | Description |
|---|---|---|
file * | string | ex. templates/page.utilisation.json, templates/page.ingredients.json, templates/index.json |
sections * | array | |
mode | string | |
project | string | Projet (par défaut : le projet en cours) |
summary | string |
create_project Créer un projet
Creates a store project: a workspace holding the store’s templates, section groups and theme settings, starting from the theme defaults. Fill the brief with facts from the merchant (never invent proofs).
| Parameter | Type | Description |
|---|---|---|
name * | string | Nom de la boutique ou du projet |
brief | object | |
language | string | Langue de la boutique (fr par défaut) |
list_projects Projets
Lists store projects.
get_project Projet
A project’s brief, which files it customises (vs theme defaults), the outline of its home page, and recent changes.
| Parameter | Type | Description |
|---|---|---|
project | string | Projet (par défaut : le projet en cours) |
update_brief Compléter le brief
Adds or changes facts in a project brief (merged).
| Parameter | Type | Description |
|---|---|---|
brief * | object | |
project | string | Projet (par défaut : le projet en cours) |
read_file Lire un fichier du projet
Reads a project file (or the theme default when the project has not customised it) as an outline with block ids (for edit_template targets) and/or full JSON.
| Parameter | Type | Description |
|---|---|---|
file * | string | ex. templates/index.json, sections/header-group.json, config/settings_data.json |
format | string | |
project | string | Projet (par défaut : le projet en cours) |
list_texts Textes et liens d’une page
Lists every text, rich text and link of a project file with its exact target ("section/block/…") and setting id, flagged [à réécrire] when the review would flag it (sample copy, English, unverified claims) or [exemple générique] for short theme labels that may stay. Use it to rewrite a whole page in one edit_template call of update_settings operations.
| Parameter | Type | Description |
|---|---|---|
file * | string | |
only_to_fix | boolean | Seulement les textes signalés |
project | string | Projet (par défaut : le projet en cours) |
write_file Écrire un fichier entier
Saves a whole template, section group or settings_data in a project, after validation against the theme schemas. Refused (nothing saved) if any error. Prefer edit_template for changes.
| Parameter | Type | Description |
|---|---|---|
content * | ||
file * | string | |
project | string | Projet (par défaut : le projet en cours) |
summary | string | Ce qui change, pour l’historique |
edit_template Modifier un modèle
Applies a list of operations to a template or section group of a project, validates the result, and saves it only if valid (all or nothing). Operations: - add_section {type, preset?, id?, position?, settings?} (sections come from their preset, texts in the project language) - remove_section {section} · move_section {section, position} · duplicate_section {section, position?} · replace_section {section, data} - update_settings {target, settings, mode?} (target "section" or "section/block/…"; null removes a setting) - add_block {parent, type, preset?, id?, position?, settings?} · remove_bl…
| Parameter | Type | Description |
|---|---|---|
file * | string | templates/<nom>.json ou sections/<groupe>.json |
operations * | array | |
project | string | Projet (par défaut : le projet en cours) |
summary | string |
apply_recipe Appliquer une recette
Builds a page from a recipe (see `recipes`) into a project file, from theme presets with texts in the project language. Replaces the file by default (undo restores it). Then rewrite every sample text for the brand.
| Parameter | Type | Description |
|---|---|---|
recipe * | string | |
file | string | Fichier cible (par défaut celui de la recette) |
mode | string | replace (défaut) ou append (ajoute les sections à la fin) |
project | string | Projet (par défaut : le projet en cours) |
localize_template Traduire les modèles du thème
Translates the English sample texts of the theme’s own templates and section groups into the project language, using the theme’s official translations (about 95 % of the default home page, half of the other pages). Saves the result in the project and lists the texts left to write (then list_texts + edit_template). Use it for pages kept close to the theme’s design; use apply_recipe for pages rebuilt from a recipe.
| Parameter | Type | Description |
|---|---|---|
files | array | Fichiers à traduire ; par défaut tous les modèles et groupes pas encore personnalisés par le projet |
project | string | Projet (par défaut : le projet en cours) |
exclude_template Retirer un modèle inutile
Leaves an unused alternate template (product.offers-*, page.help, page.wishlist…) out of the export and the review, so it never appears in the admin with sample content. Base templates cannot be removed. include=true puts it back.
| Parameter | Type | Description |
|---|---|---|
file * | string | |
include | boolean | |
project | string | Projet (par défaut : le projet en cours) |
update_theme_settings Réglages du thème du projet
Merges global theme settings into the project’s config/settings_data.json: `settings` (fonts, buttons, radius, cart type, social links…), `color_schemes` (replaces the listed schemes), `palette`. Validated and contrast-audited; refused on error.
| Parameter | Type | Description |
|---|---|---|
color_schemes | object | { "background-1": { settings: {…} }, … } (sortie de generate_color_schemes) |
palette | object | |
project | string | Projet (par défaut : le projet en cours) |
remove_schemes | array | Palettes à supprimer (vérifiez qu’aucune section ne les utilise) |
settings | object | { id_réglage: valeur } ; null supprime |
review_project Revue complète
Full review of a project before export: blocking errors, design issues (sample or English texts left, missing links, several h1, contrast, fonts, fake urgency…), theme templates still untouched, and the go-live checklist.
| Parameter | Type | Description |
|---|---|---|
project | string | Projet (par défaut : le projet en cours) |
undo Annuler
Restores a project file to its state before the last change (of that file, or of the whole project). Can be repeated.
| Parameter | Type | Description |
|---|---|---|
file | string | |
project | string | Projet (par défaut : le projet en cours) |
revert_file Revenir à la version du thème
Drops the project’s version of a file so the theme default applies again (undo can bring it back).
| Parameter | Type | Description |
|---|---|---|
file * | string | |
project | string | Projet (par défaut : le projet en cours) |
export_theme Exporter le thème
Builds the theme zip to upload in Shopify (Online Store > Themes > Add theme > Upload zip), with the project files on top of the theme, plus the go-live checklist. Refused while any blocking error remains. Nothing is sent to a store.
| Parameter | Type | Description |
|---|---|---|
project | string | Projet (par défaut : le projet en cours) |
migrate_project Mettre le projet à jour avec le thème
After a theme update: removes settings the theme no longer has and resets values it no longer accepts (default value, nearest valid step), in every project file, without changing what renders. Unknown section or block types are reported, not removed. export_theme runs it automatically.
| Parameter | Type | Description |
|---|---|---|
project | string | Projet (par défaut : le projet en cours) |
import_theme Importer un thème
Creates a project from a theme exported from a store (folder or .zip from Online Store > Themes > Download), to audit or rework it. Reports files that do not match this theme version.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
source * | string | Chemin du dossier ou du .zip |
language | string |
migrate_v3 Passer une boutique 3.x en 4.x
Migrates a store running Story Theme 3.x (3.7 or older) to the current 4.x, which the member area update cannot do (the 4.0 rebuilt every section schema: copied settings would give an empty store). Reads the 3.x theme straight from a connected store (`shop` + `theme`), or from a theme exported from the store (`source`: folder or .zip). Every section is read for what the merchant wrote — titles, texts, buttons, photos, videos, products, collections, reviews, questions — and rebuilt with the 4.0 section that does the same job, from its preset. Also carries colours, fonts, logo, menus, announ…
| Parameter | Type | Description |
|---|---|---|
name * | string | Nom du projet (la marque) |
language | string | Langue de la boutique ; par défaut, devinée d’après ses textes |
shop | string | Boutique branchée (list_shops) dont on lit le thème 3.x directement |
source | string | Sinon, chemin du thème 3.x exporté de la boutique : dossier, ou .zip (Boutique en ligne > Thèmes > … > Télécharger le fichier du thème) |
theme | string | Avec shop : identifiant numérique du thème 3.x (push_to_shop sans theme liste les thèmes) |
list_shops Vos boutiques
Lists the Shopify stores declared in this Story Theme account, and says which ones are wired for direct writing. Call it before any store work.
push_to_shop Envoyer le projet dans une boutique
Writes the project files (page templates, section groups, theme settings) straight into a theme of one connected store — no zip, no manual import. Without `theme`, lists the store themes. With `create: true`, creates a new UNPUBLISHED theme from the latest Story Theme release and writes the project into it. `files` limits the push to those project files (everything else in the theme is untouched). Before writing into an existing theme, re-reads it: files the merchant changed in the Shopify editor since the last exchange stop the push (pull_from_shop first). The PUBLISHED theme never receives…
| Parameter | Type | Description |
|---|---|---|
shops * | string | UNE boutique : son domaine ou son nom (list_shops les donne). |
confirm | boolean | Obligatoire pour écrire dans le thème PUBLIÉ (avec files). Seulement après demande explicite du marchand. |
create | boolean | Créer un thème NON PUBLIÉ à partir du projet, au lieu d’écrire dans un thème existant. |
files | array | N’envoyer que ces fichiers du projet (ex. ["templates/product.offre-b.json"]) ; le reste du thème n’est pas touché. Obligatoire pour le thème PUBLIÉ. |
overwrite | boolean | Écraser des fichiers modifiés dans Shopify depuis le dernier échange. Seulement après accord explicite du marchand : sinon pull_from_shop. |
project | string | Projet à envoyer (par défaut : le projet en cours). |
theme | string | Thème de destination : son identifiant numérique. Sans lui, la liste des thèmes est renvoyée. |
pull_from_shop Relire le thème de la boutique
Reads the page templates, section groups and theme settings of a theme of a connected store into the project, so the project matches what the merchant sees — including what they changed by hand in the Shopify editor. Call it BEFORE changing a store that already has a Story Theme 4.x theme, and whenever push_to_shop reports files changed in Shopify. Without a current project (or with `name`), creates one from the theme. A theme still on Story Theme 3.x goes through migrate_v3 instead. Read-only on the store side.
| Parameter | Type | Description |
|---|---|---|
shops * | string | UNE boutique : son domaine ou son nom (list_shops les donne). |
theme * | string | Identifiant numérique du thème à relire (push_to_shop sans theme liste les thèmes). |
name | string | Créer un nouveau projet de ce nom à partir du thème, au lieu de mettre à jour le projet en cours. |
project | string | Projet à mettre à jour (par défaut : le projet en cours). |
update_theme Mettre à jour le Story Thème de la boutique
Mise à jour du Story Thème d'une boutique en un appel, par Theme Access (aucune appli nécessaire). Crée un NOUVEAU thème non publié à partir de la dernière version du Story Thème, y recopie les modèles de pages, les groupes de sections et les réglages du thème actuel (le publié par défaut, ou `theme`), mis à la norme de la nouvelle version (réglages disparus retirés, valeurs refusées remises par défaut, sections ou blocs disparus retirés, le tout listé). Le thème publié n'est jamais modifié : le marchand prévisualise puis publie lui-même. Si Shopify installe encore le…
| Parameter | Type | Description |
|---|---|---|
shops * | string | UNE boutique : son domaine (list_shops les donne). |
overwrite | boolean | Réécrire aussi les fichiers que le marchand a retouchés dans le thème neuf depuis l’appel précédent. Seulement après son accord explicite. |
target | string | Thème neuf déjà créé par un appel précédent, pour reprendre (facultatif : il est retrouvé par son nom). |
theme | string | Thème à mettre à jour (identifiant numérique). Par défaut : le thème publié. |