=== NIBWP ===
Contributors: nibwp
Tags: ai, mcp, claude, automation, chatgpt
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 8.0
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

NIBWP turns your WordPress site into a Model Context Protocol (MCP) server so AI agents like Claude Code and ChatGPT can read and edit content through a standard, permissioned interface.

== Description ==

NIBWP exposes a curated set of WordPress abilities (read posts, search content, manage media, run a key-value memory, query options) as MCP tools. Connect any MCP-compatible AI client and let it work with your site through a single signed endpoint — no copy-pasting, no scraping.

= What you get =

* **MCP server endpoint** bundled with the WP MCP Adapter — exposes WordPress abilities to any compliant AI client.
* **Read abilities** for posts, terms, users, media, options, search, and the Abilities Discovery handshake.
* **List Directory + Read File** under a configurable allow-list so agents can inspect your themes/plugins (read-only).
* **Memory store** — namespaced key/value storage for cross-session agent memory.
* **WooCommerce read access** when WooCommerce is detected.
* **Dashboard, Connect, Settings, How-To, and Audit Log** admin screens — every tool call is logged.

= Designed for development and staging =

NIBWP is intentionally scoped for development, staging, and authorized power users. Activate it on production only after reviewing the Audit Log behavior and the Abilities → Domain lock setting.

= Privacy =

NIBWP does not transmit your site content to nibwp.com or any third party. The MCP endpoint is served from your own WordPress installation. Connections require a user with the `manage_options` capability and a per-site domain lock. The Audit Log stores every tool call locally in your WordPress database.

== Installation ==

1. Install the plugin through the WordPress.org plugin directory, or upload the `nibwp` folder to `/wp-content/plugins/`.
2. Activate the plugin.
3. Open **NIBWP → Connect** and follow the on-screen instructions to register the MCP endpoint with your AI client.

== Frequently Asked Questions ==

= What is MCP? =

The Model Context Protocol is an open standard from Anthropic that lets AI agents call structured "tools" over a transport layer. NIBWP implements an MCP server tailored to WordPress data and operations.

= Which clients can connect? =

Any MCP-compatible client — Claude Code, the Claude desktop app, ChatGPT custom GPTs that support MCP, etc. NIBWP follows the public MCP schema.

= Do I need a key or account? =

No. NIBWP runs entirely inside your WordPress install. There is no SaaS dependency for the Free plugin.

= Does it work on multisite? =

Yes — activate per-site. Each subsite gets its own endpoint.

== Screenshots ==

1. Dashboard overview.
2. Connect page with copy-paste MCP endpoint setup.
3. Integrations grid — toggle which abilities are exposed.
4. Audit log — every tool call recorded with arguments + result summary.

== Changelog ==

= 1.0.0 =
* First public release.
* MCP Adapter bundled (no separate plugin required).
* New: Multi-root skills registry — allows companion plugins to register skill packs.
* New: Audit log table with per-call drill-down.
* New: Dashboard, Connect, Settings, How-To, Integrations admin shells.
* Improved: dark-mode polish across every admin screen.
* Improved: read-file / list-directory now enforce a configurable base path.

== Upgrade Notice ==

= 1.0.0 =
First public release.
