← 返回
数据分析 Key 中文

WordPress MCP

Manage WordPress sites via MCP (Model Context Protocol) through AI Engine. Use for creating/editing posts, SEO analysis, analytics, media management, taxonomy operations, social media scheduling, multilingual content (Polylang), and any WordPress admin task. Requires AI Engine plugin (free) with MCP Server enabled. Also use when asked about WordPress site management, content workflows, or WP-related tasks.
通过MCP(模型上下文协议)管理WordPress网站,集成AI Engine。可用于创建/编辑文章、SEO分析、数据统计、媒体管理、分类操作、社媒排程、多语言内容(Polylang)及各类WordPress后台任务。需安装AI Engine插件(免费版)并启用MCP Server。适用于WordPress网站管理、内容工作流或任何WP相关任务。
jordymeow
数据分析 clawhub v3.3.4 1 版本 99498.2 Key: 需要
★ 4
Stars
📥 2,894
下载
💾 244
安装
1
版本
#latest#wordpress

概述

WordPress MCP

Manage WordPress sites through AI Engine's MCP Server. AI Engine is a free WordPress plugin that exposes a comprehensive MCP interface.

Setup

The user needs:

  1. AI Engine plugin installed (free: https://wordpress.org/plugins/ai-engine/)
  2. MCP Server enabled in AI Engine → Settings → MCP
  3. A Bearer Token set in MCP settings

Connection details should be stored in the user's TOOLS.md:

## WordPress MCP
- **URL:** https://example.com/wp-json/mcp/v1/http
- **Bearer Token:** <token from AI Engine MCP settings>

How to Call MCP Tools

All calls use JSON-RPC 2.0 over HTTP POST:

curl -s -X POST <MCP_URL> \
  -H "Authorization: Bearer <TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"<tool_name>","arguments":{...}}}'

Discovery

List available tools (varies by enabled features):

{"jsonrpc":"2.0","id":1,"method":"tools/list"}

Always start with tools/list to discover what's enabled on this site.

Connectivity Check

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"mcp_ping","arguments":{}}}

MCP Features (Modular)

Tools are grouped into features that the site admin enables in AI Engine → Settings → MCP Features. Only WordPress core is enabled by default. Always use tools/list to discover what's available.

FeatureDefaultDescription
-------------------------------
WordPress✅ OnPosts, pages, comments, users, media, taxonomies, settings
PluginsOffInstall, activate, update, and modify plugins
ThemesOffInstall, activate, switch, and customize themes
DatabaseOffExecute SQL queries on the WordPress database
PolylangOffMultilingual content (requires Polylang plugin)
WooCommerceOffProducts, orders, customers (requires WooCommerce)
SEO EngineOffSEO analysis, analytics (requires SEO Engine plugin)
Social EngineOffSocial media scheduling (requires Social Engine plugin)
Dynamic RESTOffRaw access to WordPress REST API

See references/features.md for tool details per feature.

Common Workflows

Content Audit (WordPress + SEO Engine)

  1. mwseo_get_seo_statistics — Overall site health
  2. mwseo_get_posts_needing_seo — Posts with SEO problems
  3. Loop: mwseo_do_seo_scan per post → fix with mwseo_set_seo_title, mwseo_set_seo_excerpt

Publish a Post (WordPress core)

  1. wp_create_post with post_title, post_content, post_status: "draft"
  2. Optionally set SEO metadata if SEO Engine is enabled
  3. wp_update_post with post_status: "publish" when ready

Translation Workflow (Polylang)

  1. pll_translation_status — See coverage gaps
  2. pll_get_posts_missing_translation with target language
  3. pll_create_translation — Create translated post linked to original

Multi-Site Management

Store multiple sites in TOOLS.md and select by name:

### My Blog
- **URL:** https://blog.example.com/wp-json/mcp/v1/http
- **Token:** abc123

### My Shop
- **URL:** https://shop.example.com/wp-json/mcp/v1/http
- **Token:** xyz789

Tips

  • Use wp_get_post_snapshot instead of multiple calls — gets post + meta + terms in one request
  • Use wp_alter_post for search-replace edits instead of re-uploading entire content
  • wp_get_posts returns no full content by default — use wp_get_post for content
  • Analytics date params use start_date / end_date (not camelCase)
  • Always run tools/list first — available tools depend on which features the admin enabled

版本历史

共 1 个版本

  • v3.3.4 当前
    2026-03-28 18:10 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 198 📥 64,859
productivity

Ikuzo - The Map Editor

jordymeow
在基于位置的探索应用 Ikuzo (ikuzo.app) 上管理地图、地点及旅行计划。适用于创建或编辑地图、添加或搜索地点、规划逐日行程、查找附近地点或管理行程后勤。涉及地图管理、地点追踪、行程规划、位置发现及“该去哪里”等提问时触发。
★ 0 📥 1,322
data-analysis

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 162 📥 59,674