Linux 软件免费装
Banner图

StifLi Flex MCP - MCP Server with undo for ChatGPT, Claude & Gemini

开发者 estebandezafra
更新时间 2026年5月11日 18:34

标签

ai automation rest-api chatgpt mcp

下载

3.2.9 3.3.1 3.3.2 1.0.3 1.0.4 1.0.5 2.0.1 2.0.2 2.0.3 2.1.0 2.2.0 3.0.1 3.0.2 3.0.3 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.2.0 3.2.1 3.2.6 3.2.7 3.2.8

详情介绍:

StifLi Flex MCP is the most secure MCP Server for WordPress with built-in Undo. Connect AI clients safely (ChatGPT, Claude, Gemini, etc), roll back changes when needed, and manage your site through natural conversation without losing control. Three powerful tools in one plugin:
  1. MCP Server — Connect ChatGPT, Claude Desktop, or any MCP client directly to your site
  2. AI Copilot — A floating assistant inside the Gutenberg and Classic editors that writes, rewrites, and optimizes your content in real time
  3. AI Chat Agent — A full conversational interface to manage posts, WooCommerce, settings, and more
✍️ AI Copilot — Your Writing Assistant Inside the Editor The AI Copilot lives as a floating widget right inside the WordPress post and page editor. It understands the full context of what you're editing — title, content, categories, tags, featured image, and even WooCommerce product fields — and helps you write better, faster. Choose OpenAI (GPT-5.4), Anthropic (Claude 4.6 Opus/Sonnet), or Google (Gemini 3.1 Pro/Flash), and optionally use WordPress AI Client connectors like OpenRouter and Mistral when installed. No complex setup — just your API key or connector credentials. 💡 What Can You Do With the Copilot? Here are just a few examples of what you can ask while editing a post or page: The Copilot reads your full content, understands context, and applies changes directly in the editor — no copy-pasting, no switching tabs. 🤖 AI Chat Agent — Your WordPress AI Assistant The built-in AI Chat Agent gives you a powerful conversational interface to manage your entire WordPress site: 💡 What Can You Do With It? Here are just a few examples of what you can ask your AI agent: The AI agent understands context, chains multiple operations, and works with your site's real data in real time. 🎨 AI Image & Video Generation Generate stunning images and videos directly from your AI agent or the dedicated Multimedia Settings page: 🧩 Code Snippet Management — Design and Develop Through Conversation Create, edit, activate, and manage code snippets on your WordPress site entirely through AI — no manual coding required. Compatible with the three most popular snippet plugins: WPCode, Code Snippets, and Woody Code Snippets. This opens up powerful possibilities: customize your theme's appearance, add tracking scripts, inject schema markup for SEO, modify WooCommerce checkout behavior, add custom shortcodes — all through natural language. Ask your AI agent to build it, test it, and activate it, without ever touching a code editor. 🧠 WordPress Abilities Integration (WordPress 6.9+) Automatically discover and import abilities registered by other plugins into your AI agent's toolkit. If a plugin supports the WordPress Abilities API, StifLi Flex MCP can detect, import, and expose it as an AI tool — zero configuration needed. ⏰ Automation Tasks — Let AI Work While You Sleep Schedule AI-powered tasks to run automatically on your WordPress site: 🎯 Event Automations — Trigger AI on WordPress Events Run AI workflows automatically when specific events happen 📡 Full MCP Server — Connect External AI Clients StifLi Flex MCP also works as a standards-compliant Model Context Protocol (MCP) server, so you can connect external AI clients: Just copy the SSE URL from the Settings page, paste it into your AI client, and authorize. That's it — no tokens to manage, no passwords to share. The server handles discovery, registration, and authentication automatically following the latest security standards (OAuth 2.1, PKCE, RFC 9728, RFC 8414, RFC 7591). ⏪ Roll Back — The Only MCP Server With Undo Mistakes happen. You asked ChatGPT to update your landing page and the result isn't what you expected? No problem — roll back the change with one click and your site is restored instantly. StifLi Flex MCP is the only MCP server for WordPress that tracks every change and lets you undo it. Every modification made by any AI — whether from ChatGPT, Claude Desktop, the built-in Chat Agent, the Copilot, or automated tasks — is recorded with a full before/after snapshot. 💡 Real-world examples: 🛡️ Security — OAuth 2.1 Built In StifLi Flex MCP uses OAuth 2.1 with PKCE — the latest industry-standard security protocol — to authenticate external AI clients. No API keys to copy, no passwords to share. Just paste the URL, authorize once, and you're connected. 📋 Tool Profiles 🌐 Supported AI Platforms StifLi Flex MCP integrates with: Built-in AI Chat Agent + WordPress AI Client connectors: StifLi Flex MCP implements the Model Context Protocol (MCP) 2025-11-25 specification for lifecycle and tool operations over JSON-RPC 2.0, while keeping legacy SSE compatibility for older MCP clients. Demo & Installation Tutorial: https://youtu.be/KHr1zt2R8Ew

安装:

