plugin-icon

Zen MCP Bridge

Connect your WordPress site to Claude.ai via the Model Context Protocol (MCP), giving Claude read-only access to your site's internals.
版本
3.2.2
最近更新:
Jul 26, 2026
Zen MCP Bridge

Zen MCP Bridge turns your WordPress site into an MCP server that Claude.ai can connect to. Once connected, Claude can inspect your site’s architecture in real time — plugins, database schema, source code, ACF fields, REST routes, cron jobs and more — so it can write plugins, debug issues and answer questions tailored to your exact setup.

Read-only by default. Claude cannot write, delete or modify anything unless you explicitly enable the opt-in write mode — and even then it can only work with drafts, allowlisted options, plugin toggles, caches and terms, with every action audited.

Features

  • Full OAuth 2.1 authorization server with PKCE (S256), dynamic client registration (RFC 7591) and auto-discovery (RFC 8414 + RFC 9728).
  • Bearer Token auth as a simpler alternative to OAuth — never expires.
  • Configurable OAuth token lifetime — 1 hour, 24 hours, 7 days or 30 days, plus an emergency “Revoke all tokens” button.
  • 25 read-only MCP tools covering site info, plugins, themes, post types, taxonomies, options, posts, database schema, structured table reads, files, code search, logs, hooks, ACF fields, users, menus, cron, transients, widgets, REST routes, Action Scheduler, WooCommerce and Elementor.
  • MCP resources (site snapshots at wordpress:// URIs) and canned prompts for site analysis, debugging and plugin writing.
  • Opt-in write mode (off by default): six scoped write tools — create/update DRAFT posts, update allowlisted options, toggle plugins, clear caches, create terms. OAuth sessions additionally need a write grant ticked on the consent screen; everything is audited. Deleting, publishing, user management and write SQL are never possible.
  • WordPress Abilities API integration (WP 6.9+): tools are discoverable by the WordPress AI ecosystem, admin-only. Stands down automatically when the official AI Provider for Anthropic plugin is active.
  • MCP specification 2025-11-25 compliant.
  • Rate limiting, path-traversal guards, credential redaction and clickjacking protection.
  • Apache + FastCGI compatible (Authorization header normalization built in).
  • Zero dependencies — pure WordPress, no Composer required.

Available tools

Read: wp_get_site_info, wp_get_plugins, wp_get_themes, wp_get_post_types, wp_get_taxonomies, wp_get_options, wp_query_posts, wp_get_post, wp_get_db_schema, wp_db_query, wp_list_files, wp_read_file, wp_search_code, wp_get_logs, wp_get_hooks, wp_get_acf_fields, wp_get_users, wp_get_menus, wp_get_cron_jobs, wp_get_transients, wp_get_scheduled_actions, wp_get_active_widgets, wp_get_rest_routes, wp_get_woocommerce, wp_get_elementor.

Write (only with write mode enabled): wp_create_draft_post, wp_update_draft_post, wp_update_option, wp_toggle_plugin, wp_clear_cache, wp_create_term.

External services

This plugin is a bridge to Claude.ai, the AI assistant operated by Anthropic. That is the entire purpose of the plugin: it turns your site into an MCP (Model Context Protocol) server that Claude.ai connects to so it can read your WordPress data and help you build and debug your site.

What the service is and what it is used for: Claude.ai (Anthropic) is a third‑party AI assistant. You connect it to this plugin’s MCP endpoint from the Claude.ai app. Claude then reads your site through the plugin’s tools to answer questions, write code and debug issues tailored to your setup.

What data is sent, and when: No data is sent anywhere until you, as an administrator, connect Claude.ai to this site and authenticate (with the Bearer token or by completing the OAuth login). After that, data is transmitted to Claude.ai only in direct response to a request Claude makes, and only the data returned by the specific read tool it calls — for example site/plugin/theme information, post content, database query results (with credentials redacted), or source files under wp-content (with sensitive files such as .env, wp-config copies, keys and database dumps blocked). Options and query results have secret‑shaped values redacted, user passwords are never returned, and — unless you explicitly turn on the optional write mode — nothing on your site is ever modified. During the OAuth login flow the browser is also redirected to Claude.ai callback URLs (https://claude.ai/api/mcp/auth_callback and the app./www. variants) carrying a short‑lived authorization code. The plugin does not send any usage analytics or telemetry, and it does not contact Anthropic on its own — Claude.ai always initiates the connection.

Service terms and privacy policy: Anthropic Consumer Terms of Service — https://www.anthropic.com/legal/consumer-terms ; Anthropic Privacy Policy — https://www.anthropic.com/legal/privacy ; Anthropic Usage Policy — https://www.anthropic.com/legal/aup

目前已測試版本
WordPress 7.0.2
此外掛程式已可供下載,並可用於你 系統。