Logo WSP WordPress MCP

WSP WordPress MCP

Cộng đồng
bilalnaseer

WSP MCP - Free WordPress MCP For Connecting AI Coding Agents

Nhà phát hànhbilalnaseer
Kho mãwsp-wordpress-mcp
Ngôn ngữPHP
Bản fork
16
Sao
36
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Giấy phépGPL-2.0
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    WSP WordPress MCP cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    36 sao và 16 bản fork từ kho mã được liên kết.

WSP WordPress MCP — Connect AI Agents to WordPress

By WebSensePro — Official Shopify Partner & WordPress Agency

Version YouTube License

Turn any WordPress site into a Model Context Protocol (MCP) server so AI agents — Claude, Cursor, Codex, Antigravity, OpenClaw, OpenCode — can read and edit your posts, pages, media, menus, WooCommerce store, forms, SEO meta, and Elementor layouts. The MCP server is built in: no companion plugin, no MCP Adapter, no Node.js bridge for natively-supported clients. Every ability is an individual on/off switch in wp-admin, write abilities are off by default, and every call is recorded in a self-hosted audit log.


🎬 Watch the Tutorial

WSP WordPress MCP — Full Tutorial


🚀 Quick Start

Prerequisites: WordPress 6.9+ (7.0.3 or 6.9.6+ recommended), PHP 7.4+ — that's it. Claude Desktop and OpenClaw use the mcp-remote bridge, which needs Node.js 18+; Cursor, Codex, Antigravity, and OpenCode connect natively.

  1. Install & activate this plugin
  2. Go to MCP > Settings in wp-admin and enable the abilities you need
  3. Go to MCP > Connection and pick your client:
    • Claude (claude.ai, Desktop, or mobile): enable the OAuth server on the Claude Connectors tab, then paste just the server URL into Customize > Connectors > Add custom connector and sign in with your WordPress account
    • Everything else (Cursor, Codex, Antigravity, OpenClaw, OpenCode): use the Configuration Generator, then Copy or Download the snippet — the endpoint URL and credentials are already filled in — and paste it into your client's config (Cursor also gets a one-click Connect Cursor Automatically button)
  4. Reconnect / restart the client and start prompting your AI agent
  5. Review what your agent actually did under MCP > Audit Log, and check usage and response times under MCP > Analytics

Upgrading from before v2.0? The legacy MCP-Adapter / Abilities-API path and the MCP > Config Files page were removed in v2.2. Re-create your connection using the native endpoint on MCP > Connection.

Connection guides by client

ClientGuide
Claude (claude.ai / Desktop / mobile)Full tutorial
OpenClawVideo
Google AntigravityVideo
CodexVideo
All tutorials & abilities directoryfreewordpressmcp.com

✨ What's New in v2.9.0

  • 🧭 Navigation Menus tool group — nine new tools to list menus and their items, create and delete menus, add / update / remove menu items (custom links, posts, pages, categories), list your theme's menu locations, and assign or unassign a menu to a location. Require edit_theme_options; off by default. Contributed by @dulaj44 in #41.
  • 📄 Read Post tool — fetch a single post by ID in any status (draft, pending, private, trash) with its full content, so an agent can review a draft before updating it. Enforces per-post read permission; off by default. Closes #38.
  • 🐛 Audit Log accuracy — permission-denied results from the new Read Post tool are now logged as denied, not success.
  • 🐛 Add Menu Item validation — an object_id whose post type doesn't match the requested type is now rejected instead of silently stored.

Recent releases: v2.8.0 — one-click Claude Connector sign-in (OAuth 2.1) + Analytics dashboard · v2.7.1 — object-level authorization on write tools (Patchstack) · v2.7.0 — Audit Log · v2.6.x — WPForms, Contact Form 7, Gravity Forms, UAE, Elementor design tools.

📋 Full history: see CHANGELOG.md.


🔐 Security model

  • Off by default — every write ability is disabled until an administrator enables it in MCP > Settings.
  • Per-tool capability checks — each tool declares the WordPress capability it requires (edit_posts, manage_options, manage_woocommerce, …) and runs as the connected WordPress user, so an agent can only do what that account can do.
  • Per-object guards — tools that take a post/page/media ID additionally enforce ownership (edit_post / delete_post / read_post) and post type, matching WordPress core's own REST checks.
  • Three auth methods — OAuth 2.1 (one-click Claude Connector, off by default), WordPress Application Passwords, or a plugin-generated API key.
  • Audit Log — every tools/call is stored in wp_wsp_mcp_audit_log with user, IP, outcome (success / denied / error), and duration. Nothing leaves your server. Auto-pruned after 90 days.

🛠️ Available Abilities

Core WordPress

AbilityAccess
Read / Get / Create / Update / Delete Postsread / write
Read / Create / Update / Delete Pagesread / write
Read Categories & Tags / Createread / write
Read / Approve / Delete Commentsread / write
List / Get / Count Mediaread
Update / Delete / Upload Media (from URL or base64)write
Read Usersread
Search Contentread
Read Site Info & Active Pluginsread
Read Menus / Menu Items / Menu Locationsread
Create / Delete Menu, Add / Update / Delete Menu Item, Assign Locationwrite

