story-theme-mcp

v1.7.5
story-theme-mcp Checked 2 days ago Published 22 days ago

Serveur 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.

ParameterTypeDescription
forcebooleanRetélécharger la version même si elle est déjà en cache (cache abîmé)
updatebooleanInterroger 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.

ParameterTypeDescription
demostringIdentifiant d’une démo (sylys, narvo, havn…)
pagestringPage 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.

ParameterTypeDescription
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").

ParameterTypeDescription
query *string
kindstring
limitinteger

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).

ParameterTypeDescription
groupstringGroupe de sections : header, footer
languagestring
templatestringType 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.

ParameterTypeDescription
type *string
detailstringsummary, presets, settings, ou full (défaut)
languagestring

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).

ParameterTypeDescription
include_privatebooleanInclure les blocs privés (préfixe _) sans parent donné
languagestring
parentstringType 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).

ParameterTypeDescription
type *string
detailstring
languagestring

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.

ParameterTypeDescription
groupstringFiltrer un groupe (ex. Typographie, Boutons, Panier)
languagestring
projectstring

get_theme_template Modèle du thème

A template or section group as shipped with the theme (reference compositions). Without `file`, lists them.

ParameterTypeDescription
filestringex. templates/product.json, sections/footer-group.json
formatstring
languagestring

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.

ParameterTypeDescription
idstring
templatestringFiltrer 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.

ParameterTypeDescription
primary *stringCouleur principale #RRGGBB
backgroundstringFond clair imposé #RRGGBB (ex. crème)
moodstringlight (défaut) ou dark (boutique sombre)
neutralstringTeinte des neutres : tinted (teintée par la marque, défaut), warm (crème), cool, pure (gris neutres)
secondarystringCouleur secondaire #RRGGBB

check_contrast Vérifier un contraste

WCAG contrast ratio between two colours, with AA/AAA verdicts for body text and large text.

ParameterTypeDescription
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).

ParameterTypeDescription
handlestring
querystring

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.

ParameterTypeDescription
content *Le JSON (objet ou texte)
file *stringChemin du fichier dans le thème, ex. templates/index.json, templates/page.contact.json, sections/header-group.json, config/settings_data.json
languagestring

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…

ParameterTypeDescription
file *stringex. templates/page.utilisation.json, templates/page.ingredients.json, templates/index.json
sections *array
modestring
projectstringProjet (par défaut : le projet en cours)
summarystring

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).

ParameterTypeDescription
name *stringNom de la boutique ou du projet
briefobject
languagestringLangue 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.

ParameterTypeDescription
projectstringProjet (par défaut : le projet en cours)

update_brief Compléter le brief

Adds or changes facts in a project brief (merged).

ParameterTypeDescription
brief *object
projectstringProjet (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.

ParameterTypeDescription
file *stringex. templates/index.json, sections/header-group.json, config/settings_data.json
formatstring
projectstringProjet (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.

ParameterTypeDescription
file *string
only_to_fixbooleanSeulement les textes signalés
projectstringProjet (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.

ParameterTypeDescription
content *
file *string
projectstringProjet (par défaut : le projet en cours)
summarystringCe 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…

ParameterTypeDescription
file *stringtemplates/<nom>.json ou sections/<groupe>.json
operations *array
projectstringProjet (par défaut : le projet en cours)
summarystring

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.

ParameterTypeDescription
recipe *string
filestringFichier cible (par défaut celui de la recette)
modestringreplace (défaut) ou append (ajoute les sections à la fin)
projectstringProjet (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.

ParameterTypeDescription
filesarrayFichiers à traduire ; par défaut tous les modèles et groupes pas encore personnalisés par le projet
projectstringProjet (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.

ParameterTypeDescription
file *string
includeboolean
projectstringProjet (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.

ParameterTypeDescription
color_schemesobject{ "background-1": { settings: {…} }, … } (sortie de generate_color_schemes)
paletteobject
projectstringProjet (par défaut : le projet en cours)
remove_schemesarrayPalettes à supprimer (vérifiez qu’aucune section ne les utilise)
settingsobject{ 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.

ParameterTypeDescription
projectstringProjet (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.

ParameterTypeDescription
filestring
projectstringProjet (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).

ParameterTypeDescription
file *string
projectstringProjet (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.

ParameterTypeDescription
projectstringProjet (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.

ParameterTypeDescription
projectstringProjet (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.

ParameterTypeDescription
name *string
source *stringChemin du dossier ou du .zip
languagestring

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…

ParameterTypeDescription
name *stringNom du projet (la marque)
languagestringLangue de la boutique ; par défaut, devinée d’après ses textes
shopstringBoutique branchée (list_shops) dont on lit le thème 3.x directement
sourcestringSinon, 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)
themestringAvec 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…

ParameterTypeDescription
shops *stringUNE boutique : son domaine ou son nom (list_shops les donne).
confirmbooleanObligatoire pour écrire dans le thème PUBLIÉ (avec files). Seulement après demande explicite du marchand.
createbooleanCréer un thème NON PUBLIÉ à partir du projet, au lieu d’écrire dans un thème existant.
filesarrayN’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É.
overwritebooleanÉcraser des fichiers modifiés dans Shopify depuis le dernier échange. Seulement après accord explicite du marchand : sinon pull_from_shop.
projectstringProjet à envoyer (par défaut : le projet en cours).
themestringThè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.

ParameterTypeDescription
shops *stringUNE boutique : son domaine ou son nom (list_shops les donne).
theme *stringIdentifiant numérique du thème à relire (push_to_shop sans theme liste les thèmes).
namestringCréer un nouveau projet de ce nom à partir du thème, au lieu de mettre à jour le projet en cours.
projectstringProjet à 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…

ParameterTypeDescription
shops *stringUNE boutique : son domaine (list_shops les donne).
overwritebooleanRéé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.
targetstringThème neuf déjà créé par un appel précédent, pour reprendre (facultatif : il est retrouvé par son nom).
themestringThème à mettre à jour (identifiant numérique). Par défaut : le thème publié.