Quick Start (AI Copilot)
  1. Upload the stifli-flex-mcp folder to /wp-content/plugins/ or install from the WordPress plugin directory
  2. Activate the plugin
  3. Go to StifLi Flex MCP → AI Copilot and make sure it’s enabled
  4. Go to StifLi Flex MCP → AI Chat Agent → Settings and enter your API key
  5. Open any post or page in the editor — the Copilot widget appears automatically
  6. Start writing with AI!
Quick Start (AI Chat Agent)
  1. Go to StifLi Flex MCP → AI Chat Agent
  2. Open the Settings tab and select your AI provider (OpenAI, Claude, Gemini, or installed WordPress AI Client connectors like OpenRouter/Mistral)
  3. Enter your API key
  4. Start chatting!
That's it — no external tools, no complex configuration. Your AI agent is ready. Optional: MCP Server for External Clients If you also want to connect external AI clients (ChatGPT, Claude Desktop, LibreChat):
  1. Go to StifLi Flex MCP → MCP Server
  2. Copy the SSE URL shown on the Settings page
  3. Paste it in your AI client:
  4. Claude Desktop: Customize → Connectors → Add custom connector → Paste the URL
  5. ChatGPT: Settings → Apps & Connectors → Advanced settings → Enable Developer mode → Create app → Paste the URL → Choose OAuth
  6. A browser window will open — log in to WordPress and click "Authorize"
  7. Done! Your AI client can now manage your WordPress site
No API keys, no passwords — OAuth 2.1 handles everything securely and automatically.

屏幕截图:

  • 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

常见问题:

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?

  1. Go to StifLi Flex MCP → AI Chat Agent → Settings
  2. Choose your AI provider (OpenAI, Claude, Gemini, or installed WordPress AI Client connectors like OpenRouter/Mistral)
  3. Enter your API key (you get this from your AI provider's website)
  4. 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 117+ 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.

Does this work with WooCommerce?

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.

Can I create my own tools?

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.

What happens if the AI makes a mistake?

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.

Can the AI generate images?

Yes! The wp_generate_image tool supports multiple providers:

  • OpenAI — gpt-image-1 (default), gpt-image-1.5, gpt-image-2, gpt-image-1-mini, DALL·E 3, DALL·E 2
  • Google Gemini — gemini-2.5-flash-image (default), gemini-3.1-flash-image-preview, gemini-3-pro-image-preview, Imagen 4
Just ask your AI agent "Generate an image of..." or configure defaults in StifLi Flex MCP → Multimedia Settings → Images.

Can the AI generate videos?

Yes! The wp_generate_video tool supports:

  • OpenAI Sora — Text-to-video and image-to-video generation
  • Google Veo — Veo 2 and Veo 3 models
Video generation runs asynchronously in the background. Configure providers and API keys in StifLi Flex MCP → Multimedia Settings → Videos.

Where do I configure API keys for image/video generation?

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.

What are WordPress Abilities?

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.

How do I connect ChatGPT or Claude Desktop?

It takes less than a minute:

  1. Go to StifLi Flex MCP → MCP Server and copy the SSE URL
  2. Paste it in your AI client:
  3. Claude Desktop: Customize → Connectors → Add custom connector
  4. ChatGPT: Settings → Apps & Connectors → Advanced settings → Enable Developer mode → Create app → Paste the URL → Choose OAuth
  5. Authorize when the browser window opens (you only need to do this once)
The plugin uses OAuth 2.1 — no API keys or passwords needed. Your session stays active for up to 90 days.

OAuth works but Claude/ChatGPT says "Authorization failed"

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:

  • Cloudflare: Dashboard → Security → Settings → turn off "Block AI Bots". Note: this is all-or-nothing — you cannot allow only Anthropic/OpenAI while blocking others.
  • Sucuri / Wordfence / other WAFs: Whitelist the AI provider's IP ranges or user agents (e.g., python-httpx for Anthropic, ChatGPT-User for OpenAI).
Option 2 — Use Application Passwords (bypasses the firewall): If you cannot change your firewall settings, use WordPress Application Passwords instead of OAuth. This connects directly from Claude Desktop on your machine, bypassing the AI provider's proxy entirely:
  1. Go to Users → Your Profile in WordPress admin
  2. Scroll to Application Passwords section
  3. Enter a name (e.g., "Claude Desktop") and click Add New Application Password
  4. Copy the generated password (shown only once)
  5. In claude_desktop_config.json, configure the MCP server with your username and the application password as HTTP Basic Auth headers
This method works even behind strict firewalls because all requests come from your own computer.

更新日志:

3.3.2 3.3.1 3.3.0 3.2.9 3.2.8 3.2.7 3.2.6 3.2.5 3.2.4 3.2.3 3.2.2 3.2.1 3.2.0 3.1.5 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.3 3.0.2 3.0.1 2.2.2 2.2.1 2.2.0 2.1.0 2.0.3 2.0.2 2.0.1 1.0.5 1.0.4 1.0.3 1.0.0