WSP WordPress MCP Server

连接AI编程代理的免费WordPress MCP

文档

WSP WordPress MCP — Connect AI Agents to WordPress

By WebSensePro — Official Shopify Partner & WordPress Agency

Version YouTube License


🎬 Watch the Tutorial

WSP WordPress MCP — Full Tutorial


✨ What's New in v1.2.0

  • Elementor Abilities — list pages, get page structure, find/get/update elements, add widgets & containers, remove elements
  • 🗂️ Modular Plugin Architecture — refactored into includes/ with separate files per feature group
  • 🔧 Auto Config Generator — generates ready-to-paste configs for Claude Desktop & Codex from wp-admin
  • 🔒 Granular Ability Controls — enable/disable each ability individually; Elementor group only shown when Elementor is active
  • 📦 WP.org Ready — proper headers, license, uninstall.php, and PHP 7.2+ support

🛠️ Available Abilities

Core WordPress

AbilityAccess
Read / Create / Update / Delete Postsread / write
Read / Create / Update / Delete Pagesread / write
Read Categories & Tags / Createread / write
Read / Approve / Delete Commentsread / write
Read Media Libraryread
Read Usersread
Search Contentread
Read Site Info & Active Pluginsread

Elementor (requires Elementor plugin)

AbilityAccess
List Elementor Pagesread
Get Page Structure (element tree)read
Get Element Settingsread
Find Element by type or contentread
List Templatesread
Update Element settingswrite
Add Widget to pagewrite
Add Container / Sectionwrite
Remove Elementwrite

🚀 Quick Start

Prerequisites: WordPress 6.9+, WordPress MCP Adapter, Node.js 18+

  1. Install & activate this plugin
  2. Go to MCP > Settings in wp-admin and enable the abilities you need
  3. Go to MCP > Config Files and copy your auto-generated config
  4. Paste it into claude_desktop_config.json (or ~/.codex/config.toml for Codex)
  5. Start prompting your AI agent

🏢 About WebSensePro

Built by WebSensePro — WordPress & Shopify agency from Queens, NY.