Tags: ai, comments, persona, mcp, content
Contributors: hametuha, Takahashi_Fumiki
Tested Up to: 7.0
Stable Tag: nightly
Requires at least: 7.0
Requires PHP: 8.1
License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
AI-powered commenting and content management for WordPress.
Boswell enriches your WordPress blog with AI-powered personas that can comment on posts, manage shared memory, and create content — all through the WordPress Abilities API and MCP (Model Context Protocol).
- AI Personas — Define multiple AI personas with unique writing styles and personalities. Each persona generates comments that match their character.
- Shared Memory — A Markdown-based memory system that personas share, maintaining context across interactions.
- Automated Commenting — Schedule personas to comment on posts via WordPress cron, or trigger comments manually.
- MCP Integration — Expose all capabilities as MCP tools via the WordPress MCP Adapter. Connect Claude Desktop or any MCP client directly to your site.
- Post Management — Create, update, list, and delete posts through MCP tools.
- WP-CLI Support — Manage personas, memory, and comments from the command line.
Boswell registers its capabilities through the WordPress Abilities API (in core since WordPress 6.9). The MCP Adapter plugin exposes these abilities as MCP tools, resources, and prompts.
Claude Desktop ←MCP→ WordPress (MCP Adapter)
├── boswell/comment (tool)
├── boswell/get-context (tool)
├── boswell/get-memory (tool)
├── boswell/add-memory (tool)
├── boswell/create-post (tool)
├── boswell/update-post (tool)
├── boswell/list-posts (tool)
├── boswell/delete-post (tool)
├── boswell/context (resource)
└── boswell/write-for-site (prompt)
Boswell uses the WordPress AI Client (wp_ai_client_prompt()), which has been part of core since WordPress 7.0. You need at least one AI provider plugin installed:
Each provider plugin registers itself with the core AI Client registry on activation — no extra configuration in Boswell is required.
- Download the latest release zip from GitHub Releases.
- Upload the zip file via Plugins > Add New > Upload Plugin in WordPress admin.
- Activate the plugin.
- Install at least one AI provider plugin (e.g. AI Provider for Anthropic) and the MCP Adapter plugin.
- Go to Settings > Boswell to configure personas.
- Set up your AI provider API key (e.g.,
ANTHROPIC_API_KEYconstant or environment variable).
Boswell 1.x bundled the AI Client, AI Provider for Anthropic, and MCP Adapter inside vendor/. From 2.0.0 these are no longer bundled — they must be installed as standalone plugins (the AI Client is now part of WordPress 7.0 core). Before upgrading a site that has 1.x installed, delete the existing wp-content/plugins/boswell/ directory so the old vendor/ packages don't shadow the new core/plugin equivalents and trigger class-redeclaration fatals.
To connect Claude Desktop to your WordPress site, add the MCP server to your Claude Desktop configuration:
{
"mcpServers": {
"boswell": {
"command": "npx",
"args": [
"-y",
"@anthropic-ai/mcp-remote",
"https://your-site.com/wp-json/mcp/mcp-adapter-default-server"
]
}
}
}WordPress 7.0 or later. Boswell relies on the AI Client that shipped with WordPress 7.0 core. (The Abilities API has been part of core since 6.9.)
Yes. Install the AI provider plugins you want (Anthropic, OpenAI, Google) — each one self-registers with the core AI Client. Configure each persona to point at the provider you want to use.
Go to Settings > Boswell in the WordPress admin. Each persona needs an ID, display name, and a persona description that defines their writing style.
Yes. Each persona can have a cron schedule (e.g., daily). Boswell will automatically find eligible posts and generate comments.
See the Wiki for details on adding custom strategies, adjusting query parameters, enriching post context, and blocking comments on specific posts or categories.
Requires WordPress 7.0. Before upgrading from 1.x, delete the existing wp-content/plugins/boswell/ directory so the bundled vendor/ packages don't shadow the standalone AI Provider and MCP Adapter plugins. Install AI Provider for Anthropic and MCP Adapter separately.
- Fix automated commenting silently stopping after a plugin reactivation or upgrade. The deactivation hook clears all scheduled cron events, but reactivation never restored them (only saving a persona did), so the 1.x → 2.0 directory-delete migration left commenting dormant. Schedules are now reconciled on activation and self-heal on every admin request.
- Improve shared-memory quality: the commentary log now stores a concise, AI-generated summary of each comment instead of a truncated snippet. Entries stay informative and no longer collapse into repeated greetings, and multi-paragraph comments can no longer break the memory list.
- Breaking: Requires WordPress 7.0 and PHP 8.1.
- Use the core AI Client (
wp_ai_client_prompt()) introduced in WordPress 7.0 instead of the bundledwp-ai-clientSDK. - No longer bundles
wp-ai-client,ai-provider-for-anthropic, ormcp-adapter— install them as standalone plugins. - Update MCP ability metadata for MCP Adapter v0.5.0 (
uriandannotationsmoved under themcpkey). - Release zip no longer ships
vendor/,composer.json, orcomposer.lock.
- Add strategy-based post selection and comment safety valve.
- Fix deploy workflow: upload zip to existing release.
- Fix deploy clean step failing on non-existent files.
- Add version resolver to release-drafter.
- Add README.md for WordPress readme.txt.
- Add deploy workflow with zip release on tag push.
- Initial release. AI persona management, shared memory, automated commenting via WordPress cron, MCP integration via the WordPress Abilities API, post CRUD tools, and WP-CLI commands.
- AI persona management with admin UI.
- Shared memory system with section-based Markdown storage.
- Automated commenting via WordPress cron.
- MCP integration via WordPress Abilities API.
- Post CRUD tools (create, update, list, delete).
- WP-CLI commands for personas, memory, and comments.