Ask the agent to work through those questions before it edits the module. Since December 1, it can look up the technical details in the official PrestaShop 9 documentation through DevDocs MCP.
DevDocs MCP reads the documentation
The server is free, read-only and requires neither an account nor an API key. It has three tools: search_docs searches by keyword, get_doc opens a page as Markdown, and list_sections lets you browse the documentation. To find a hook, give the agent the hook or grid name rather than a prompt like “customize my catalog.”
DevDocs MCP cannot read your store’s orders or inventory. If you already have a connector for your store, keep it: the two servers give the agent access to different sources.
Example: a supplier reference in the Products grid
The official guide to modifying a grid from a module separates the grid definition from data retrieval. Start with actionProductGridDefinitionModifier for the new column. Then look at actionProductGridQueryBuilderModifier, which exposes the search and count queries. If you add a filter, check that the result count and the returned rows still agree. You might only notice the bug on page two.
The documentation cannot tell you which supplier reference belongs in the column. For a grid with one row per product, the default supplier is a reasonable starting point. Test a product with no supplier and another with several. Then check the result count and move to the next page with the filter active.
Show the default supplier’s reference in the PrestaShop 9 Products grid. Use DevDocs MCP and cite the hook pages you’re relying on. Check where those hooks are called in the core version this project targets. Explain how you will keep one row per product and test pagination if the new column is filterable. Do not edit any files yet.
That gives you something quick to review. If the agent names the right hook but cannot explain where the reference comes from, settle that before it writes the diff.
Connect it to Claude Code or Codex
With Claude Code:
claude mcp add --transport http prestashop-devdocs https://devdocs-mcp.prestashop.com/mcp
With Codex, in ~/.codex/config.toml:
[mcp_servers.prestashop-devdocs]
url = "https://devdocs-mcp.prestashop.com/mcp"
Both configurations come from PrestaShop’s announcement. For a one-off lookup, the llms.txt index is another option.
On a PrestaShop 9 module, this is where DevDocs MCP earns its keep: any change that depends on a core hook or API. Still check the installed core and run the tests on a catalog that looks like the client’s. If the module also supports PrestaShop 8, verify that version separately.
Two minutes reviewing the proposal can save a round of acceptance testing spent chasing an assumption nobody discussed.
Sources