Yoast SEO (requires Yoast SEO plugin)

AbilityAccess
Get Yoast SEO Meta (title, meta description, focus keyphrase)read
Update Yoast SEO Metawrite

Rank Math SEO (requires Rank Math plugin)

AbilityAccess
Get Rank Math SEO Meta (title, description, focus keyword, score)read
Update Rank Math SEO Metawrite

Elementor (requires Elementor plugin)

AbilityAccess
List Elementor Pages / Templatesread
Get Page Structure / Element Settings / Find Elementread
Update Element, Add Widget, Add Container / Section, Remove Elementwrite
Duplicate / Move Element, Copy Element Styleswrite
Get / Update Active Kit (global colors, fonts, layout)read / write
Get / Update Page Settingsread / write
Get Widget Schema / Breakpointsread
Convert CSS to Elementor Settingswrite
Regenerate CSSwrite

20 tools. update-active-kit and regenerate-css require manage_options; the rest require edit_posts. All writes run through wsp_elementor_sanitize_settings().

Ultimate Addons for Elementor (requires UAE plugin)

AbilityAccess
List UAE Widgets / Check Widget Usageread
Activate / Deactivate / Bulk Toggle Widgetswrite
List / Get Header, Footer & Blocks Templatesread
Create / Duplicate / Update / Trash / Restore Templatewrite
Add Section / Add Column / Move Element / Build Layout from JSONwrite
Get UAE Settings / Theme Info / Extensions / Design Tokensread
Update UAE Settings / Design Tokenswrite

45 tools, off by default. Writes require edit_posts, publish_posts, or manage_options.

WooCommerce (requires WooCommerce plugin)

AbilityAccess
List / Get Productsread
Create Product / Create Variation / Update Productwrite
List Orders / Update Order Statusread / write
Refund Order (requires manage_woocommerce)write
Create / List Coupons (requires manage_woocommerce)write / read
Create Order Notewrite
List Customers (requires manage_woocommerce)read
Sales Report / Low-Stock Alertsread
Moderate Product Reviewswrite

Advanced Custom Fields (requires ACF plugin)

AbilityAccess
List / Get Field Groupsread
Create / Update / Delete / Import Field Groupwrite
List / Get Fieldsread
Create / Update / Delete / Duplicate Field, Force Syncwrite
Get / Get-All / Get Field Object (values)read
Update Deep (dot-notation) / Bulk Update / Delete Valuewrite
List Post Types / Taxonomiesread
Create Custom Post Type / Taxonomy (ACF 6.1+)write
List / Create Options Page (create needs ACF Pro)read / write
Get / Update Option Valueread / write

27 tools. Value reads/writes accept a post/page ID, user_<id>, term_<id>, or options and enforce per-object capabilities. Structural changes require manage_options.

Gravity Forms (requires Gravity Forms plugin)

AbilityAccess
List / Get Formsread
Create / Update / Delete Form, Update Form Settingswrite
List / Get Entriesread
Update / Delete Entrywrite
Get / Create / Update / Delete Notificationsread / write
Get / Create / Update / Delete Confirmationsread / write

18 tools. List Forms and Get Form are ON by default. Uses Gravity Forms' own capabilities.

Contact Form 7 (requires Contact Form 7 plugin)

AbilityAccess
List / Get Formsread
Create / Update / Delete Formwrite
List / Get Entries (requires Flamingo)read
Validate Formread
Get Integrations (modules, reCAPTCHA status)read
Moderate Entry (spam / unspam / trash / untrash)write

10 tools. List Forms and Get Form are ON by default. Uses CF7's own capabilities; get-integrations requires manage_options.

WPForms (requires WPForms Lite or Pro)

AbilityAccess
List / Get Forms, Describe Schema, Get Form Statsread
Create Form, Update Form Settings, Add / Update Field, Delete Formwrite
List / Get / Delete Entries (WPForms Pro)read / write

12 tools. List Forms, Get Form, Describe Schema, and Get Form Stats are ON by default. Uses WPForms' own capabilities.


🏢 About WebSensePro

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


⭐ Star this repo · 🍴 Fork it · 🐛 Report a bug

Dùng MCP WSP WordPress MCP với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối WSP WordPress MCP, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm WSP WordPress MCP làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của WSP WordPress MCP.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "wsp-wordpress-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của WSP WordPress MCP, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của WSP WordPress MCP.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng WSP WordPress MCP giúp tôi làm việc này không?
WSP WordPress MCP
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng WSP WordPress MCP.

Câu hỏi thường gặp

Máy chủ MCP WSP WordPress MCP dùng để làm gì?

WSP WordPress MCP là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP WSP WordPress MCP với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng WSP WordPress MCP với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP WSP WordPress MCP với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối WSP WordPress MCP, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP WSP WordPress MCP với TypingMind?

WSP WordPress MCP hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP WSP WordPress MCP cung cấp những công cụ nào trong TypingMind?

WSP WordPress MCP cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP WSP WordPress MCP không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu WSP WordPress MCP yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