=== MCP Connector for wp2ai – Reviewed AI Content for ChatGPT, Claude & Gemini ===
Contributors: webndev
Tags: ai, mcp, content, automation, seo
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 0.6.132
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Connect WordPress to AI assistants over MCP. Sync your content, track AI actions, and keep control of what gets published.

== Description ==

wp2ai gives your AI assistant real superpowers on WordPress. Connect ChatGPT, Claude or Gemini through the Model Context Protocol (MCP), and let it read, propose and publish content: you keep full control of what actually goes live.

* Publish directly to WordPress from your AI conversation
* Edit existing content by replacing it in place, without touching the rest, on Gutenberg, Elementor, Bricks and Classic Editor. Insert blocks on Gutenberg and Classic Editor, and move them on Gutenberg.
* Configure editorial instructions per site (tone, structure, length), sent automatically to your AI at the start of every session
* Simulate a publication before sending it: wp2ai checks the site policies, analyses the content and the post state, without publishing anything, and returns a precise result with a suggested fix
* Spot internal linking opportunities and broken links directly in the conversation with your AI
* Enable human validation: every action waits for your approval before being applied, with one-click undo
* Track the health score of each article across up to 4 categories: structure, completeness, quality and SEO
* Set protection rules per site: draft-only publishing, daily action limits, deletion blocking
* Work as a team across multiple sites, with rights per user and per site

= What the plugin does =

* Connects your site to wp2ai in one click, no API key to copy or store
* Your AI reads your content and proposes real edits, using the same block structure your editor already uses
* Every edit becomes a WordPress revision that you approve, adjust or cancel before publication: nothing goes live without your consent
* A complete history of every action, so you always know what changed and can revert it in one click

= Service relationship =

wp2ai is a hosted service, an account is required. The plugin on its own does not provide any AI functionality: it is the connector between your site and this service through the Model Context Protocol (MCP). See the External services section below for the exact detail of what is sent, and where.

= Freemium and Premium =

Create an account and enjoy a 14 day Pro trial, no credit card required (pre-publish simulation, smart internal linking, full quality score, and more). Once the trial ends, you automatically switch to the Free plan, or move to a paid plan.

= Source code =

The plugin ships as plain PHP with no build step and no minified assets: the code in the distributed ZIP is the complete, human-readable source.

= External services =

This plugin connects to the wp2ai service, operated by webNdev. The connection is not automatic: nothing is sent until an administrator explicitly starts the pairing flow from the plugin page, and everything stops when the site is disconnected.

wp2ai API

The plugin calls the wp2ai API, at https://api.wp2ai.app/functions/v1. It is contacted in these cases:

* When you connect the site. Sends the pairing code and pairing state returned by app.wp2ai.io, your site name, your WordPress version and the plugin version, in order to finalize pairing and obtain connector credentials.
* When a post is created, updated or deleted. Sends the connector identifier, a SHA-256 hash of the connector secret, the post ID and the event type, so the service knows the post needs to be re-read.
* When content is synced. Sends, for each post in scope: post ID, title, slug, excerpt, the post content in both raw and plain-text form, a SHA-256 hash of that content, post status, post type, editor type, detected language, SEO title and description with their source, publication and modification dates, featured image ID and alt text, and structural flags (presence of media, of a call to action, category counts, internal link statuses).
* When the plugin polls for pending work. Sends the connector identifier and secret hash to retrieve the actions the service wants applied, and reports back whether each action succeeded or failed.
* When you disconnect the site. Sends the connector identifier and secret hash so the service can revoke the connection.

No visitor data, no site user accounts and no administrator email addresses are sent.

app.wp2ai.io

Clicking "Connect my site" opens https://app.wp2ai.io in your browser so you can sign in to your wp2ai account and authorize the site. This is a redirect in your own browser, not a server-side call: WordPress sends nothing to app.wp2ai.io by itself. app.wp2ai.io then returns you to the plugin page with the pairing code that the plugin exchanges against the API.

Terms of service: https://wp2ai.io/terms
Privacy policy: https://wp2ai.io/privacy

== Installation ==

1. Install and activate the plugin.
2. Go to the wp2ai menu entry in the WordPress admin.
3. Click "Connect my site". You are sent to app.wp2ai.io to sign in and authorize the site.
4. You are returned to the plugin page and the connection is finalized automatically.

To stop the connection, click Disconnect on the same page. The plugin notifies the service and removes the stored credentials.

== Frequently Asked Questions ==

= Is a wp2ai account required? =

Yes. The plugin is a connector to the hosted wp2ai service, and does nothing on its own without an account.

= Which AI assistants are compatible? =

Any tool that supports the Model Context Protocol (MCP): ChatGPT, Claude, Gemini, Copilot, and any future ones. wp2ai is not tied to any specific assistant, you use the one you already have.

= Are my existing WordPress sites compatible? =

Yes, from WordPress 6.0. The plugin installs in two minutes without modifying your theme or your other plugins. Compatible with Gutenberg, Elementor, Bricks and Classic Editor.

= Can wp2ai edit content that is already published? =

Yes. Your AI locates a specific block on an already published page and edits it without touching the rest. A WordPress revision is created before each edit. You approve before the change is applied.

= Does the plugin send my content to a third party? =

It sends the content and metadata of your posts to the wp2ai service, only after an administrator has explicitly connected the site. The External services section lists every field involved. Nothing is sent before pairing, or after disconnection.

= Can an AI publish to my site without my consent? =

Content proposed through an AI call is sanitized before being stored, and applied actions are recorded so they can be reviewed and undone. You can also enable human validation so that no change goes live without your explicit approval.

= What happens to my data if I uninstall the plugin? =

Uninstalling removes the connector credentials and the plugin options stored on the site. Data already held by the wp2ai service remains managed from your wp2ai account.

== Screenshots ==

1. The plugin settings page before connecting a site.
2. Once connected, with the plugin page confirming the link.

== Changelog ==

= 0.6.132 =
* Initial release.
