| 开发者 | estebandezafra |
|---|---|
| 更新时间 | 2026年5月11日 18:34 |
<?php tags and markdown artifacts from AI-generated outputstifli-flex-mcp folder to /wp-content/plugins/ or install from the WordPress plugin directoryThe AI Copilot is a floating assistant that appears inside the WordPress editor (Gutenberg or Classic). It reads the context of what you’re editing and helps you write, rewrite, optimize, generate tags, create excerpts, and even generate images — all without leaving the editor. Every change can be undone with one click.
The Copilot lives inside the post/page editor and is focused on writing and content editing. It works directly with the editor fields (title, content blocks, excerpt, tags, etc.). The Chat Agent is a standalone admin page where you can manage your entire WordPress site through conversation — create posts, manage WooCommerce orders, check settings, install plugins, and more. Both use the same AI provider and API key.
OpenAI, Claude, and Gemini all work great, and you can also use OpenRouter or Mistral via WordPress AI Client connectors. Here's a quick comparison:
The agent has access to 117+ tools covering:
Yes, with multiple layers of protection:
Model Context Protocol (MCP) is a standard for connecting AI agents to data sources and tools. This plugin implements an MCP server so external AI clients like ChatGPT or Claude Desktop can discover and use your WordPress tools. This is in addition to the built-in AI Chat Agent.
Yes! The plugin includes 61 WooCommerce tools. They activate automatically when WooCommerce is installed. Ask your AI agent "Show me today's orders" and it just works.
Absolutely! Go to MCP Server → Custom Tools and create PHP-powered tools that expose any plugin's functionality to your AI agent. Built-in examples included.
No worries — StifLi Flex MCP is the only MCP server with a built-in Roll Back system. Every change made by any AI (ChatGPT, Claude, the Chat Agent, Copilot, or automations) is tracked with a full before/after snapshot. Go to Logs & Roll Back in your admin panel and undo any change with one click. You can even roll back an entire session at once.
Yes! The wp_generate_image tool supports multiple providers:
Yes! The wp_generate_video tool supports:
Go to StifLi Flex MCP → Multimedia Settings. API keys are shared between the Images and Videos tabs — enter your OpenAI or Gemini key once and it works for both.
WordPress 6.9 introduced the Abilities API, letting plugins register standardized capabilities. If you have plugins that support Abilities, StifLi Flex MCP can auto-discover and import them from MCP Server → Abilities tab.
It takes less than a minute:
This is usually caused by Cloudflare's "Block AI Bots" setting (enabled by default on new domains) or similar WAF rules from Sucuri, Wordfence, SiteGround, WP Engine, etc. What happens: The OAuth consent screen works fine (it runs in your browser), but after the token exchange, the AI backend servers (Anthropic, OpenAI) try to reach your MCP endpoint — and the firewall blocks them as bot traffic, returning a 403 before the request ever reaches WordPress. How to confirm: Check your firewall logs. You'll see the OAuth/token requests succeed but subsequent MCP requests from Anthropic or OpenAI IPs are blocked. Option 1 — Disable AI bot blocking:
python-httpx for Anthropic, ChatGPT-User for OpenAI).claude_desktop_config.json, configure the MCP server with your username and the application password as HTTP Basic Auth headerswp_create_post and wp_update_post now correctly apply post_category and tax_input (including post_tag) when creating or updating posts.gpt-image-1 and gemini-2.5-flash-image) and refreshed pricing guidance in the UI.wc_get_variation, wc_batch_update_variations, wc_get_product_attributes, wc_get_attribute_terms, wc_create_product_attribute, wc_set_product_attributes, wc_get_coupon, wc_get_coupon_count, wc_empty_coupon_trash.wp_get_taxonomies (slug/name/label output), wp_get_term_meta (structured payload with secret redaction), wc_get_product_variations (normalized variation rows), wc_update_product_variation (ownership validation), wc_delete_product_variation (ownership validation), wc_get_coupons (status filtering, including trash), wc_delete_coupon (clear trash vs permanent outcome), wc_get_coupon_count (status-based counting, including trash).wp_generate_image reliability with async task handling plus safer media persistence/post-processing.wp_generate_video reliability with async task handling, atomic file save, and background metadata processing.mcp_ping with optional diagnostics (diagnostics, timeout_sec) to surface site URL, REST endpoint, HTTPS state, DNS resolution, and lightweight reachability checks without forcing remote calls by default.wp_get_posts, wp_get_post, wp_get_comments, wp_get_users, search, wc_get_products, and wc_get_orders with richer optional outputs and standardized include_pagination metadata wrappers.search and fetch with broader filters, query-param support, custom request/response headers, and targeted remote inspection controls (head_only, include_headers, extract_text, max_bytes, timeout_sec).wp_get_site_health into a richer site audit tool with selectable depth levels (0 basic, 1 medium, 2 deep) to balance diagnostic detail and timeout risk.wp_get_plugin_settings to inspect plugin-related wp_options by plugin_slug/prefixes with prepared SQL + limit controls and strict recursive redaction of secrets/tokens/passwords.wp_update_term and extended wp_create_term/wp_delete_term with optional slug/parent/description plus per-taxonomy capability checks (existing wp_*_category and wp_*_tag tools kept as aliases).wp_update_term and extended wp_create_term/wp_delete_term with optional slug/parent/description plus per-taxonomy capability checks (existing wp_*_category and wp_*_tag tools kept as aliases).wp_get_term_meta (with secret redaction), wp_update_term_meta, wp_delete_term_meta.wp_reorder_menu_items tool to batch-update menu_order/parent for navigation menu items in one call (with one-click rollback).wp_create_post/wp_update_post now validate post_type exists and is public/show_ui, enforce post-type-aware capabilities, and require edit_others_posts cap when assigning a different post_author.wp_get_option, wp_get_settings, wp_get_post_meta, wp_get_user_meta) and masked email/IP fields in wp_get_comments.wp_update_option and wp_update_settings with hard denylist, sensitive-pattern blocking, and optional allowlist via sflmcp_writable_options.wp_delete_option tool (destructive operation without reliable undo), including migration cleanup for existing installs.wp_upload_image_from_url with SSRF protection (private/reserved IP blocking), HTTPS requirement, 20MB limit (filterable), MIME allowlist, and image validation.wp_set_featured_image tool and support for featured_media in wp_create_post and wp_update_post.sflmcp_db_version upgrade flow for versioned DB migrations.mcp_get_changelog, mcp_get_change_detail, mcp_rollback_change, mcp_redo_change, mcp_rollback_session<?php, ?> tags and markdown code fences from AI-generated codewp_generate_image!wp_generate_video using cutting-edge AI models!{{post.title}}, {{user.email}}, etc.)wp_sflmcp_automation_tasks, wp_sflmcp_automation_logs, wp_sflmcp_event_automations, wp_sflmcp_event_logs, wp_sflmcp_event_triggersestimateTokensFromString, estimateTokensFromJson)make_request_with_meta)JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE for cleaner payloads