=== TechinSol AI Connect for Claude & Codex ===
Contributors: techinsol
Tags: ai, claude, codex, automation, artificial intelligence
Requires at least: 6.3
Tested up to: 7.0
Requires PHP: 8.1
Stable tag: 1.0.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Connect Claude and Codex to your WordPress site. Manage posts, pages, media, and users using plain English — no coding required.

== Description ==

**WP-MCP** connects AI assistants like **Claude** and **Codex** directly to your WordPress site using the **Model Context Protocol (MCP)** — an open standard for AI tool integration.

Once connected, you can manage your entire site through plain English conversations:

* "Write a blog post about summer gardening and publish it"
* "Show me all my draft posts"
* "List all users with admin access"
* "Run a health check on my site"
* "Show me the last errors in my debug log"

No coding. No page builders. Just talk to your AI assistant.

📖 [Full documentation →](https://tools.techinsol.io/wpmcp/docs/)

= Free Features (21 Tools) =

**Content Management**
* List, read, create, update, and delete posts and pages
* Manage any post type with filters for status, category, and author

**Media**
* Browse your media library
* Set featured images on posts and pages

**Users**
* List all users with roles and details
* View individual user profiles and permissions
* List available roles

**Plugins**
* List all installed plugins with active/inactive status

**Themes**
* List installed themes
* View active theme details

**Site Health**
* Full site audit (PHP version, SSL, plugin conflicts, memory, disk)
* Debug log status and log file inspection

**Connection**
* Works with Claude (via Cowork SSE connector)
* Works with Codex
* Easy Connect wizard — generate Application Passwords in one click
* Built-in connection tester

= Pro Features =

Upgrade to **WP-MCP Pro** for 130+ tools including:

* ✨ **Magic Tools** — Smart post creator, Apply branding, Generate page, Fix SEO, Clean spam, Quick store setup
* 🛒 **WooCommerce** — List, create, and update products
* 🔍 **SEO** — Full Yoast and Rank Math integration with audit
* 🎨 **Theme Editing** — Edit theme.json, generate color palettes, add CSS, create child themes
* ⚡ **Elementor** — Read and write layouts, convert HTML to widgets
* 🔌 **Plugin Development** — Install, activate, scaffold, and write plugins
* 👥 **User Management** — Create, update, delete users and change roles
* 🗄️ **Advanced** — Database inspection, Cron events, REST routes, Transient cache, Site snapshots

[Get WP-MCP Pro →](https://techinsol.io/lab/wp-mcp-pro/)

= Security =

Every request goes through:
* WordPress Application Password authentication
* Rate limiting (configurable)
* Full audit logging
* Danger confirmation for destructive actions

= How It Works =

1. Install and activate WP-MCP
2. Go to **WP-MCP → Dashboard** and generate an Application Password
3. Paste the connection prompt into Claude or Codex
4. Start managing your site in plain English

= Requirements =

* WordPress 6.3+
* PHP 8.1+
* Claude (claude.ai) or Codex

== Installation ==

1. Upload the `wp-mcp` folder to `/wp-content/plugins/`
2. Activate the plugin through **Plugins → Installed Plugins**
3. Go to **WP-MCP** in your admin sidebar
4. Follow the 3-step connection wizard on the dashboard

== Frequently Asked Questions ==

= Does this require any coding? =

No. WP-MCP is designed for non-technical users. Everything is done through plain English prompts in Claude or Codex.

= Is it safe? =

Yes. All requests require authentication via WordPress Application Passwords, are rate-limited, and are fully logged in the audit log. Destructive actions require confirmation.

= Does it work with Claude.ai? =

Yes. WP-MCP works with Claude via the Cowork SSE connector. You can also use it with Claude Code (the CLI tool).

= Does it work with Codex? =

Yes. WP-MCP includes a companion setup for OpenAI Codex.

= What's the difference between Free and Pro? =

The free version includes 21 essential tools for content management, users, media, and site health. Pro adds 100+ tools including Magic Tools, WooCommerce, SEO, Elementor, Theme editing, and advanced features.

= Will this slow down my site? =

No. WP-MCP only activates when an AI client makes a request. It has zero impact on your site's front-end performance.

== Screenshots ==

1. Dashboard with Easy Connect wizard
2. Tools page showing available tools
3. Prompt Library with ready-to-use prompts
4. Audit log showing AI activity

== Changelog ==

= 1.0.2 =
* Added: Connectors page — dedicated setup info and connection status for Claude and Codex
* Added: link to full documentation

= 1.0.1 =
* Security: switched wp_get_option to an explicit allowlist — only known-safe WordPress core options are accessible
* Audit log: removed entry limit, all entries now visible
* Fixed: replaced array_is_list() with PHP 8.0-compatible equivalent
* Fixed: added wp_unslash() to HTTP_AUTHORIZATION and SERVER_SOFTWARE server variables
* Fixed: replaced fopen/fclose with WP_Filesystem in debug log reader
* Fixed: parse_url() replaced with wp_parse_url()
* Fixed: date() replaced with gmdate() throughout admin UI

= 1.0.0 =
* Initial release
* 21 free tools for content, media, users, plugins, themes, and site health
* Easy Connect wizard with one-click Application Password generation
* Prompt Library with 18 ready-to-use prompts
* Full audit logging
* Claude and Codex support

== Upgrade Notice ==

= 1.0.0 =
Initial release.
