=== Escape AI Connector ===
Contributors: escapeai, kiranms1996
Tags: ai, mcp, content management, automation, model context protocol
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 8.0
Stable tag: 1.0.3
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Connect your WordPress site to Escape AI so it can manage posts, pages, custom content, and taxonomies through natural-language prompts.

== Description ==

Escape AI Connector turns your WordPress site into an MCP (Model Context Protocol) server that Escape AI — in your IDE, desktop app, or chat — can connect to directly, so it can create and edit posts, pages, custom content, and taxonomies from natural-language prompts instead of you clicking through wp-admin.

Nothing happens automatically: every action goes through the exact permissions you set on the Permissions tab, and every change is recorded in a real, reviewable Activity Log.

**Free plan**: Posts and Pages, Create and Edit only, 7-day activity history, 1 connected MCP client at a time.

**Premium**: all public content types (custom post types, media, taxonomies), Create/Edit/Delete/Publish, unlimited history with CSV export, and multiple simultaneous client connections.

= How it works =

1. Install and activate the plugin.
2. Go to Escape AI → Connection and generate a pairing key.
3. In Escape AI (VS Code, desktop app, or the WordPress quick-connect card), paste your site's MCP URL and the pairing key.
4. Set exactly what Escape AI is allowed to touch on the Permissions tab.
5. Ask Escape AI to make a content change — it shows up in your Activity Log.

== Installation ==

1. Upload the plugin files to `/wp-content/plugins/escape-ai-connector`, or install directly through the WordPress plugins screen.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Go to Escape AI → Connection in your admin sidebar to generate a pairing key and connect your first Escape AI client.

== Frequently Asked Questions ==

= Does this plugin make changes automatically without me asking? =

No. Escape AI only acts when a connected client sends it an instruction, and only within whatever you've enabled on the Permissions tab.

= Where can I see what Escape AI has changed? =

The Activity Log tab shows every change: what, when, and which connected client made it.

= What happens if I don't upgrade to Premium? =

The plugin keeps working on Posts and Pages with Create/Edit permissions — you're never locked out, just limited to the Free tier's scope described above.

== Screenshots ==

1. Connection — pair any MCP-compatible client (Escape AI, Claude, Codex, Cursor) to your site with one key.
2. Dashboard — connection status, weekly change volume, and recent activity at a glance.
3. Permissions — control exactly what Escape AI can touch, per content type, down to the individual action.
4. Permissions (continued) — taxonomies and other content types, each with its own action-level controls.
5. Activity Log — a complete, filterable, reviewable record of every change made through the connection.
6. Plan & Billing — compare Free and Premium, with license activation right on this screen.

== External services ==

This plugin connects to Escape AI's own license API (api.escape-ai.org) to activate/deactivate a Premium license key and to fetch current Premium pricing for the Upgrade screen.

It sends your license key and site URL (home_url()) each time you activate or deactivate a license on the Upgrade screen, and sends no data at all for the pricing lookup (a plain GET). No content, post data, or visitor data is ever sent by this plugin to this or any other external service — the actual content operations (creating/editing posts, etc.) happen entirely on your own WordPress site, triggered locally by whichever Escape AI client (IDE, desktop app, or chat) you've connected.

This service is provided by Escape AI. Terms of Service: https://escape-ai.org/terms — Privacy Policy: https://escape-ai.org/privacy

== Changelog ==

= 1.0.1 =
* Documented external service usage (Escape AI's license API) with Terms of Service and Privacy Policy links.
* No built-in feature is restricted behind a license check — Custom Post Types, taxonomies, Delete/Publish, CSV export, unlimited activity-log history, and multiple simultaneous connections are coming soon for everyone.

= 1.0.0 =
* Initial release: MCP server, pairing/connection flow, per-content-type permissions with server-side tier enforcement, activity log, and license activation against a real backend with single-site binding.

== Upgrade Notice ==

= 1.0.1 =
Documentation and compliance update — no action needed.

= 1.0.0 =
Initial release.
