=== Easy Connect MCP — AI for WordPress and Google ===
Contributors: easysoftapp
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 7.1
Stable tag: 2.4.0
License: GPL-2.0-or-later

Connect Claude (or any MCP client) to your WordPress site and to Google, with permissions you choose, each explained in plain language.

== Description ==

Easy Connect MCP turns your WordPress site into an MCP (Model Context Protocol) server. The AI assistant can read and work on the site only within the permissions you grant.

= Simple connection =
* In Claude.ai, add a connector with your site address (/wp-json/esys-connect/v1/mcp).
* The "Authorize application" page opens. Choose the permissions, each with an explanation and its risks, and confirm that you accept responsibility for the risky ones.
* Tokens are created and renewed automatically (OAuth 2.1 with PKCE). Connections can be narrowed or revoked at any time.
* Alternative: manual tokens for Claude Code, Claude Desktop and other clients.

= Free =
* Pages, posts and any content type: read, drafts, publishing.
* Media, menus and the main site settings.
* Rank Math and Yoast SEO fields.
* View plugins and themes.
* Google Search Console and Analytics 4 (read-only), through your Google account.
* Cloudflare: read zones, settings, DNS, firewall and traffic statistics, and purge the cache.
* Activity log, and switching off any single function.

= Premium =
* Google Ads: performance, search terms, budgets, campaign status, keywords. Includes simulation mode, a budget cap and a maximum change percentage.
* Google Tag Manager: tags, triggers, variables, versions and publishing. Custom HTML code has a separate permission.
* Search Console: submit and delete sitemaps.
* Plugins and themes: activate, install from WordPress.org, update, delete, switch theme, with a list of protected plugins.
* Cloudflare: speed and cache settings, Development Mode, SSL/TLS, DNS records (with protected records), security level and "I'm Under Attack" mode, IP and country rules, WAF custom rules, Turnstile widgets.

Premium features are visible in the free version too, marked PRO and locked until the license is activated.

= Security =
* Secrets (Google, license) are encrypted with AES-256-GCM.
* Tokens are stored only as hashes.
* Content received from the AI is filtered (no script, iframe or style).
* Critical site settings cannot be changed by the AI.
* Every call is logged, including refused ones.

= Languages =
English (default) and Romanian. The plugin follows the language set in WordPress; for languages without a translation it shows English.

== Installation ==

1. Upload the archive in Plugins → Add New → Upload Plugin and activate it.
2. If you used MPS Connect, the Google setup and permissions are imported automatically. You can then deactivate MPS Connect.
3. In Claude.ai: Settings → Connectors → Add custom connector, with the address shown in Easy Connect MCP → AI connection.

== Credits ==

Bundled fonts: Bricolage Grotesque and Instrument Sans (SIL Open Font License 1.1).

== Changelog ==

= 2.4.0 =
* New Cloudflare integration: connect with an API token (one click opens Cloudflare with the permissions pre-filled), choose the zone and whether the AI may work only on it or on all zones.
* The AI can read Cloudflare zones, settings, DNS, firewall and traffic statistics and purge the cache (free), and with Premium change speed and SSL settings, DNS records, security and firewall rules and Turnstile widgets.
* DNS protection: the site address, www, email (MX) and name servers (NS) cannot be changed or deleted by the AI.
* Optional Global API Key connection, hidden under "Alternative", with a clear warning.
* The license and update server moved to license.easysoftapp.eu (the old address keeps working).

= 2.3.2 =
* Tidier connection security settings: the request limit and the log retention are shown as two aligned boxes, each with its unit and explanation.

= 2.3.1 =
* Fixed a broken image in front of the status icons (for example after "Test connections"): the plugin now uses built-in WordPress icons instead of emoji loaded from an external server.

= 2.3.0 =
* The plugin is now in English by default, with a full Romanian translation. It follows the WordPress language; languages without a translation fall back to English.
* Descriptions of the AI functions are in English for every site, so any AI assistant understands them precisely.

= 2.2.6 =
* New versions appear on the Dashboard within 30 minutes, and the plugin checks again right after every update.

= 2.2.5 =
* Test release: the update appears on the Dashboard and installs with one click.

= 2.2.4 =
* Updates show up faster: "Check again" in Dashboard → Updates finds the latest version immediately.

= 2.2.3 =
* Test release for in-dashboard updates.

= 2.2.2 =
* Test release for in-dashboard updates (no functional changes).

= 2.2.1 =
* When a new version is available you see a notice on the Dashboard and other admin pages, with "Update now" and "What's new" buttons.
* A badge on the Easy Connect MCP menu when an update is available.

= 2.2.0 =
* Updates straight from WordPress: notice in Plugins and Dashboard → Updates, "Update now" button, version details and automatic updates.

= 2.1.2 =
* A single navigation row in the header: AI connection, Permissions, Google account, Activity log, License, then About the plugin, Support and the Premium badge.
* CSS classes use their own prefix (ecm-), so other plugins can no longer break the layout.

= 2.1.1 =
* New EasySoftApp design: easysoftapp.eu colours, fonts and logo, including on the "Authorize application" page.
* Pages use the full screen width and rearrange into 1, 2 or 3 columns depending on the screen size.
* Links to your EasySoftApp account: my licenses, plans, support.

= 2.1.0 =
* The plugin is now called Easy Connect MCP.
* Quick Google connection: one click, no Google Cloud project needed. Your own project is still available under "Advanced".
* After connecting, pick the Search Console property, GA4 property, Tag Manager container and Google Ads account from lists, including accounts under a manager (MCC). Obvious accounts are selected automatically.
* Google Ads no longer uses a developer token (retired by Google in September 2026). Access depends on the Google Cloud project.

= 2.0.1 =
* Premium licenses are checked at license.esysagency.ro; purchases are made on easysoftapp.eu.

= 2.0.0 =
* Free and Premium versions, with a license.
* Redesigned authorization page, per-connection permission editing, switching off single functions, automatic import from MPS Connect.
