Skip to content
Professional WordPress Development · High-Performance Website Building · Server Optimization · Comprehensive Website Support · One-Stop Super Service Platform
Menu

WordPress AI Editor Plugin: Let AI Assistants Directly Edit Websites with MCP

Article summary

Introduce how the MCP Expose Abilities plugin connects AI assistants with WordPress through the Model Context Protocol, covering applicable scenarios, installation sequence, core capabilities, security mechanisms, common issues, and version changes.

MCP-exposed capabilities are a type of AI editing plugin solution for WordPress: it exposes posts, pages, menus, media, plugins, comments, options, and other capabilities to AI assistants via MCP, so you no longer copy and paste back and forth between the chat window and wp-admin backend, but directly describe the goal, let the agent execute, and then verify the result.

Plugin Information:Test result: 7.0 Stable tag: 3.0.76 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html

What it does

This plugin exposes WordPress functionality through MCP (Model Context Protocol), enabling AI assistants to interact directly with your WordPress site. No more copying and pasting between chat and admin.

Example: “Fix phone numbers in these 25 posts as clickable tel: links.” — done in 30 seconds, all 25 posts.

The real workflow

In practice, humans shouldn't have to remember the entire ecosystem.

The normal model is:

Point Codex or another MCP-capable agent to this repository

Let the agent read the README and wiki

Let the agent figure out the required stack and related plugins

Give the agent a task with clear boundaries

The human's job is mainly to describe the goal. The agent's job is to figure out the mechanics.

Why it feels different

Most WordPress AI demos still make you do the boring parts yourself.

This ecosystem is different because the agent can actually accomplish work inside WordPress:

Fix duplicate content issues across multiple pages

Update menus, media, plugins, comments, and options

Use real builders and plugin ecosystems like Elementor, GeneratePress, Rank Math, and Wordfence

Dealing with that kind of website maintenance people usually put off because it’s repetitive and tedious

This changes the experience:

Here is what you should do in wp-admin

To:

Tell the agent what needs doing, and let it carry out the work

Before vs After

Before

Asking AI what to do

Manually copying the answer into WordPress

Clicking through wp-admin to find repetitive sections

Losing motivation because the task is boring

Putting off cleanup, maintenance, or optimization once again

After

Telling the agent what needs to be done

Letting it inspect the site directly

Letting it make targeted changes

Verifying the results

Moving on to the next useful improvement instead of getting stuck in administrative drudgery

This difference is exactly what lies at the core of this ecosystem.

Who This Is For

It’s a great fit for:

Agencies managing many WordPress sites

Companies with duplicated content and operations

Organizations that want AI to perform real maintenance, not just generate text

Technical teams tired of the copy-paste workflow between chat and wp-admin

It is especially useful when work is postponed just because the manual version is boring.

If you want to see more specific buyer cases, start here:

Who benefits the most

Documentation

For setup and troubleshooting beyond the quick start, use the wiki:

Why teams use it

Use cases

Who This Is For

Who benefits the most

Alternatives

Getting started guide

Installation order and dependencies

First working MCP connection

Which plugin do I need?

Troubleshooting

Examples

If you are using an AI agent, the simplest command is usually:

Read https://github.com/bjornfix/mcp-expose-abilities and figure out the stack before making changes.

Start here

If you are new to the stack, use the following order:

Installing API capabilities

Install MCP Adapter

安装 MCP暴露能力 (此插件)

Confirm you can list and execute core abilities

Only add vendor-specific plugins that you actually need

If you skip step 4 and start installing add-ons right away, troubleshooting will become harder than necessary.

What you really need

For a minimal working setup, you only need:

WordPress 6.9+

PHP 8.0+

API Abilities

MCP Adapter

MCP暴露能力 (此插件)

Everything else in the ecosystem is optional.

5-minute setup

Install and activate the required plugins:

API Abilities:https://github.com/WordPress/abilities-api/releases/latest

MCP Adapter:https://github.com/WordPress/mcp-adapter

MCP Expose Abilities: Download latest version from this repo

Verify that the Abilities API plugin is installed as wp-content/plugins/abilities-api/abilities-api.php

Activate all three plugins in WordPress

Confirm that the MCP adapter route is accessible on your site

First, run a simple read-only function, such as listing posts or reading a page

首次成功检查

在添加Elementor、Cloudflare、Gmail或其他任何东西之前,请确认核心堆栈正常工作。

良好的首次测试:

