Logo WPVibe

WPVibe

Tổ chức
awesomemotive

WPVibe — MCP server plugin for WordPress. Connect Claude, ChatGPT, Cursor, Windsurf and any MCP-compatible AI client to your self-hosted WordPress site. Theme editing, content management, REST API, WP-CLI, WordPress Abilities API.

Nhà phát hànhawesomemotive
Kho mãwpvibe-ai-mcp
Ngôn ngữPHP
Bản fork
8
Sao
19
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

    WPVibe cung cấp các chức năng MCP cho các ứng dụng khách AI và tác nhân AI tương thích.

  • 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.

  • Mẫu cấu hình có thể sao chép ngay

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

  • Mức độ quan tâm của cộng đồng đến kho mã

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

WPVibe — MCP Server for WordPress

WordPress Plugin Version Tested up to WP 6.9 Requires PHP License GPL-2.0-or-later

WPVibe is the open-source WordPress plugin that makes your self-hosted WordPress site accessible to AI assistants via the Model Context Protocol (MCP). Pair the plugin with the hosted WPVibe MCP service at wpvibe.ai and your AI — Claude, ChatGPT, Cursor, Windsurf, OpenCode, Claude Code, or any MCP-compatible client — can manage WordPress through natural conversation.

🌐 Website: wpvibe.ai 📦 Install from WordPress.org: wordpress.org/plugins/vibe-ai 💬 Support: GitHub Issues or WordPress.org forum 🧠 About MCP: modelcontextprotocol.io

A quick note on naming: The product is WPVibe. The WordPress.org plugin slug is vibe-ai (slugs can never change after approval, and the plugin file is vibe-ai.php to match), so the plugin URL and file names keep that spelling. The plugin itself displays as WPVibe everywhere.

Scope of this repository: This is the WordPress plugin — the WP-side component that exposes WordPress operations as MCP-callable REST endpoints. The hosted WPVibe MCP server (gateway, OAuth, tool registration) lives at wpvibe.ai and is not in this repo. Install both for the full experience.


What WPVibe does

WPVibe is the WordPress MCP integration — a plugin you install on your WordPress site that exposes WordPress operations as MCP tools. Combined with the hosted WPVibe MCP service, your AI assistant gets a sandboxed, authenticated, capability-checked path to:

  • Manage WordPress content — create, update, and publish posts, pages, and custom post types via the WordPress REST API
  • Edit WordPress themes safely — sandboxed draft-preview-publish workflow with PHP syntax validation
  • Run WordPress WP-CLI commands — 34 allowlisted commands via native PHP dispatch (no wp-cli binary required)
  • Use the WordPress Abilities API — call any plugin's registered abilities (WordPress 6.9+)
  • Upload WordPress media — pull images from URLs or Unsplash directly into your media library
  • Discover site state — list files, search code, inspect installed plugins and themes — all read-first by default

No copy-pasting between AI chat and wp-admin. No API key juggling. One-click OAuth, AES-256-GCM encrypted credentials, and your WordPress site is AI-accessible.

How WPVibe works

┌──────────────────┐
│  AI assistant    │  Claude · ChatGPT · Cursor · Windsurf · Claude Code · …
│  (MCP client)    │
└────────┬─────────┘
         │ MCP protocol (JSON-RPC over HTTPS)
         ▼
┌──────────────────┐
│  WPVibe MCP      │  Hosted at wpvibe.ai — OAuth, routing, tool registration
│  server          │  (closed-source service, separate from this repo)
└────────┬─────────┘
         │ HTTPS (authenticated REST)
         ▼
┌──────────────────┐
│  WPVibe plugin   │  ← This repo. Installed on your WordPress site.
│                  │     Capability checks, sandboxing, PHP lint, denylists
│                  │
└────────┬─────────┘
         │ Native WordPress PHP APIs
         ▼
┌──────────────────┐
│  Your WordPress  │  Content, theme files, options, database
└──────────────────┘

MCP tools your AI gets

When you connect a WordPress site through WPVibe, your AI assistant has access to:

CategoryTools
Site managementconnect_site, site_info, list_sites, remove_site
Contentrest_api — call any WordPress REST endpoint (GET/POST/PUT/DELETE)
Mediaupload_media, search_images (Unsplash)
Abilitiesdiscover_abilities, get_ability_info, run_ability
Filesread_file, edit_file, write_file, delete_file, list_files, search_files, get_file_outline
Theme workflowcreate_draft_theme, publish_draft_theme, delete_draft_theme, get_preview_url, create_classic_theme
WP-CLIrun_wp_cli — 34 native PHP commands, no shell required
Visualget_page_html, navigate
Skillsload_skill — progressive instructions for common WordPress workflows

