I joined the Craft Entries podcast last week to talk about my experience using Craft’s new built-in MCP server and some of the features coming in Craft 6. And I’ve since had to eat some of my words about use-cases for MCP in my plugins.

A vintage machine untangles colourful threads into five email campaigns ranked by engagement, with the highest-performing campaign illuminated.

I highly recommend listening to the podcast, but for context, I wasn’t sure what use cases there were for MCP in the Campaign plugin, beyond basic editing capabilities.

That was until William Bocchinelli pointed it out to me:

For someone that uses Campaign (and constantly tries to sell it to my clients as a MailChimp alternative), I think clients would love to use it via MCP. Maybe not to build and send campaigns, but to explore campaign reach or ask their LLMs questions like what content gets the most engagement, would be an extremely good use of MCP.

Campaign MCP Tools #

I added six read-only reporting tools in Campaign 3.11.0. They let you compare sent campaigns, dig into individual campaign reports, see which links got the most clicks, and explore engagement over time. You can also look up who received a campaign and see tracked activity for individual contacts, where activity tracking is enabled.

That means you can ask questions like:

  • Which of the last five newsletters had the highest click-through rate?
  • Which links in the last newsletter got the most unique clicks?
  • How much engagement did the last campaign get in the first 24 hours?

Campaigns, contacts, mailing lists, segments and sendouts are also available through Craft’s MCP element tools, so you can find and manage them within the permissions you already have in Craft.

Sample Prompt Result #

Below is the result of a sample prompt on a real site running Campaign.

Which links got the most unique clicks in each of the last five newsletters sent, and do any topics consistently drive engagement?

Retreats drive the most engagement. A retreat link ranked in the top two in all five newsletters and took first place twice. YouTube videos led all three issues that featured one, with 14 to 17 unique clicks each.

Send dateTop links by unique clicks
13 NovYouTube video 17, retreat 6, retreats overview 5
12 OctRetreat links 19, 9, and 3 each for two more links
24 SepRetreat links 17, 15, and 5 each for two more links
31 AugYouTube video 14, retreat links 6 and 5
10 AugYouTube video 17, two retreat links 9 each

The same retreat drew 15 unique clicks in September and 19 in October. The same video led both August issues, with 17 and 14 unique clicks.

While all of this data was already available in Campaign, answering some of these questions would have involved manually going through multiple reports and comparing the numbers. 

The interesting thing about making this data accessible through MCP is that it encourages us to ask questions we might not otherwise have taken the time to answer. And those answers might well influence what goes into our next newsletter.