Craft 6: MCP Server

Craft 6 includes a built-in MCP server, and it's been backported to Craft 5.12. MCP gives AI tools like Claude Code a standard way to discover and call capabilities that Craft exposes. These are tools for reading and writing entries, managing drafts, creating sections and fields, and more.

Craft 6 includes a built-in MCP serv­er, and it’s been back­port­ed to Craft 5.12. MCP gives AI tools like Claude Code a stan­dard way to dis­cov­er and call capa­bil­i­ties that Craft expos­es. These are tools for read­ing and writ­ing entries, man­ag­ing drafts, cre­at­ing sec­tions and fields, and more.

In this video, I con­nect Claude Code to a Craft site through the authen­ti­cat­ed MCP serv­er and put it to work:

  • Gen­er­ate a full con­tent mod­el doc­u­ment for an exist­ing site
  • Ask how much con­tent the site has, and get back a table of entries by status
  • Draft a new prop­er­ty entry with place­hold­er content
  • Cre­ate a Com­mu­ni­ty Events sec­tion with fields, sam­ple entries, tem­plates, and a nav­i­ga­tion link

The MCP serv­er uses real Craft user accounts, so the AI can only do what that user is allowed to do. Craft stays the source of truth. Val­i­da­tion, work­flow rules, and approvals all still apply, and every change is record­ed in the activ­i­ty his­to­ry, just like work done in the con­trol panel.

None of this was impos­si­ble before. Devel­op­ers have been point­ing AI tools at project con­fig and data­bas­es and let­ting them infer how a site works. What’s dif­fer­ent is that the AI now works through first-par­­ty, sup­port­ed tools, so the results are pre­dictable and con­sis­tent every time.

Find all of the Craft 6 videos at craftquest.io/craft‑6.

Transcript

Premium

Follow along with the full transcript

Search every word, click any line to jump to that moment, and read along as you watch. A CraftQuest Premium feature.

Sign up for Premium