Wagtail MCP
OfficialProvides tools to interact with a Wagtail CMS instance, enabling agents to read content, create pages, upload images, publish and revert changes through the Wagtail v3 API.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Wagtail MCPpublish the draft page titled Q3 Review under Home"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Wagtail MCP
🚧 this is the first vibe-coded draft of an MCP server prototype for Wagtail. Proceed with caution! Until this is ready, you might prefer to use wagtail-cli. See CMS with AI, not AI CMS: Wagtail 8.0’s new API for context.
A Model Context Protocol (MCP) server for Wagtail, exposing the Wagtail v3 API as model-callable tools. Point a Claude/OpenCode/Hermes-style agent at a Wagtail site and let it read content, create pages, upload images, publish and revert — through the same authenticated operations the v3 API provides.
What it gives you
60 curated tools covering the full shipped v3 operation surface: pages (incl. revisions, move/copy/revert, aliases, translations), images, documents, snippets, redirects, sites and locales — plus
api_call/api_schema, an OpenAPI-backed escape hatch for anything else.In-process dispatch — tools call the mounted v3 API inside the process via Django's test client, so auth, permissions, validation and action logic are the real thing. No network hop, no half-reimplemented client.
Bearer-token auth with Wagtail
APIToken; the v3 API stays the single authority for authorization.Stateless Streamable HTTP — a Django view that works under WSGI and ASGI, with no extra processes.
Related MCP server: MCP Site Manager
Quickstart
wagtail-mcp is a Django app: add wagtail.api.v3 and wagtail_mcp, mount
/api/v3/ and /mcp/, create an API token, point a client at /mcp/. See the
full getting started.
Point a remote MCP client at the endpoint:
{
"mcp": {
"wagtail": {
"type": "remote",
"url": "http://localhost:8000/mcp/",
"headers": {
"Authorization": "Bearer <your-api-token>",
"Content-Type": "application/json"
}
}
}
}Try the demo
The repo ships demo/, a Wagtail site that mounts both the API and the MCP
endpoint and seeds a demo token:
just demoThen use demo/'s token (see demo/README.md) in your client config. The
editorial scenario test is a complete
worked example an agent can follow.
Documentation
Tool reference — all 60 tools, grouped by resource.
Configuration — settings, deployment, token security.
Escape hatch —
api_call/api_schema.
Supported versions
This package supports Wagtail 8.0 and up (the v3 API preview), Django 5.2/6.0, and the compatible Python versions.
Development
Install dependencies, run the tests, lint, and run the demo (asgiref.sync
handles the transport, so just test and just lint are the normal gates):
just install
just test
just lint
just demoSee CONTRIBUTING.md for the full contribution workflow, including the agent-behavior eval suite.
This server cannot be deployed
Maintenance
Related MCP Connectors
Give your AI hands. Identity, credential vault, and API gateway for autonomous agents.
- mcp-serverOAuthcom.make
Give your AI agents the tools to build, manage, and run automation workflows.
Verified, pay-per-use API tools for AI agents through one authenticated connection.
Connect AI agents to 1000+ apps with managed authentication and tool-calling.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceProvides AI agents with access to Umbraco CMS Management API for managing documents, media, content types, templates, users, and other back office operations with user permission-based access control.5 npm57MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to manage WordPress sites via ~74 capabilities including content, media, plugins, themes, and more.-
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage WordPress content (create, retrieve, update posts) via the WordPress REST API with secure authentication.1 npmMIT
- AlicenseCqualityDmaintenanceEnables AI agents to interact with Webflow APIs for managing sites, pages, components, CMS collections, and custom code.32847 npmMIT