列出帖子

按ID获取页面

列表菜单

列出已安装的插件

如果这些工作正常,则堆栈接线正确。如果没有,请在添加附加组件之前修复核心堆栈。

模块化架构

3.0版本引入了模块化架构。核心插件提供WordPress原生功能,而供应商特定的功能可作为单独的附加插件提供:

插件能力描述
MCP暴露能力 (core)69WordPress核心:内容、菜单、用户、媒体、小部件、插件、选项、评论、分类、系统
MCP能力-文件系统11具有安全强化功能的文件操作
MCP能力-要素40Elementor页面构建器集成
MCP能力-生成印刷26生成印刷主题+生成块
MCP能力-Cloudflare4Cloudflare缓存管理
MCP能力-谷歌工作区16通过工作区服务帐户的Gmail API
MCP能力-排名数学23排名数学SEO元数据访问
MCP能力-Wordfence11Wordfence安全状态+块
MCP能力-布雷沃22Brevo联系人、列表、活动
MCP能力-高级广告17高级广告管理
MCP能力-工具集38工具集帖子类型、自定义字段、分类法、关系
MCP能力-SitePress10WPML翻译映射、语言切换器恢复和QA检查
MCP能力-可实现6表单设置、使用跟踪、样式和CSS缓存控件
MCP能力-商店定位器9商店定位器设置、模板、商店记录、类别和临时清理

整个生态系统:298种能力

只安装你需要的东西。运行GeneratePress?安装该插件。不使用Elementor?跳过它。

需求

WordPress 6.9+

PHP 8.0+

API能力 插件(WordPress核心团队)

MCP适配器 插件(WordPress核心团队)

使用官方能力API版本ZIP(abilities-api.zip)因此,它安装为 wp-content/plugins/abilities-api/abilities-api.php

WordPress兼容性

需要WordPress 6.9或更高版本

已测试至WordPress 7.0

需要PHP 8.0或更高版本

针对WordPress 6.9版本线以及支持的附加插件进行维护

安装

Install and activate the required plugins:

能力API(官方发布ZIP):https://github.com/WordPress/abilities-api/releases/latest

MCP Adapter:https://github.com/WordPress/mcp-adapter

从下载最新版本 发布

通过WordPress管理员上传→ 插件→ 新增→ 上传插件

激活插件

(可选)安装供应商特定功能的附加插件

我应该安装哪个插件?

仅当您的网站实际使用该产品时才安装附加组件:

Elementor站点:安装 mcp-abilities-elementor

GeneratePress/GenerateBlocks网站:安装 mcp-abilities-generatepress

Cloudflare管理的站点:安装 mcp-abilities-cloudflare

Gmail/工作区自动化:安装 mcp-abilities-workspace

排名数学网站:安装 mcp-abilities-rankmath

Wordfence网站:安装 mcp-abilities-wordfence

Brevo站点:安装 mcp-abilities-brevo

工具集站点:安装 mcp-abilities-toolset

WPML站点:安装 mcp-abilities-sitepress

Formidable Forms站点:安装 mcp-abilities-formidable

商店定位器站点:安装 mcp-abilities-store-locator

默认情况下,不要安装每个附加组件。大多数网站只需要一两个。

常见故障模式

最常见的入职错误是将其视为一个插件而不是堆栈。

当某些东西不起作用时,请按以下顺序检查:

API能力是否活跃?

MCP适配器是否处于活动状态?

MCP暴露能力是否处于活动状态?

核心插件可以在没有任何附加组件的情况下工作吗?

供应商插件本身是否已安装并处于活动状态?

然后才调试特定的插件

最近的更改

3.0.75

添加 comments/update-author-url 用于通过每条评论的权限检查和写验证来狭义地更新或清除一个评论作者URL。

3.0.50

安全: plugins/update 只有经过明确确认的Devenia清单管理包才能通过MCP运行;默认情况下,通用插件代码写入保持禁用状态。

3.0.49

安全: options/update 现在阻止主题引导选项 template 和 stylesheet.

3.0.48

安全性:默认情况下禁用插件代码编写功能,除非服务器端配置明确启用 MCP_EXPOSE_ENABLE_PLUGIN_CODE_WRITES.

安全性:启用插件代码写入时,WordPress.org插件安装、插件更新和插件删除现在需要明确的按能力确认。

3.0.47

安全性:MCP传输和通用执行能力入口点现在默认为 manage_options 通过适配器能力过滤器。

