Craft 5.12 added a built-in MCP server, allowing AI assistants to access and use “tools” provided by Craft. This opens up some interesting possibilities. My wife, who maintains a multilingual Craft site, was delighted to hear this (especially once I explained how much work it could save her).
The Challenge #
Keeping content from becoming stale is a constant challenge. Even more so when that content has to be translated into multiple languages.
My wife organises dozens of events per year, so keeping her website up to date in its primary language, German, is already time-consuming. Keeping the English translations up to date is another matter entirely. That tends to get put off until later or, in some cases, simply forgotten.
Making matters worse, content is often spread across multiple entries and fields. This is especially true for her site, which makes heavy use of Matrix fields as content builders, making it tricky to compare content across different versions of an entry.
Putting MCP to Work #
With Craft’s MCP server fresh off the shelf, she decided to give it a try. With a little help getting everything set up, she was ready to put AI to work on her content.
She can now open ChatGPT and simply ask questions about the content on her website. Behind the scenes, the LLM connects to Craft’s MCP server, discovers the available tools, and uses them to find and retrieve the relevant content.
Closing the Loop #
This means she can ask ChatGPT to identify outdated translations, then work through them one by one. For each piece of stale content, ChatGPT suggests an updated translation for her to review. Once she’s happy with it, she tells ChatGPT to save the changes to the English version of the site.
And just like that, the loop is closed, from identifying stale content to publishing updated translations. All with a human in the loop to review and approve every change.
Since the site is cached using Blitz, which tracks entry changes and automatically refreshes all associated cached pages, there’s nothing more to do.
Blitz 5.15 also introduced MCP tools for manually managing cached pages, allowing ChatGPT to interact directly with the cache when needed.