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

Exposes WordPress as a Model Context Protocol (MCP) server. Read-only abilities for posts, terms, users, media, options, plus a memory store.

== Description ==

NIBWP WordPress publishes a curated set of read-only WordPress abilities as Model Context Protocol (MCP) tools so any MCP-compatible client can call them through a standard, signed REST endpoint. Use it to let AI clients inspect your site without copy-pasting or scraping.

= What it does =

* Bundles the WordPress MCP adapter and exposes a `wp/v2/` ability listing.
* Registers safe, read-only abilities for posts, terms, users, media, options, comments, menus, search.
* Adds a read-only directory listing + file-reading ability scoped to the WordPress content directory.
* Provides a per-site key/value memory store (saved as a WordPress option) the AI client can use to remember context across calls.

= What it does NOT do =

* It does not transmit content to any external service.
* It does not change site behaviour or content unless you explicitly ask it to through the WordPress core ability set.
* It does not require an account, license key, or subscription.

= Permissions =

Every ability requires a logged-in user with the `manage_options` capability. The permission check is filterable via the `nibwp_permission_callback` filter.

== Installation ==

1. Install through the WordPress.org plugin directory, or upload the `nibwp-wordpress` folder to `/wp-content/plugins/`.
2. Activate.
3. Open **Settings → NIBWP WordPress** to view the REST endpoint and the list of exposed abilities.

== Frequently Asked Questions ==

= What is MCP? =

The Model Context Protocol is an open standard for letting AI clients call structured "tools". This plugin implements an MCP server tailored to WordPress data.

= Which clients can connect? =

Any MCP-compatible client.

= Is there an account or key? =

No. Everything runs inside your WordPress install.

= Does it work on multisite? =

Activate per-site. Each subsite gets its own endpoint.

== Changelog ==

= 1.0.0 =
* First public release.

== Upgrade Notice ==

= 1.0.0 =
First public release.
