[WordPress] 外掛分享: Spoko Content Editor for MCP

首頁 › 外掛目錄 › Spoko Content Editor for MCP
WordPress 外掛 Spoko Content Editor for MCP 的封面圖片
全新外掛
安裝啟用
—
尚無評分
6 天前
最後更新
—
問題解決
WordPress 6.9+ PHP 7.4+ v2.0.2 上架:2026-11-23

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.0.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Spoko Content Editor for MCP」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Spoko Content Editor for MCP gives AI agents (Claude, Cursor or any other MCP client) safe, block-level tools for WordPress content. It runs on the official MCP Adapter and the Abilities API that ships with WordPress 6.9.
An agent that rewrites a whole post to change one paragraph can break blocks it never meant to touch, or overwrite an edit someone made a minute ago. This plugin gives it smaller, safer steps:

Edit one block, not the whole post. Blocks are addressed by a path (for example 12.0.3), so a change replaces, inserts, moves or deletes exactly that block and leaves the rest of the post byte for byte.
No lost edits. Every read returns a content hash and every write needs it. If the post changed in the meantime, the write is refused.
Look before you save. Every write takes dry_run.
Always a way back. Every save is a normal post update with a revision.
Valid blocks only. Before saving, the new content is checked for broken block structure; if the check fails, nothing is saved.

Tools

find-posts: search posts and pages by title, slug or ID.
get-outline: the block tree with paths, names and text previews, plus the content hash.
get-blocks: the markup of blocks by path.
validate-post: report broken block structure.
find-media: search the media library.
replace-block, insert-blocks, delete-block, move-blocks, unwrap-block: edit blocks by path.
link-images: link every unlinked image of a post to its full-size file, so a lightbox can open it.

Every tool runs with the capabilities of the WordPress user the agent signs in as (edit_post for the post, upload_files for the media library). The plugin adds no settings screen and stores no data of its own.
Headless sites
If your frontend serves the uploads under its own address, link-images can link there instead of to WordPress. Set the address in wp-config.php:
define( 'SPOKO_CONTENT_MCP_MEDIA_BASE', 'https://example.com/images' );

or with the spoko_content_mcp_media_base filter. Older media hosts to rewrite as well can be added with the spoko_content_mcp_media_aliases filter.
Development happens on GitHub. Made by spoko.space.

延伸相關外掛

文章
Filter
Mastodon