sandywp / plugins / stifli-flex-mcp
Flex MCP
Connect ChatGPT, Claude and AI agents with MCP, Undo, Abilities and Tools.
The most secure MCP Server for WordPress with Undo, plus AI Copilot & Chat Agent. ChatGPT, Claude, Gemini, OpenRouter & Mistral.
Ready in seconds.
v3.6.1 900+ installs WP 5.9+ PHP 7.4+

What you get inside
7 screens-
AI Copilot - Floating assistant inside the WordPress editor with quick actions
-
AI Chat Agent - Chat with AI directly from WordPress admin
-
AI Chat Agent - Settings and provider configuration
-
MCP Server - Endpoint URLs and authentication setup
-
MCP Server - Tool profiles management
-
MCP Server - WordPress and WooCommerce tools management
-
MCP Server - Plugin Integrations
About this plugin
Flex MCP connects ChatGPT, Claude Desktop and other Model Context Protocol (MCP) clients to WordPress. Manage content, WooCommerce, media and settings through conversation, with OAuth 2.1 authentication, tool permissions and built-in Undo for tracked changes.
Main features
- MCP Server – 122+ built-in tools for WordPress and WooCommerce, plus tools from supported plugin integrations.
- Control and recovery – WordPress capability checks, tool profiles, activity logs, rollback, redo and session rollback.
- AI Copilot – Write, rewrite and update content inside Gutenberg or the Classic Editor.
- AI Chat Agent – Manage your site from a conversational interface in WordPress admin.
- Multimedia – Generate images and videos, or search stock images using configured providers.
- Automations and SEO – Run scheduled or event-driven workflows and connect Google Search Console.
- WordPress Abilities – Discover and import abilities registered by compatible plugins on WordPress 6.9+.
The MCP Server is always active. Copilot, Chat Agent, automations, SEO and plugin integrations are optional add-ons; enable only what you need during setup or later from MCP Server > Add-ons.
Connections and providers
External MCP clients connect through OAuth 2.1 with PKCE. Use the messages endpoint for MCP 2026-07-28 or SSE for supported legacy clients. Application Passwords are also available.
The built-in assistants support OpenAI, Anthropic Claude and Google Gemini, with OpenRouter and Mistral available through installed WordPress AI Client connectors. Provider credentials are required for these features; provider charges may apply. See External Services below.
Learn more
- Documentation and setup
- Source code and technical reference
- WP MCP Hub – Free, open-source local management for multiple WordPress MCP sites.
Watch the one-minute Claude connection demo:
External Services
This plugin connects to third-party AI services to power the AI Chat Agent, AI Copilot, image generation, and video generation features. No data is transmitted until you explicitly configure an API key and initiate a request.
What data is sent: Your WordPress content (post text, metadata, product details) as included in AI prompts, and MCP tool execution results when using the MCP server with external AI clients.
When data is sent: Only when you have configured an API key for a provider AND actively send a message to the AI agent or Copilot, or when an external MCP client makes an authenticated request to the MCP server endpoint.
Supported services and their policies:
-
OpenAI — Used for GPT models (AI Chat Agent, AI Copilot), GPT Image / DALL·E (image generation), and Sora (video generation)
Terms of Use | Privacy Policy -
Anthropic Claude — Used for Claude AI models (AI Chat Agent, AI Copilot)
Terms of Service | Privacy Policy -
Google Gemini — Used for Gemini AI models (AI Chat Agent, AI Copilot), Gemini Image + Imagen 4 (image generation), and Veo 2/3 (video generation)
Terms of Service | Privacy Policy -
Google Search Console – Used only when you connect your Google account in the SEO settings, for read-only site/search performance data.
Terms of Service | Privacy Policy
When using the MCP server with external AI clients (ChatGPT, Claude Desktop, LibreChat, etc.), requests arrive at your WordPress MCP endpoint. For CIMD clients, the plugin retrieves the client’s public HTTPS metadata document during OAuth authorization/token processing and may cache it for up to one hour. It sends no WordPress cookies or access tokens with that metadata request. The public HTML verification tool requests a page from your own site. Tools that explicitly use other external services follow the settings and disclosures above.
When you call wp_upload_media with a URL or conversation file, or wp_upload_image with a conversation file, WordPress downloads it from the supplied HTTPS address and up to three validated redirects. Those hosts receive your server’s download request, including any signed parameters in the URL, but no WordPress cookies or OAuth tokens. The file is saved in your Media Library and may become publicly accessible. Base64 uploads do not require an external download.
Questions
- Can I upload files attached to a ChatGPT conversation?
Yes. For images, use
wp_upload_imagewith a conversationfileinstead of slow base64 transfer. Its existingimage_data+filenameinput remains available for older clients. For documents or image optimization, enablewp_upload_mediain MCP Server > WordPress Tools. Refresh your client’s tools after updating. Documents must be allowed by WordPress; executable files, HTML, XML and SVG are blocked. Conversation file downloads are limited to 20 MiB or the lower site limit.With
wp_upload_media, request JPEG/WebP conversion, maximum dimensions and a target size, for example JPEG at 1600 pixels wide and no more than 400 KiB. Processing may reduce quality and dimensions; if the target cannot be met, the tool returns an error without leaving a successful oversized upload. Legacy base64 image uploads remain compatible.- What is the AI Copilot?
The 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.
- How is the Copilot different from the Chat Agent?
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.
- How do I set up the AI Chat Agent?
- Go to Flex MCP → AI Chat Agent → Settings
- Choose your AI provider (OpenAI, Claude, Gemini, or installed WordPress AI Client connectors like OpenRouter/Mistral)
- Enter your API key (you get this from your AI provider’s website)
- Go to the Chat tab and start talking!
- Which AI provider should I use?
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:
- OpenAI (GPT-4o / GPT-4.5) — Best overall balance of speed and quality
- Claude (Opus / Sonnet) — Excellent at understanding complex instructions and writing
- Gemini (2.5 Pro / Flash) — Great value, fast responses
You can switch providers at any time from the Settings tab.
- What can the AI agent do with my site?
The agent has access to 122+ tools covering:
- Content — Create, edit, delete posts, pages, and comments
- Media — Upload, list, and manage images and files
- AI Generation — Generate images (DALL·E, Imagen) and videos (Sora, Veo) with AI
- WooCommerce — Products, orders, coupons, customers, shipping, taxes
- Taxonomies — Categories, tags, custom taxonomies
- Settings — Site options, menus, navigation
- System — Plugins, themes, site health
You control which tools are available through Profiles.
- Is it safe to let AI manage my site?
Yes, with multiple layers of protection:
- OAuth 2.1 with PKCE — Industry-standard secure authentication for external AI clients, no shared passwords
- Tool confirmations — In “Ask User” mode, you approve every action before it executes
- Permission checks — Every tool verifies WordPress capabilities before running
- Profiles — Restrict which tools are available (e.g., “Read Only” profiles)
- Token management — Revoke access for any client instantly from the admin panel
- What is MCP?
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.
sandywp / also on the shelf
Try another plugin
4.2 · 70K+ installs
Opt-in AI for WordPress: one stable feature plus experiments that may change or be removed. Needs an AI provider plugin and your…
-
357 ready-made WordPress abilities for Claude, ChatGPT and any AI agent — browse, override and control every one.
Inhale: MCP Abilities Manager by Respira
100+ installs
See every ability your plugins give AI agents over MCP, and choose which ones Claude, ChatGPT and other AI clients can use. No…
Spin up a real WordPress site in seconds.
Test plugins, build a demo, hand a client a link — then squash it and start again. No local setup, no Docker.