AI assistant (MCP)
On this page
PrestaFlow includes an MCP server. Once it is connected, your assistant (Claude Code, Claude Desktop…) can list your projects and suites, write a suite, run it, read the result and fix it, on your own Claude subscription.

The server runs on your computer. PrestaFlow does not need to be open: the assistant starts the server itself, with no port to open and no token to create.
#Connect Claude Code
- In the app, open the user menu (your avatar, top right) and choose AI assistant (MCP).
- Under Claude Code, click Copy.
- Paste the command in a terminal.
The command registers the server for your user, so it is available in all your folders. It
starts with claude mcp add --scope user prestaflow, followed by the paths of the app.
#Connect Claude Desktop
- On the same page, under Claude Desktop, click Copy.
- In Claude Desktop, open Settings › Developer › Edit Config, and add the block to
claude_desktop_config.json. - Restart Claude Desktop.
The same block works in the .mcp.json file of a Claude Code project.
The configuration points to the PHP and the files of the installed app. If an update moves the app, copy the configuration again.
#What the assistant can do
| Tool | What it does |
|---|---|
list_projects |
Lists your projects (one project per shop). |
create_project, update_project |
Creates a project or changes its shop settings. Credentials are never passed to the assistant. |
open_project_settings |
Opens the project settings in the app, where you enter the credentials. |
project_health |
What is failing now in a project, suite by suite, with the unstable tests. |
list_suites, get_suite |
Lists the suites of a project and reads their code (and the project's scenarios, pages and helpers). |
library_catalog |
Lists the pages and methods of the library for the shop's PrestaShop version, and the suite-writing guide. |
explore_shop, get_exploration |
Explores the shop's real pages before writing a suite. |
import_suite |
Checks a suite (dry_run), then adds it, or replaces it when the class name is the same. |
archive_suite |
Puts a trial suite away (reversible). |
sync_git |
Pulls the latest version of the project's Git repository. |
run_suite, cancel_run |
Runs a suite (with video, one test or only the failed ones) and stops a run. |
get_result |
Reads a result: errors, JavaScript errors, screenshot, video frames, and the library a cloud run used. |
list_results, compare_runs |
Run history with the environment of each run, and what a run fixed or broke against the previous one on the same environment. |
get_visual_diff |
Reads a visual checkpoint: reference, capture and differences. |
get_overrides, set_override |
Reads and fixes a selector or a translation for this shop only. |
list_cloud_runs, get_cloud_run |
Cloud and CI runs. |
Two prompts are ready to use: fix_run diagnoses and fixes a failed run, write_suite writes a
new suite from the shop's real pages. The assistant also reads a guide to writing suites
(prestaflow://guides/writing-suites): conventions, reusable scenarios, credentials,
skipOn().
A typical loop: ask for a test ("Add a test suite for the Stripe payment"), the assistant checks the catalog, imports the suite, runs it, reads the result and the video, fixes the code and runs it again until it passes, or tells you what is wrong with the shop.
#Allow or block runs
Under Running suites, Allow the assistant to run suites controls the run_suite tool. A
run only targets the shop URL configured in the project. When it is off, the assistant can still
read and import suites, and read results. Click Save after a change.
#With Discoveries and Fix with Claude
The assistant complements Discoveries without replacing it. Fix with Claude relies on this server to hand a failing run over to Claude.