Wagtail MCP
OfficialWagtail MCP
🚧 这是 Wagtail 的 MCP 服务器原型的首个以 vibe coding 方式编写的草稿。请谨慎使用!在它准备好之前,你可能更愿意使用 wagtail-cli。有关背景,请参阅 有 AI 的 CMS,而非 AI CMS:Wagtail 8.0 的新 API。
一个用于 Wagtail 的 Model Context Protocol (MCP) 服务器,将 Wagtail v3 API 暴露为模型可调用的工具。将 Claude/OpenCode/Hermes 风格的智能体指向 Wagtail 站点,让它通过 v3 API 提供的同一套经过身份验证的操作来读取内容、创建页面、上传图片、发布和还原。
它能为你提供什么
60 个精选工具,覆盖完整的已发布 v3 操作面:页面(包括修订、移动/复制/还原、别名、翻译)、图片、文档、片段、重定向、站点和区域设置 — 外加
api_call/api_schema,一个由 OpenAPI 支持的逃生舱,用于处理其他任何需求。进程内调度 — 工具通过 Django 的测试客户端在进程内调用已挂载的 v3 API,因此身份验证、权限、验证和操作逻辑都是货真价实的。没有网络跳转,也没有半重新实现的客户端。
Bearer 令牌身份验证,使用 Wagtail
APIToken;v3 API 仍然是授权的唯一权威。无状态 Streamable HTTP — 一个在 WSGI 和 ASGI 下均可工作的 Django 视图,无需额外进程。
Related MCP server: Umbraco CMS MCP Server
快速开始
wagtail-mcp 是一个 Django 应用:添加 wagtail.api.v3 和 wagtail_mcp,挂载 /api/v3/ 和 /mcp/,创建一个 API 令牌,然后将客户端指向 /mcp/。请参阅完整的入门指南。
将远程 MCP 客户端指向该端点:
{
"mcp": {
"wagtail": {
"type": "remote",
"url": "http://localhost:8000/mcp/",
"headers": {
"Authorization": "Bearer <your-api-token>",
"Content-Type": "application/json"
}
}
}
}试用演示
该仓库附带 demo/,这是一个 Wagtail 站点,同时挂载了 API 和 MCP 端点,并预置了一个演示令牌:
just demo然后在你的客户端配置中使用 demo/ 的令牌(参见 demo/README.md)。编辑场景测试 是一个智能体可以遵循的完整示例。
文档
支持的版本
该包支持 Wagtail 8.0 及以上版本(v3 API 预览版)、Django 5.2/6.0,以及兼容的 Python 版本。
开发
安装依赖、运行测试、进行 lint,并运行演示(asgiref.sync 负责传输,因此 just test 和 just lint 是常规门禁):
just install
just test
just lint
just demo有关完整的贡献流程,包括智能体行为评估套件,请参阅 CONTRIBUTING.md。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI assistants to interact with WordPress sites through REST APIs, allowing programmatic management of posts, users, comments, categories, and tags with secure authentication.2948MIT
- 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.957MIT
- 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.8MIT
Related MCP Connectors
AI-powered design and management for Webflow Sites
Publish to self-hosted WordPress from AI agents: markdown, images, SEO, and Notion sync.
Create, test, publish, and manage Dreamlit notification workflows from AI clients.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/wagtail/wagtail-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server