Craft CMS 5.12 and MCP: What a Built-In Server Changes for Your Site

2026-11-09
Craft 5.12 makes AI access a core feature: OAuth-bound MCP servers, a public endpoint you control, and GraphQL schemas built from user permissions.
Craft 5.12 shipped on November 3, and the headline isn't a field type or an editor tweak. The release adds Model Context Protocol servers to the core, which means an AI client can talk to a Craft install without a plugin, a middleware layer, or a custom API.
That's a bigger deal for a content management system than it sounds. Most CMS integrations with AI tools today are either read-only exports or bespoke scripts someone maintains until they leave the team. A supported, authenticated server turns that into a feature with a support policy.
What shipped in Craft 5.12
The Craft CMS update lands three related things:
- Two built-in MCP servers, one authenticated and one public
- An authenticated Craft GraphQL API that builds a schema per user
- A set of authoring improvements, including file pasting into Assets fields and Markdown previews
Both MCP servers are off by default. You enable and configure them from a new Settings → MCP screen, which is the right default for a feature that can expose content to an outside process.
Why MCP matters for a content management system
Model Context Protocol is a way for AI clients to discover and call tools on a server. Instead of teaching every assistant a bespoke integration, the server publishes a tool list and the client picks from it. Claude, ChatGPT, and Cursor all speak it now, and that's the practical reason a CMS would care: one implementation, several clients.
For editors, the useful scenario is a chat window that can search entries, read fields, and draft content inside the real structure of the site. For developers, it's an agent that can inspect a section, find the template that renders it, and change both in one pass.
The CMS MCP server idea is not new in 2026. WordPress has plugin-based versions, and several headless CMS vendors shipped their own. What's different here is that Craft built it into core and tied it to its existing permission system, which is the part most third-party implementations get wrong.
The authenticated MCP server and how OAuth fits
The authenticated server uses a new OAuth service. You authorize an MCP client, the client acts on behalf of your user, and every action is bounded by two things: your existing permissions and the access level granted during authorization.
That's the correct model, and it's worth being precise about why. A token that inherits your full admin rights is a liability, because an agent that misunderstands a request can delete a section. An authorization screen that asks for a specific scope gives you a chance to say "read entries, don't touch settings" before anything runs.
The practical effect is that a content editor can hand an assistant editing rights on their own drafts without handing it the keys to the whole install. That's the difference between a feature people use and a feature security teams ban.
The public MCP server: what you expose on purpose
The second server needs no sign-in. It only exposes the capabilities and content you explicitly approve, which makes it a publishing surface rather than an editing one.
Think of it as a documented way to let an outside assistant answer questions about your site: which products exist, what a page says, which entries are live. If you've ever watched a support bot hallucinate your own documentation, the appeal is obvious.
The risk is equally obvious. A public server is a public API, and whatever you approve becomes available to anyone who can reach it. Craft's answer is that nothing is exposed until you opt in, per capability and per content. Read that screen twice before you save it.
mcp/serve: local agents that can edit project config
The release also adds a mcp/serve command, which runs a local authenticated server on your machine. An agent running locally can connect to it, act as a given user, and make content changes.
The interesting part is project config. Craft stores configuration in YAML, and hand-editing those files is one of the rituals that separates long-time Craft developers from everyone else. The local server lets an agent make project config changes through the same permission model, without opening the YAML.
That's convenient and slightly alarming. Project config controls fields, sections, and site behavior, so an agent with access to it can restructure a site. Run it against a local environment first, keep the changes in version control, and review the diff before it reaches staging.
Craft GraphQL gets authenticated requests
Craft's GraphQL API used to be schema-based: you defined a schema, requests carried a token, and anything in that schema was fair game. That worked for public content and poorly for user-specific data, like account details or entry drafts.
Craft 5.12 changes the model. GraphQL requests can now be authenticated as a real user, and the schema is built on the fly from that user's permissions. Personal tokens are supported too, so a request can carry a user identity without a full OAuth dance.
For anyone building a mobile app or a partner portal on top of Craft, this removes a long-standing workaround: creating a schema per role and hoping nobody found the endpoints. The permission boundary now sits where it should, at the user.
Security questions to settle before you turn it on
Four things deserve a decision before the servers go live.
Who can authorize a client. The OAuth flow is only as safe as the accounts allowed to complete it. Start with a small group and an obvious audit trail.
What the public server exposes. Approve capabilities one at a time, and check the result from an unauthenticated client before announcing anything.
Whether your staging install is reachable. A public MCP endpoint on a preview domain is a leak waiting for a crawler.
How you review agent changes. Project config edits and entry updates should land in version control with a human reading the diff. The permission model limits damage. It doesn't replace review.
One more piece of housekeeping: plugins can register their own MCP capabilities in 5.12. That's good for the plugin community and a new surface to audit, since a third-party plugin can now publish tools that your agents will see.
How to try it in five steps
- Update a local or staging install to Craft 5.12 through Composer, and run the migrations.
- Open Settings → MCP and enable the authenticated server first. Leave the public one off.
- Authorize one client, such as Cursor, and grant the narrowest access level that still lets you work.
- Ask the client to list sections. If it can see more than you expected, revoke the authorization and start again.
- Test
mcp/serveon a scratch project before you point it at anything with project config you care about.
There's no plugin download involved, which is the quiet win here. A feature that used to require a third-party package and a support contract is now a settings screen.
What's missing
Documentation depth is the first gap. The release post explains what the servers do, not how each client behaves against them, and MCP clients differ in how they handle tool discovery and long-running calls.
Rate limiting and logging aren't described in the announcement either. For a public endpoint, those are the first two things an operations team will ask about.
And the Craft CMS MCP server still depends on an AI client that behaves. A model that calls the wrong tool with the right arguments can do real damage inside the permissions you granted. Review stays human.
The bottom line
Craft 5.12 is the first mainstream CMS release where AI access is a supported core feature rather than a plugin experiment. The authenticated server, the per-user GraphQL schema, and the local mcp/serve command all point the same direction: give AI agents a real permission boundary instead of an API key with god rights.
If you run a Craft site, update a staging install this week and try the authenticated server with read-only scope. Keep the public server off until you have a reason to turn it on, and treat project config access the way you'd treat database access. The post is short, and the feature is bigger than the post suggests.