安全:高风险 plugins/upload, plugins/upload-base64,以及 options/update 现在,呼叫需要明确的每个能力确认。

3.0.46

改进了通用后元写入,使用一个具有可过滤的受保护密钥注册表的后元写入策略接口。

添加了一个本地能力契约工具,用于在副作用之前验证受保护的Elementor元写入是否被拒绝。

3.0.45

安全性:通用内容/元功能现在会阻止受保护的Elementor元密钥,并需要专用的 elementor/* Elementor文档写入功能。

更改插件ZIP上传以使用WordPress核心 Plugin_Upgrader 而不是直接进行插件目录解压缩/复制操作。

3.0.44

固定的 plugins/update 因此,如果WordPress在升级程序运行后使其处于非活动状态,则在WordPress本机更新之前处于活动状态的插件将被重新激活。

添加 active_before, active_after,以及 reactivated 字段到 plugins/update 回应。

3.0.43

固定的: plugins/upload 不再定义临时 get_current_screen() 存根,避免了WordPress在REST/MCP插件安装期间加载管理屏幕帮助程序时发生致命的重新声明。

3.0.42

增加效率 plugins/list 用a过滤 search 参数和null安全无参数输入处理。

3.0.41

修复了广泛的内容更新和补丁功能,因此除非明确覆盖,否则它们会阻止意外删除现有的GenerateBlocks/design标记。

3.0.40

添加 content/update-discussion-status 用于打开或关闭帖子/页面上的评论和ping。

3.0.39

添加 media/upload-base64 用于通过MCP将本地或生成的媒体文件上传到WordPress媒体库中。

3.0.38

添加 date 支持 content/update-post 用于更新本地发布日期。

通过添加后元支持 content/create-post, content/update-post, meta/update-post-meta,以及 meta/delete-post-meta.

安全性:后元写入现在按密钥检查 edit_post_meta / delete_post_meta 在修改元数据之前。

3.0.37

文档:移除杂散 Claude 从README工作流措辞中提及。

3.0.36

固定的 plugins/search-directory 因此,当API返回数组形状的插件行时,WordPress.org搜索结果会被正确填充。

固定的 plugins/list-updates 因此,它像旧的空安全列表功能一样,不接受通过MCP代理执行参数。

3.0.35

添加 plugins/search-directory 从MCP搜索官方WordPress.org插件目录。

添加 plugins/install-directory 通过slug安装WordPress.org插件。

添加 plugins/list-updates 和 plugins/update 用于WordPress原生插件更新的发现和执行。

添加 plugins/switch 如果目标激活失败,则使用回滚在已安装的插件之间切换。

3.0.34

Docs:添加了更清晰的GitHub入职路径 Start Here、设置顺序、首次成功检查和附加组件选择指南。

文档:添加了明确的WordPress和PHP兼容性说明。

文档:更正了生态系统插件和能力计数,包括Formidable插件以及当前的Elementor和Rank Math总计。

文档:将过时的硬编码的Abilities API ZIP URL替换为通用的latest-release链接。

Docs:修复了GitHub发布徽章,使其遵循实际的最新版本。

3.0.33

在解压缩之前验证本地插件ZIP签名是否损坏 plugins/upload 或 plugins/upload-base64 有效载荷失败,出现直接ZIP验证错误。

旨在与MCP代理HTTP传输修复程序配对,该修复程序提高了大型base64插件上传的默认JSON正文限制。

核心插件能力(69)

内容管理(25)

能力描述
content/list-posts列出按状态、类别、作者、搜索筛选的帖子
content/get-post通过ID或slug获取单条帖子
content/get-next-post在ID后查找下一个现有帖子,即使ID有空白
content/create-post创建新帖子,包括 featured_image_id
content/update-post更新现有帖子,包括 featured_image_id
content/delete-post删除帖子(垃圾或永久)
content/restore-post从回收站还原帖子、页面或自定义帖子类型
content/patch-post查找/替换帖子内容
content/list-pages列出具有过滤功能的页面
content/get-page按ID或slug获取单页
content/create-page创建新页面,包括 featured_image_id
content/update-page更新现有页面,包括 featured_image_id
content/update-discussion-status打开或关闭帖子/页面的评论和ping
content/delete-page删除页面
content/patch-page在页面内容中查找/替换
content/list-categories列出所有类别
content/create-category创建新类别
content/update-category更新现有类别
content/list-tags列出所有标签
content/create-tag创建新标签
content/list-media列出媒体项目
content/list-users列出用户
content/search跨帖子、页面、媒体搜索
content/list-revisions列出帖子/页面的修订内容
content/get-revision获取具体的修订详细信息

菜单管理(8)

能力描述
menus/list列出所有菜单和主题位置
menus/get-items从菜单中获取项目
menus/create创建新菜单
menus/add-item将项目添加到菜单
menus/update-item更新菜单项
menus/upsert-item按对象标识或自定义URL创建或更新项目
menus/delete-item删除菜单项
menus/assign-location将菜单分配到主题位置

用户管理(5)

能力描述
users/list列出具有角色的用户
users/get通过ID、登录或电子邮件获取用户
users/create创建新用户
users/update更新用户
users/delete删除用户(可以重新分配内容)

媒体库(4)

能力描述
media/upload从URL上传媒体
media/get获取媒体项目的详细信息和尺寸
media/update更新标题、alt、标题
media/delete删除媒体项目

小部件管理(3)

能力描述
widgets/list-sidebars列出所有小部件区域
widgets/get-sidebar在侧边栏中获取小部件
widgets/list-available列出可用的小部件类型

插件管理(11)

能力描述
plugins/upload从URL上传插件
plugins/upload-base64从本地文件上传插件(base64或zip路径)
plugins/search-directory搜索官方WordPress.org插件目录
plugins/install-directory通过slug从官方WordPress.org插件目录安装插件
plugins/list列出已安装的插件
plugins/list-updates列出可用插件更新
plugins/update更新已安装的插件
plugins/activate激活已安装的插件
plugins/deactivate停用活动插件
plugins/switch激活一个插件并停用一个或多个其他插件
plugins/delete删除非活动插件

评论(7)

能力描述
comments/list列出带有过滤功能的评论
comments/get获取单个评论详细信息
comments/update-author-url更新或清除一个评论作者URL
comments/create创建顶级评论
comments/reply对现有评论的回复
comments/update-status更新评论状态(批准、垃圾邮件、垃圾)
comments/delete删除评论

选项(3)

能力描述
options/get获取选项值
options/update更新选项(受保护的选项被阻止)
options/list列出所有选项

系统(4)

能力描述
system/get-transient获取瞬态值
system/ability-timings读取最近缓慢或失败的能力计时
system/debug-log读取debug.log文件
system/toggle-debug切换WP_DEBUG、WP_DEBUG_LOG、WP_DBUG_DISPLAY

分类实用程序(1)

能力描述
taxonomy/associate-with-post-type将分类与帖子类型相关联,并保持映射

插件能力

文件系统(mcp能力文件系统)-11种能力

能力描述
filesystem/get-changelog获取插件/主题更改日志
filesystem/read-file读取文件内容(增强安全性)
filesystem/write-file写入文件(PHP代码被阻止)
filesystem/append-file附加到文件
filesystem/list-directory列出目录内容
filesystem/delete-file删除文件(创建备份)
filesystem/delete-directory删除目录(可选递归)
filesystem/file-info获取文件元数据
filesystem/create-directory创建目录
filesystem/copy-file复制文件
filesystem/move-file移动/重命名文件

元素(mcp能力元素)-40种能力

有关完整列表,请参阅附加文件自述。共同能力:

能力描述
elementor/get-data获取页面的元素或JSON
elementor/update-data替换JSON元素
elementor/patch-data在Elementor JSON中查找/替换
elementor/update-element按ID更新特定元素
elementor/list-templates列出已保存的模板
elementor/clear-cache清除CSS缓存

生成压力(mcp能力生成压力)-26种能力

有关完整列表,请参阅附加文件自述。共同能力:

能力描述
generatepress/get-settings获取主题设置
generatepress/update-settings更新主题设置
generatepress/get-typography获取排版规则和字体管理器
generatepress/list-elements列表生成器打印元素
generatepress/list-modules列出模块状态
generateblocks/get-global-styles获取全球风格
generateblocks/update-global-styles更新全局样式
generateblocks/clear-cache清除CSS缓存

Cloudflare(mcp能力Cloudflare)-4种能力

能力描述
cloudflare/clear-cache清除Cloudflare缓存(整个站点或特定URL)
cloudflare/get-zone获取已解析的Cloudflare区域上下文
cloudflare/get-development-mode读取开发模式状态
cloudflare/set-development-mode启用/禁用开发模式

谷歌工作区(mcp能力工作区)-16种能力

能力描述
gmail/configure设置Gmail API服务帐户凭据
gmail/status检查API连接状态和配置
gmail/list-labels列出标签
gmail/get-label按ID获取标签
gmail/create-label创建标签
gmail/update-label更新标签
gmail/delete-label删除标签
gmail/list列出收件箱邮件并进行筛选
gmail/list-threads列出线程
gmail/get按ID获取完整的电子邮件内容
gmail/get-thread获取线程详细信息
gmail/get-attachment以base64格式获取附件
gmail/send发送带有HTML、附件、CC、BCC的电子邮件
gmail/modify修改标签(存档、标记已读/未读等)
gmail/reply回复现有电子邮件帖子
email/send通过WordPress wp_mail发送电子邮件(非Gmail回退)

与MCP客户端一起使用

1.创建应用程序密码

WordPress管理员→ 用户→ 您的个人资料→ 应用密码

2.添加MCP服务器

配置您的MCP客户端以连接到:

https://yoursite.com/wp-json/mcp/mcp-adapter-default-server

使用HTTP传输,并使用从WordPress用户名和应用程序密码生成的Basic Auth标头。

3.开始使用

您的MCP客户端现在可以通过对话编辑您的WordPress网站。

Examples

创建新页面

{
    "ability_name": "content\/create-page",
    "parameters": {
        "title": "About Us",
        "content": "<!-- wp:paragraph --><p>Hello world!<\/p><!-- \/wp:paragraph -->",
        "status": "publish"
    }
}

添加菜单项

{
  "ability_name": "menus/add-item",
  "parameters": {
    "menu_id": 5,
    "title": "Contact",
    "url": "/contact/"
  }
}

从URL上传媒体

{
  "ability_name": "media/upload",
  "parameters": {
    "url": "https://example.com/image.jpg",
    "title": "Hero Image",
    "alt_text": "Beautiful sunset"
  }
}

批量查找/替换

{"<a href="tel:+442033181832">+44 203 3181 832</a>"
  }
}

Security

需要认证 -使用WordPress应用程序密码

权限检查 -每个能力都验证用户的能力

您的服务器 -AI连接到您的网站,您控制访问

受保护的选项 -禁止修改关键设置

文件系统强化 -PHP代码检测、路径遍历保护(在插件中)

建筑学

三个插件堆栈和可选插件:

API能力 -能力注册框架(WordPress核心团队)

MCP适配器 -MCP协议层(WordPress核心团队)

MCP暴露能力 (此插件)-WordPress的核心功能

附加插件 (可选)-供应商特定能力

Changelog

3.0.76

固定的 content/patch-post 和 content/patch-page 如此陈旧无效 在内容写入之前立即清除分配的模板元数据, 阻止成功的补丁返回 Invalid page template 错误。

3.0.75

添加 comments/update-author-url 用于通过每条评论的权限检查和写验证来狭义地更新或清除一个评论作者URL。

3.0.73

固定的 content/patch-post 将正确削减的古腾堡内容传递给 WordPress,因此经过批准的设计中立的源代码补丁保持了相同的内容 通过下游发布门进行哈希运算。

3.0.72

深化设计中性源补丁审批,使MCP飞行前和 下游源发布门过滤器共享一个审批路径。

3.0.71

固定设计中性 content/patch-post 这样写他们的哈希绑定批准 通过下游Devenia源发布门。

3.0.70

添加 content/patch-post 支持明确合理的 在已发布的Devenia源代码帖子上设计中性补丁 不会恶化源代码设计验证。

3.0.69

固定的 content/update-post 和 content/update-page 所以只有特色图片 或仅分类更新不调用 wp_update_post() 触发无关 发布/设计挂钩。

3.0.68

添加了对MCP创建、更新和补丁写入后的模拟运行支持。

修复了Devenia源代码发布后的编辑门,使状态仅发布 无效的源草稿被阻止。

3.0.67

为MCP后创建/更新/补丁写入添加了Devenia源代码后编辑门,阻止了未通过共享编辑源代码设计验证的已发布源代码后。

3.0.66

添加 content/update-tag 用于通过MCP更正标签名称、slug和描述,而无需直接REST或数据库访问。

3.0.65

固定的 content/update-post 和 content/update-page 如此通用的帖子/页面 更新保护翻译的兄弟内容和关键的Elementor/功能 来自WPML/Polylang风格同步挂钩的图像元。

添加 translation_guard 内容更新响应的详细信息,以便呼叫者可以 验证哪些翻译的兄弟姐妹得到了保护和恢复。

3.0.64

固定的 meta/update-post-meta 和 meta/delete-post-meta 所以更新到 _yoast_wpseo_* 字段会触发SEO可索引重建的后刷新。

3.0.63

添加 meta/get-post-meta 用于对显式帖子进行狭义的只读检查 具有每个帖子能力检查的元密钥。

3.0.62

固定的 content/restore-post 和 content/update-page 如此陈旧无效 在WordPress状态/内容之前清除分配的页面模板元数据 写入,允许安全恢复旧主题中被丢弃的旧页面。

3.0.61

固定的 content/list-pages 因此,记录 search 参数已被接受 并传递给WordPress页面查询。

3.0.60

补充: content/list-posts 现在支持 status:trash 用于明确的垃圾检查。

补充: content/restore-post 通过每篇帖子编辑权限检查从垃圾箱中恢复帖子、页面和自定义帖子类型。

3.0.59

更改:插件代码编写保护现在将结构化能力名称和输入传递给专用过滤器,允许可信的上传门,而无需请求体解析或堆栈检查。

修复:插件上传 overwrite:true 现在,从安装失败留下的空的陈旧目标目录中恢复。

3.0.58

补充: content/restore-revision 通过WordPress修订版恢复帖子、页面和自定义帖子类型的能力,而无需通过JSON传输块内容。

3.0.57

添加:即使适配器级可观察性没有触发,MCP HTTP关闭定时回退也会记录长时间运行或致命的MCP REST请求。

3.0.56

添加:MCP适配器传输请求现在记录在 system/ability-timings 当它们失败或超过时间阈值时,包括用于发现的方法/工具上下文 tools/list 诊断。

3.0.55

固定的: content/patch-page 和 content/patch-post 现在使用较短的每写一次锁,这样对同一项目的并发补丁调用就不会用过时的内容相互覆盖。

3.0.54

补充: system/ability-timings 公开缓慢或失败的能力调用的有界只读日志。

改进:能力回调现在仅在呼叫失败或超过默认的1000毫秒阈值时记录计时数据。

3.0.53

补充: menus/upsert-item 按页面/帖子/类别标识或自定义URL等效地创建或更新菜单项。

改进:菜单添加/更新现在使用一个标准化的导航菜单项模块,具有写回、对象/类型保留、标题持久性和合约测试覆盖率。

3.0.52

已修复:菜单项标题更新现在也会保留底层导航菜单项标题,因此前端标签不会回退到过时的对象标签。

3.0.51

固定的: menus/add-item 现在,在创建非自定义菜单项之前,先验证页面/帖子/类别对象ID。

固定的: menus/update-item 现在,当只更改标题、URL、父级、位置、目标或类时,保留现有的菜单项字段。

3.0.50

安全: plugins/update 只有经过明确确认的Devenia清单管理包才能通过MCP运行;默认情况下,通用插件代码写入保持禁用状态。

3.0.49

安全: options/update 现在阻止主题引导选项 template 和 stylesheet.

3.0.48

安全性:默认情况下禁用插件代码编写功能,除非服务器端配置明确启用 MCP_EXPOSE_ENABLE_PLUGIN_CODE_WRITES.

安全性:启用插件代码写入时,WordPress.org插件安装、插件更新和插件删除现在需要明确的按能力确认。

3.0.47

安全性:MCP传输和通用执行能力入口点现在默认为 manage_options 通过适配器能力过滤器。

安全:高风险 plugins/upload, plugins/upload-base64,以及 options/update 现在,呼叫需要明确的每个能力确认。

3.0.46

改进:通用后元写入现在使用具有可过滤的受保护密钥注册表的单个后元写入策略接口。

添加:在副作用之前,用于验证受保护的Elementor元写入的本地能力契约工具被拒绝。

3.0.45

安全性:通用内容/元功能现在会阻止受保护的Elementor元密钥,并需要专用的 elementor/* Elementor文档写入功能。

更改:插件ZIP上传现在使用WordPress核心 Plugin_Upgrader 而不是直接进行插件目录解压缩/复制操作。

3.0.44

固定的: plugins/update 现在,在WordPress原生插件更新中保留活动插件状态,并报告激活前后的状态。

3.0.42

补充: plugins/list 现在支持a search 用于按文件、slug、名称、作者或描述过滤已安装插件的参数。

固定的: plugins/list 现在,与其他空安全列表功能一样,通过MCP代理不接受任何参数执行。

3.0.41

修复:广泛的内容更新和补丁功能现在可以阻止意外删除现有的GenerateBlocks/design标记,除非明确覆盖。

3.0.40

补充: content/update-discussion-status 用于打开或关闭帖子/页面上的评论和ping。

3.0.39

补充: media/upload-base64 用于通过MCP将本地/生成的媒体文件上传到WordPress媒体库

3.0.38

补充: content/update-post 现在支持使用以下命令更新本地发布日期 date 参数

添加:通过发布元支持 content/create-post, content/update-post, meta/update-post-meta,以及 meta/delete-post-meta

安全性:后元写入现在按密钥检查 edit_post_meta / delete_post_meta 修改元数据之前的功能

3.0.37

文档:移除杂散 Claude GitHub README工作流措辞中提到

3.0.36

固定的: plugins/search-directory 现在,当插件数据以数组而不是对象的形式返回时,可以正确处理WordPress.org目录行

固定的: plugins/list-updates 现在,与其他空安全列表功能一样,通过MCP代理不接受任何参数执行

3.0.35

补充: plugins/search-directory 从MCP搜索官方WordPress.org插件目录

补充: plugins/install-directory 通过slug从WordPress.org官方目录安装插件

补充: plugins/list-updates 和 plugins/update 用于WordPress本地插件更新的发现和执行

补充: plugins/switch 如果目标激活失败,则通过回滚在已安装的插件之间切换

3.0.34

Docs:添加了更清晰的GitHub入职路径 Start Here、设置顺序、首次成功检查和附加组件选择指南

文档:添加了明确的WordPress和PHP兼容性说明

文档:更正了生态系统插件和能力计数,包括Formidable插件以及当前的Elementor和Rank Math总计

文档:将过时的硬编码Abilities API ZIP URL替换为通用的latest-release链接

Docs:修复了GitHub发布徽章,使其遵循实际的最新版本

3.0.33

已修复:插件上传路径现在在解压缩之前验证本地ZIP签名,因此损坏的有效载荷会因直接ZIP验证错误而失败

改进:与代理端HTTP JSON配对,限制更大 plugins/upload-base64 MCP代理层不会拒绝或截断请求

3.0.31

修复:当请求的图像已经分配时,特征图像创建/更新路径现在是幂等的

3.0.30

固定的: plugins/upload 和 plugins/upload-base64 现在回到 copy_dir() 当文件系统 move() 解压缩后失败

改进:插件安装失败现在包括底层文件系统上下文

3.0.29

固定的: content/update-post 现在,在无关的帖子更新之前,清除过时的无效分配页面模板元数据

固定的: content/update-page 现在,在更新时清除过时的无效分配模板,并验证显式 template 输入

固定的: content/create-page 现在,在保存显式页面模板块之前,先验证它们

3.0.28

添加 featured_image_id 支持帖子/页面创建和更新功能

添加 featured_image_id 到 content/get-post 和 content/get-page

3.0.27

固定的: content/get-next-post 现在应用 after_id 通过允许查询筛选器运行,正确地设置地板

3.0.26

补充: content/get-next-post 查找ID后的下一个现有帖子,即使ID有空白

改进: content/list-posts 现在接受不区分大小写 order 价值观和友好 orderby 别名如 id 和 slug

改进: content/get-post 现在接受 post_type 用于slug查找并返回更清晰的缺失帖子上下文

3.0.25

固定的: users/delete 现在加载 wp-admin/includes/user.php 打电话之前 wp_delete_user() 在REST/MCP环境中

3.0.24

性能:调试日志读取器现在跟踪文件内容,而不是加载完整文件

安全: options/get 阻止敏感选项名称(令牌、密钥、机密)

模式:为注释和分类关联能力添加输出模式

3.0.23

补充: content/update-category 能力

修复:帖子类型验证中占位符字符串的翻译器注释

修复:标签与插件版本对齐稳定

3.0.17

修复:在翻译调用中使用文本域

已修复:为占位符字符串添加翻译器注释

3.0.16

补充: include_totals 国旗+ has_more/returned 默认情况下,列表帖子/列表页面/列表媒体的输出可避免昂贵的计数

3.0.15

添加:插件/upload-base64现在接受 zip_path 用于服务器本地zip安装

修复:没有参数能力接受空输入(菜单/列表、小部件/列表侧栏、小部件可用/列表)

3.0.14

已修复:插件/delete现在会在删除前加载核心文件助手

3.0.13

新增:核心列表功能的共享分页规范化

3.0.12

修复:插件/上传现在在非管理员环境中加载WordPress下载助手

3.0.11

添加:插件/upload-base64本地文件上传功能

3.0.10

补充: content/create-category 能力

3.0.9

安全性:增加了对内容、媒体、用户和评论的逐项功能检查

3.0.8

补充: plugins/activate 激活已安装插件的能力

补充: plugins/deactivate 停用活动插件的能力

3.0.7

改进:所有47个能力描述现在都包含参数提示

3.0.6

补充: comments/create 顶级评论能力

3.0.5

补充: plugins/delete 删除非活动插件的能力

3.0.4

修复:使用WP_Filesystem API而不是本机PHP函数

已修复:将wp_get_sidebars_widgets替换为直接选项调用

3.0.3

新增:修订能力(content/list-revisions, content/get-revision)

新增:评论功能(列表、获取、创建、回复、更新状态、删除)

补充: author_id 内容创建参数

3.0.0

打破: 模块化架构-将特定于供应商的能力转移到附加插件

核心插件现在只包含WordPress原生功能

附加插件:文件系统(10)、Elementor(6)、GeneratePress(5)、Cloudflare(1)、谷歌工作区(8)

更清洁的安装-只安装您需要的东西

2.2.12

安全:添加了受保护的选项块列表(active_plugins、siteurl、admin_email等)

安全性:通过选项/更新防止意外破坏网站

2.2.11

安全性:添加了UTF-7和UTF-16编码旁路检测

安全性:阻止编码的PHP注入尝试

2.2.10

安全性:主要的文件系统安全强化

安全性:文件写入中的PHP代码检测

安全:路径遍历保护

安全性:仅限于wp内容目录

2.1.0

新增:文件系统功能

新增:选项能力

新增:系统能力

添加:Cloudflare缓存清除功能

补充: elementor/update-element 用于目标元素更新

2.0.0

新增:菜单、用户、媒体、小部件、页面功能

1.0.0

初始版本

贡献

PR欢迎!对于供应商特定的功能,可以考虑创建一个附加插件。

许可证

GPL-2.0+

作者

德维尼亚 -自1993年以来,我们一直在做SEO和web开发。

链接

插件页面

MCP能力-工具集

API能力 (WordPress核心团队)

MCP适配器 (WordPress核心团队)

明星与分享

如果这个生态系统为您节省了时间,为您的团队提供了一种更理智的方式来处理WordPress工作,或者帮助您最终完成了没有人愿意做的重复维护,请:

明星回购

与运行WordPress网站的人分享

将他们指向维基,这样他们就可以看到生态系统实际上能做什么

为什么这么做?

因为这对整个WordPress生态系统都有好处。使用代理友好的开放WordPress工具的人越多,实际上完成的无聊但重要的工作就越多,而不是永远坐在积压中。

Frequently asked questions

这个插件是不是只负责生成文章?

不是。它的重点不是只生成文本,而是让 AI 助手通过 MCP 调用 WordPress 能力,执行文章、页面、菜单、媒体、插件、评论、选项等实际操作。

普通网站需要把所有附加插件都装上吗?

不建议。核心原则是只安装当前网站实际需要的能力,比如用了 Elementor 再装 Elementor 能力插件,用了 Cloudflare 再装 Cloudflare 能力插件。

MCP 连接是否会影响网站安全?

安全取决于认证、权限和能力边界。文章中提到的做法需要 WordPress 应用密码、逐项权限检查、受保护选项拦截和高风险能力确认,生产站点应只给可信代理开放必要权限。

它适合什么团队先尝试?

最适合维护多个 WordPress 网站、经常做批量内容整理、菜单调整、媒体维护、插件检查和 SEO 元数据更新的团队。

AI Development

Documenting practical methods for Codex, AI models, and WordPress project development, content production, code review, and automation workflows.

View Column

Join the discussion

Comments will be displayed after review upon submission.

You must log in to post a comment.

After logging in, you can join the discussion. New users can register an account for free.

Do not post spam comments, advertisements, or content with malicious links. Comments must comply with relevant laws, regulations, and community guidelines.

Purchase Consultation

Email Consultation

Free Diagnosis

Common Tactics