Full per-tool documentation: wpvibe.ai

Quick start

  1. Install the plugin from WordPress.org or clone this repo into wp-content/plugins/vibe-ai/
  2. Activate the plugin in wp-admin — you'll see "WPVibe" in your admin sidebar
  3. Click the OAuth authorization link in the WPVibe admin page
  4. Add the WPVibe MCP server URL to your AI client:
    • Claude Desktop: Settings → Developer → Edit Config
    • Claude Code: claude mcp add wpvibe https://mcp.wpvibe.ai/mcp
    • Cursor / Windsurf: MCP settings panel
    • ChatGPT: Connectors → Add MCP server

Your WordPress site is now AI-accessible.

Security model

WPVibe is designed for safe AI access to production WordPress sites:

  • One-click OAuth — no application passwords typed into chat, no long-lived tokens on disk
  • AES-256-GCM credential encryption at rest with per-site salting
  • Per-endpoint WordPress capability checks — edit_themes, manage_options, install_plugins, etc.
  • DISALLOW_FILE_MODS honored for all write operations
  • Path sandboxing for file operations — scoped to the active theme or its draft sandbox
  • File extension allowlist for writes — .php, .css, .js, .json, .html, .txt
  • PHP syntax validation — every saved PHP file passes an in-process syntax check before write
  • WP-CLI default-deny allowlist — only 34 explicitly listed commands, dangerous flags stripped, shell metacharacters blocked
  • DB queries restricted to SELECT — LIMIT enforced (max 1000), blocked-keyword regex with word boundaries
  • Sensitive option denylist — auth_*, *_salt, active_plugins, db_version, and 20+ other core options can't be read or modified through the plugin
  • Two-phase confirmation flow for plugin install / plugin update
  • DELETE moves to trash for posts and pages — never a permanent delete via the MCP
  • Per-user scoping on AI-action notifications so multi-admin sites don't leak activity between users

Full security model: wpvibe.ai/security

For responsible disclosure of security vulnerabilities, please email security@wpvibe.ai. Do not open public GitHub issues for security reports.

What makes WPVibe different

FeatureWPVibeGeneric AI pluginsCustom integration
MCP-native (works with any AI client)✅❌❌
No vendor lock-in (open protocol)✅❌depends
Safe theme editing (draft + preview + lint)✅❌maybe
WP-CLI command dispatch✅❌rarely
WordPress Abilities API support✅❌rarely
Open-source plugin (GPL-2.0)✅variesvaries
Capability-checked file operations✅variesdepends
OAuth flow (no app passwords in chat)✅❌depends

Compatibility

  • WordPress: 6.0+ (tested up to 6.9)
  • PHP: 7.4+ (8.x recommended)
  • AI clients: Anthropic Claude (Desktop, Web, Code), OpenAI ChatGPT, Cursor, Windsurf, OpenCode, Continue, Cody, and any MCP-compatible client

Contributing

Issues and pull requests are welcome. See CONTRIBUTING.md for guidelines.

Changelog

See CHANGELOG.md for the full version history. The canonical changelog for WordPress.org is in readme.txt.

License

GPL-2.0-or-later — the same license as WordPress core. See LICENSE.

Related projects


WPVibe is built by Awesome Motive, makers of WPForms, SeedProd, MonsterInsights, OptinMonster, Duplicator, RafflePress, and other WordPress products.

Dùng MCP WPVibe 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 WPVibe, 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 Thiết lập 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 Thiết lập 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 thiết lập 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. Để tiến trình tiếp tục 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. Để tiến trình tiếp tục chạy trong cửa sổ Terminal khi bạn dùng các công cụ MCP.
3

Thêm WPVibe 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 WPVibe.
  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": {
    "wpvibe-ai-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 WPVibe, 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 WPVibe.
  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 trên TypingMind dùng các công cụ MCP đã bật với mô hình AI đã chọn
Bạn có thể dùng WPVibe giúp tôi làm việc này không?
WPVibe
Được. Tôi đọc rồi.
Đây là kết quả tôi tìm được bằng WPVibe.

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

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

WPVibe 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 WPVibe 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 WPVibe 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 WPVibe 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 WPVibe, 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 WPVibe với TypingMind?

WPVibe 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 WPVibe cung cấp những công cụ nào trong TypingMind?

WPVibe 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 WPVibe 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 WPVibe 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 👇