# Penci MCP & Abilities

`meteorgpl-plugin/penci-mcp` — a WordPress plugin as a Composer package.

Exposes the Soledad theme and Penci plugins to AI agents through the WordPress Abilities API. Pair with the official MCP Adapter plugin to serve them as MCP tools.

- Author: PenciDesign — https://pencidesign.net/
- Homepage: https://pencidesign.net/
- License: GPL-2.0-or-later (profile: gpl-full)
- Buy a license from the vendor: https://pencidesign.net/
- Latest version: 1.3.0 (2026-10-27)
- Page: https://meteorgpl.com/packages/meteorgpl-plugin/penci-mcp
- Requires WordPress: 6.9
- Tested up to WordPress: 7.1
- Requires PHP: 7.4
- Vendor: PenciDesign — https://meteorgpl.com/vendors/pencidesign.net

## About

Penci MCP registers Soledad and Penci plugin features as WordPress Abilities. The MCP Adapter
(https://github.com/WordPress/mcp-adapter) then serves them over MCP. If the adapter library
is already loaded, for example the copy bundled with Elementor, Penci MCP starts it automatically.
You can turn this off with the `penci_mcp_boot_adapter` filter.

With MCP Adapter 0.5.0 or newer, Penci MCP adds its own server at `/wp-json/mcp/penci`. There each
ability is a separate tool with a typed output schema and read-only/destructive hints, next to the
prompts and resources below. The abilities are also listed on the adapter's default server unless
you turn that off.

Agents act as the WordPress user they authenticate as. Every ability checks that user's capabilities.

= Ability categories =

* penci-theme:
  * get-theme-info
  * get-license-status
  * get-settings / update-settings (allowlisted, type-validated customizer settings; code, CSS and secret settings are never exposed). Updates can be previewed with `dry_run`.
  * list-settings-snapshots / restore-settings (every settings change keeps the previous values, so it can be undone)
  * clear-generated-css
  * list-header-layouts
  * prompts: restyle-colors, performance-checkup
  * resource: settings-sections (`penci://theme/settings-sections`)
* penci-content:
  * reviews (get/update-review)
  * recipes (get/update-recipe)
  * live blog (list/add/update/delete entries, set status; run-liveblog prompt)
  * portfolio (list/create)
  * podcast (list series and episodes, create episode)
  * slider (list/create/update/reorder slides)
* penci-ai:
  * AI titles, excerpt, article and image (opt-in)
  * text-to-speech status / generate (opt-in) / delete
  * smart-crop focus point and regenerate thumbnails
* penci-ops:
  * page cache stats / purge (opt-in)
  * speed optimizer stats / clear (opt-in) / critical CSS (opt-in)
  * RSS feeds list / import (opt-in)
  * paywall stats
  * bookmark & follow stats

Opt-in abilities spend API credit or purge data. They stay off until you enable them under Soledad → MCP & Abilities.

= Prompts and resources =

MCP clients show prompts as ready-made instructions the user picks, for example "Restyle the site
colours" with the palette as its argument. Each prompt walks the agent through the abilities to call,
and asks it to preview changes and wait for confirmation before saving. Resources are reference data
the client can read as context.

= Control and activity =

* Every ability can be switched off on its own under Soledad → MCP & Abilities.
* Each category can be limited to a minimum role (for example "Editors and up"). The ability's own permission check still applies.
* The Activity tab lists every run of an ability that changes or deletes something: who ran it, how (MCP, REST, WP-CLI), the input and the result. Entries are kept for 30 days.
* The Connect tab's "Test the connection" runs the MCP exchange a client makes (start a session, list the tools, call penci/get-theme-info) against the site's server, signed in as you.

## Changelog

### 1.3.0

* New MCP server at `/wp-json/mcp/penci` (STDIO: `--server=penci`), created when the MCP Adapter is 0.5.0 or newer. Every ability is its own tool there, instead of going through the default server's discover/execute tools. A new setting keeps the abilities on the default server too (on by default).
* Every ability declares an output schema, so MCP clients get typed, structured results.
* New prompts: `penci/restyle-colors`, `penci/performance-checkup` and `penci/run-liveblog`. New resource `penci/settings-sections` (`penci://theme/settings-sections`).
* The Connect tab shows the MCP Adapter version and warns when it is older than 0.5.0. New "Test the connection" check (REST `POST soledad/v1/mcp/test`).
* `penci/get-theme-info` also returns the adapter version and the Penci server endpoint.
* `penci/list-podcast-series` returns a null link, not an error object, for a series whose link cannot be built.

### 1.2.0

* New Activity tab: every run of a write or destructive ability is logged with the user, how it was called (MCP, REST, WP-CLI), its input and its result, including failures. Entries are kept for 30 days (custom table `{prefix}penci_mcp_log`).
* `penci/update-settings` accepts `dry_run` to preview changes, and returns each change as from/to. Every save keeps the previous values as a snapshot.
* New abilities `penci/list-settings-snapshots` and `penci/restore-settings` undo a settings change. A restore is snapshotted too.
* Every ability can be switched off on its own, not only opt-ins.
* Each ability category can be limited to a minimum role.
* The hourly rate limit for costly abilities now resets an hour after the first call; before, steady use kept extending it. New `penci_mcp_ai_daily_limit` filter for a site-wide daily cap.
* Deactivating the plugin clears its scheduled events; deleting it also removes the activity log table and settings snapshots.

### 1.1.1

* `penci/get-cache-stats`: "cached" now reports whether visitors get a cached copy (desktop and mobile). Before, it checked the agent's own logged-in cache, which was almost always empty.
* `penci/purge-page-cache`: works for URLs whose scheme (http/https) differs from the site URL, and reports errors.
* `penci/run-feed-import`: "schedule" mode now imports the given feed (or all feeds) even when its update interval has not elapsed. Before, it only re-queued the regular check.
* `penci/list-feeds`: counts imported posts with one query.
* `penci/generate-tts-audio`: reports an error when the provider call fails, even if an older audio file exists.

### 1.1.0

* With Soledad 8.7.8+, the settings page is part of the Soledad admin (Soledad → MCP & Abilities): switches save instantly, abilities can be searched and filtered, and a Connect tab walks through the client setup. Older themes keep the plugin's own page.
* New REST routes `soledad/v1/mcp` (GET, POST) for that page. The page's script and styles ship with the plugin (`build/`, built from `src/` with `npm run build`); the theme only provides the admin shell and shared components.
* List abilities (portfolio, podcast episodes, slides) only include drafts and private items for users who can edit others' posts.
* `penci/update-liveblog-entry` keeps the entry title when only the content is sent.
* The settings allowlist cache is rebuilt after Customizer saves, theme switches/updates and header builder changes.
* `update-settings`, `update-review`, `ai-generate-excerpt` and `regenerate-smart-thumbnails` are annotated as destructive, since they overwrite data.
* The WP-CLI command shown on the settings page quotes logins that contain spaces.

### 1.0.0

* Initial release.

Full changelog: https://meteorgpl.com/packages/meteorgpl-plugin/penci-mcp/changelog

## Install

```sh
composer config repositories.meteorgpl composer https://composer.meteorgpl.com
composer require meteorgpl-plugin/penci-mcp
```

The repository needs a token (see https://meteorgpl.com/docs). The vendor's license checks are intact: activate the plugin in WordPress with a key bought from the vendor.

## Versions

| Version | Released | Size | SHA-256 | Status |
| --- | --- | --- | --- | --- |
| 1.3.0 | 2026-10-27 | 94.3 KB | c4d6fe2bfa976b61eff1a018153a33b6d6d7bfba4c879f72a4e92ed72af3c919 | verified |

