AI Workflow Automation – AI Agent Hub
AI Workflow Automation – AI Agent Hub
Description
AI Agent Hub is the most complete AI integration plugin for WordPress. It provides 80+ abilities across 10 modules, a built-in MCP (Model Context Protocol) server for AI agent connectivity, AI experiments directly in the Gutenberg block editor, role-based access control, JWT authentication, a workflow builder, and full WooCommerce support.
Highlights
- 80+ registered abilities covering posts, pages, media, users, custom post types, REST API discovery, site diagnostics, WordPress settings, WooCommerce, and AI-powered content analysis.
- 10 independently toggleable modules – enable only what you need.
- AI Experiments in the Block Editor – Generate excerpts, feature images, and more directly from the post editor with multi-provider AI support.
- Built-in MCP server – expose abilities as tools, resources, and prompts to AI agents over JSON-RPC 2.0.
- External Abilities – automatically discovers and integrates abilities from WordPress core and third-party plugins via the Abilities API.
- JWT authentication – secure MCP and REST API access with token-based auth.
- Workflow builder – combine abilities into reusable workflows from the admin dashboard or the post editor meta box.
- Multi-provider AI – connect OpenAI, Google Gemini, or Anthropic Claude via the WordPress AI Client.
- Role-based access control – assign abilities per WordPress role so each MCP connection only exposes what that user is allowed to use.
- Backward compatible – bundles the WordPress Abilities API and MCP Adapter as vendor dependencies, so it works on WordPress 6.8+ (not just 6.9+ where these APIs ship in core).
AI Agent Hub Pro
Unlock the full power of AI Agent Hub with AI Agent Hub Pro:
- Unlimited Workflows – Create unlimited MCP workflows (free: 3 max).
- T/R/P Access Modes – Granular per-ability Tool/Resource/Prompt toggles for fine-grained MCP control.
- Advanced AI Experiments – Templates library, batch generation mode, explain AI reasoning, generation history, and keyboard shortcuts.
- Workflow Prompt Builders – 6 pre-built prompt builder workflows (SEO Audit, Content Brief, Site Overview, and more).
- External Abilities – Discover and expose third-party plugin abilities via the Abilities API.
- Per-Ability RBAC – Assign individual abilities (not just modules) to each WordPress role.
- Priority Support – Direct support from the development team.
Modules
Each module can be independently enabled or disabled from the AI Agent Hub dashboard.
1. AI Content Steward (8 abilities)
AI-powered content analysis, generation, and improvement for posts and pages.
awfah-content/analyze-post– Summarize a post with readability and improvement suggestions.awfah-content/generate-feature-image– Generate an AI feature image and set it as the post’s featured image.awfah-content/generate-excerpt– Create a concise, SEO-friendly excerpt.awfah-content/focus-keywords– Extract relevant focus keywords for SEO targeting.awfah-content/lsi-keywords– Generate related LSI keyword ideas.awfah-content/suggest-titles– Generate alternative title ideas.awfah-content/summarize– Generate a content summary for a post.awfah-content/generate-alt-text– Generate accessible alt text for images using vision AI.
2. Posts Manager (13 abilities)
Full CRUD for WordPress posts, categories, and tags.
awfah-posts/wp-posts-search– Search and filter posts with pagination.awfah-posts/wp-get-post– Get a post by ID.awfah-posts/wp-add-post– Create a new post.awfah-posts/wp-update-post– Update an existing post.awfah-posts/wp-delete-post– Delete a post.awfah-posts/wp-list-categories– List all post categories.awfah-posts/wp-add-category– Add a new category.awfah-posts/wp-update-category– Update a category.awfah-posts/wp-delete-category– Delete a category.awfah-posts/wp-list-tags– List all post tags.awfah-posts/wp-add-tag– Add a new tag.awfah-posts/wp-update-tag– Update a tag.awfah-posts/wp-delete-tag– Delete a tag.
3. Pages Manager (5 abilities)
CRUD operations for WordPress pages.
awfah-pages/wp-pages-search– Search and filter pages with pagination.awfah-pages/wp-get-page– Get a page by ID.awfah-pages/wp-add-page– Create a new page.awfah-pages/wp-update-page– Update an existing page.awfah-pages/wp-delete-page– Delete a page.
4. Media Manager (7 abilities)
Upload, update, and manage media files.
awfah-media/wp-media-search– Search and filter media with pagination.awfah-media/wp-get-media– Get a media item by ID.awfah-media/wp-upload-media– Upload a new media file (base64 or URL).awfah-media/wp-update-media– Update media metadata (title, alt text, caption).awfah-media/wp-delete-media– Delete a media item.awfah-media/wp-get-media-sizes– Get all available image sizes for a media item.awfah-media/wp-get-media-file– Get the actual file content of a media item.
5. Users Manager (7 abilities)
Search, create, and manage WordPress users.
awfah-users/wp-users-search– Search and filter users.awfah-users/wp-get-user– Get a user by ID.awfah-users/wp-create-user– Create a new user.awfah-users/wp-update-user– Update a user.awfah-users/wp-delete-user– Delete a user.awfah-users/wp-get-current-user– Get the currently authenticated user.awfah-users/wp-list-roles– List all available user roles.
6. Custom Post Types Manager (6 abilities)
CRUD operations for any registered custom post type.
awfah-cpt/wp-list-post-types– List all registered post types.awfah-cpt/wp-cpt-search– Search items of a specific post type.awfah-cpt/wp-cpt-get– Get a single CPT item by ID.awfah-cpt/wp-cpt-add– Create a new CPT item.awfah-cpt/wp-cpt-update– Update a CPT item.awfah-cpt/wp-cpt-delete– Delete a CPT item.
7. REST API Tools (3 abilities)
Discover and execute any WordPress REST API endpoint dynamically.
awfah-rest-api/list-api-functions– List all available REST API endpoints that support CRUD.awfah-rest-api/get-function-details– Get detailed metadata for a specific endpoint and method.awfah-rest-api/run-api-function– Execute any REST API endpoint with provided parameters.
8. Site Info & Diagnostics (4 abilities)
View site info, plugins, themes, and users at a glance.
awfah-site/get-site-info– Detailed info about the WordPress site (name, URL, version, plugins, themes, users).awfah-site/get-plugin-info– Info about active plugins.awfah-site/get-theme-info– Info about the active theme.awfah-site/get-user-info– Info about the current authenticated user.
9. Settings Manager (3 abilities)
View and update WordPress site settings.
awfah-settings/wp-get-settings– Get WordPress general site settings.awfah-settings/wp-update-settings– Update general settings (title, tagline, timezone, etc.).awfah-settings/get-site-settings– Get all settings including reading, discussion, media, permalinks, and privacy.
10. AI Store Manager – WooCommerce (24 abilities)
Full WooCommerce management through AI. Requires WooCommerce to be active.
- Products: search, get, add, update, delete.
- Product categories: list, add, update, delete.
- Product tags: list, add, update, delete.
- Product brands: list, add, update, delete.
- Orders: search.
- Reports: coupons totals, customers totals, orders totals, products totals, reviews totals, sales.
Coming Soon
- AI Support Desk – Summarize comment threads, suggest reply drafts, categorize support requests.
- AI Automation Recipes / Workflows – Rule-based AI automations triggered by WordPress events.
AI Experiments in the Block Editor
AI Agent Hub adds AI-powered experiment panels directly into the WordPress block editor:
- Excerpt Generation – Generate SEO-friendly excerpts from post content with one click. Appears in the post sidebar excerpt panel.
- Image Generation – Generate AI feature images from post content. Integrated into the Featured Image panel.
With AI Agent Hub Pro, experiments gain advanced features: prompt templates library, batch generation mode, “Explain This Generation” reasoning, generation history, and keyboard shortcuts.
Connecting AI Agents via MCP
AI Agent Hub includes a built-in MCP (Model Context Protocol) server that lets external AI agents interact with your WordPress site. The MCP endpoint is:
https://your-site.com/wp-json/awfah_mcp/mcp
Any MCP-compatible AI client can connect and use all enabled abilities as tools, resources, and prompts.
AI Agent Hub Dashboard
The plugin adds a top-level “AI Agent Hub” menu in WordPress admin with:
- Connected AI Agents – shows which AI providers are available (Auto, OpenAI, Gemini, Claude) and their status.
- Modules & Features – 10 module cards with independent on/off toggles.
- Workflow Builder – search abilities, drag them into a workflow, preview the prompt, and save.
- Access Control – assign abilities and workflows per WordPress role.
- Documentation – built-in getting started guide with Pro features overview.
- Contact Support – direct link to support.
Post Editor Meta Box
On every post and page edit screen, the AI Content Steward meta box provides:
- Provider selection (Auto, OpenAI, Gemini, Claude).
- Ability checkboxes to select which analyses to run.
- Editable prompt preview that updates as you select abilities.
- One-click workflow execution.
- Save workflows for reuse.
Connecting AI Agents
Claude Desktop
Claude Desktop supports MCP servers natively. To connect it to your WordPress site:
Step 1: Generate a JWT token
Send a POST request to your site to get a JWT token:
curl -X POST "https://your-site.com/wp-json/jwt-auth/v1/token" -H "Content-Type: application/json" -d "{\"username\":\"your-username\",\"password\":\"your-password\",\"expires_in\":2592000}"
This returns a token valid for 30 days (2592000 seconds). Copy the token value from the response.
Step 2: Configure Claude Desktop
Open the Claude Desktop config file:
- Windows:
%APPDATA%\Claude\claude_desktop_config.json - macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
Add this MCP server entry:
{
"mcpServers": {
"wordpress": {
"command": "npx",
"args": [
"-y",
"@anthropic-ai/mcp-wordpress-remote@latest",
"--url",
"https://your-site.com/wp-json/awfah_mcp/mcp"
],
"env": {
"JWT_TOKEN": "paste-your-jwt-token-here"
}
}
}
}
Step 3: Restart Claude Desktop
After saving the config, restart Claude Desktop. All enabled abilities will appear as tools. You can then ask Claude to manage posts, pages, media, users, settings, and WooCommerce from natural language.
Claude Code (CLI)
Claude Code can also connect to MCP servers. Add the server using:
claude mcp add wordpress -- npx -y @anthropic-ai/mcp-wordpress-remote@latest --url https://your-site.com/wp-json/awfah_mcp/mcp
Then set the JWT token as an environment variable before running Claude Code:
export JWT_TOKEN="paste-your-jwt-token-here"
Cursor / Windsurf / Other MCP Clients
Any editor or AI tool that supports MCP can connect. The setup is similar:
- Generate a JWT token (see above).
- Point the MCP client to:
https://your-site.com/wp-json/awfah_mcp/mcp - Use the
@anthropic-ai/mcp-wordpress-remotetransport package, or configure your client’s native MCP settings with the URL and JWT token. - The authentication header format is:
Authorization: Bearer <your-jwt-token>
Postman / API Testing
You can test the MCP endpoint directly using Postman or any HTTP client. The MCP protocol uses JSON-RPC 2.0 over HTTP.
Step 1: Initialize a session
Send a POST request to https://your-site.com/wp-json/awfah_mcp/mcp with:
- Header:
Authorization: Bearer <your-jwt-token> - Header:
Content-Type: application/json - Body:
{
“jsonrpc”: “2.0”,
“id”: 1,
“method”: “initialize”,
“params”: {
“protocolVersion”: “2024-11-05”,
“capabilities”: {},
“clientInfo”: { “name”: “postman”, “version”: “1.0” }
}
}
Copy the Mcp-Session-Id header from the response.
Step 2: Send initialized notification
Send a POST with the session ID header:
- Header:
Mcp-Session-Id: <session-id-from-step-1> - Body:
{
“jsonrpc”: “2.0”,
“method”: “notifications/initialized”
}
Step 3: Call a tool
Now you can call any ability as a tool:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "awfah-site-get-site-info",
"arguments": {}
}
}
Note: In MCP tool names, the / in ability IDs is replaced with -. So awfah-site/get-site-info becomes awfah-site-get-site-info.
JWT Token Management
AI Agent Hub provides three JWT endpoints:
- Generate token:
POST /wp-json/jwt-auth/v1/token– Passusername,password, and optionalexpires_in(seconds, min 3600, max 2592000). - List tokens:
GET /wp-json/jwt-auth/v1/tokens– List all active tokens (requires authentication). - Revoke token:
POST /wp-json/jwt-auth/v1/revoke– Revoke a specific token (requires authentication).
Tokens are signed with HS256 using a per-site secret key stored in the awfah_jwt_secret_key option. Each token includes the user ID, issued-at time, expiration, and a unique JTI.
Role-Based MCP Access
AI Agent Hub provides role-based access control for MCP connections. This means different WordPress users see different abilities depending on their role.
How it works:
- An administrator configures which abilities each WordPress role can access via the Access Control tab in the AI Agent Hub dashboard.
- When an AI client connects via MCP, it authenticates as a specific WordPress user (using JWT or Application Password).
- The plugin checks that user’s role and only exposes the abilities assigned to that role.
- The AI client can only see and execute the allowed abilities — everything else is hidden.
Example scenarios:
- Administrator — Full access to all 80+ abilities including post CRUD, site settings, user management, media, WooCommerce, and content analysis.
- Editor — Content-focused abilities only (e.g. analyze posts, generate excerpts, suggest titles, focus keywords). No access to site settings, user management, or destructive operations.
- Author / Contributor — Can be fully restricted or given a minimal subset of abilities as configured by the site admin.
Setting up role-based access:
- Go to the AI Agent Hub dashboard in WordPress admin.
- Click the Access Control tab.
- Select a role from the dropdown.
- Check or uncheck abilities to grant or revoke access for that role.
- Click Save. Changes take effect immediately for all MCP connections using that role.
Multiple MCP connections:
You can create multiple MCP connections in your AI client config, each authenticating as a different WordPress user. For example:
- A “full-access” connection using an administrator account.
- A “content-only” connection using an editor account.
This lets you switch between permission levels depending on the task at hand.
Application Passwords (Alternative)
If you prefer not to use JWT, you can also authenticate with WordPress Application Passwords (available in WordPress 5.6+):
- Go to Users > Profile > Application Passwords.
- Create a new application password.
- Use Basic Auth with your username and the application password.
However, JWT is recommended for MCP connections as it avoids sending credentials with every request.
Installation
1. Requirements
- WordPress 6.8 or higher (Abilities API and MCP Adapter are bundled as vendor dependencies for backward compatibility with pre-6.9 WordPress).
- PHP 7.4 or higher.
- For AI content analysis: at least one AI provider configured via Settings > AI Credentials.
- For WooCommerce abilities: WooCommerce plugin must be active.
2. Install via WordPress admin (recommended)
- Download the plugin ZIP file.
- Go to Plugins > Add New > Upload Plugin.
- Upload the ZIP and click Install Now.
- Click Activate.
3. Install from source (developers)
- Clone or extract into
wp-content/plugins/ai-workflow-automation-ai-agent-hub. - Install Composer dependencies:
composer install - Install Node dependencies:
npm install - Build JavaScript and CSS:
npm run dev
npx tailwindcss -c tailwind.config.js -i src/tailwind.css -o assets/css/admin.css
Faq
AI Agent Hub supports any provider the WordPress AI Client supports for text generation, including:
- OpenAI (GPT models)
- Google Gemini
- Anthropic Claude
Configure providers under Settings > AI Credentials.
Over 80 abilities across 10 modules: Content Steward (8), Posts (13), Pages (5), Media (7), Users (7), Custom Post Types (6), REST API Tools (3), Site Info (4), Settings (3), and WooCommerce Store Manager (24).
Yes. AI Agent Hub bundles the WordPress Abilities API and MCP Adapter as vendor dependencies. This means it works on WordPress 6.8 and above, even on versions where these APIs are not yet included in WordPress core.
Yes. AI Agent Hub includes a built-in MCP server. See the Connecting AI Agents section above for step-by-step setup.
Yes! AI Agent Hub Pro unlocks unlimited workflows, T/R/P access modes, advanced AI experiments (templates, batch mode, explain, history, shortcuts), workflow prompt builders, external abilities, per-ability RBAC, and priority support.
Yes. The AI Store Manager module only registers its abilities when WooCommerce is active. If WooCommerce is not installed, the module toggle is available but abilities will not load.
Yes. Each module has an independent toggle in the AI Agent Hub dashboard. Disabled modules do not register their abilities or expose them via MCP.
This usually means no AI provider is configured. Go to Settings > AI Credentials and verify at least one provider is set up. Enable WP_DEBUG_LOG and check debug.log for lines beginning with [AI Agent Hub].
Open any post or page in the editor. Look for the “AI Content Steward” meta box in the sidebar or below the editor. You can select abilities, preview the prompt, and run workflows.
Click the “Contact Support” button in the AI Agent Hub dashboard, or visit: https://atlasaidev.com/contact-us/
Reviews
Changelog
1.4.1 (10 Mar 2026)
Maintenance release: Workflow engine redesign with AI-powered parameter resolution and bug fixes.
-
Workflow engine redesign:
- Moved workflow execution from
Content_Steward_Controllerto dedicatedWorkflows_Controllerwith newPOST /awfah/v1/workflows/runendpoint. - Generic ability execution via Abilities API — all 80+ abilities from any module now work in workflows (previously limited to 6 Content Steward abilities).
- Backward-compatible: old
/content/run-workflowendpoint delegates to the new controller.
- Moved workflow execution from
-
AI-powered workflow parameter resolution:
- Three-tier input resolution: explicit per-ability params > AI extraction from prompt > fallback defaults.
- New “Use AI to extract ability parameters from prompt” checkbox in the post meta box.
- AI uses each ability’s
input_schemaas a JSON Schema constraint to extract structured parameters from natural language prompts. - Enables abilities that require specific parameters (e.g.,
namefor add-category) to work directly from workflow prompts.
-
Bug fixes:
- Fixed
post_idtoidmapping for abilities that requireidin their input schema. - Fixed readme.txt short description exceeding WordPress.org 150-character limit.
- Fixed
1.4.0 (07 Mar 2026)
Feature release: Pro plugin support, AI experiments in the block editor, backward compatibility with pre-6.9 WordPress, and MCP handler fixes.
-
Pro plugin support:
- Added Pro plugin detection (
awfah_is_pro_active()) and integration hooks. - Pro upsell banner on dashboard and dismissible admin notice.
- Pro features section in dashboard showing feature status (active/locked).
- Pro URL linked throughout the plugin to AI Agent Hub Pro.
- Added Pro plugin detection (
-
AI Experiments in the block editor:
- Excerpt Generation experiment – generate AI excerpts directly from the post sidebar.
- Image Generation experiment – generate AI feature images from the Featured Image panel.
- Multi-provider support with model selection dropdown.
- Editable prompts with per-post and global prompt saving.
- Pro features: templates library, batch mode, explain reasoning, generation history, keyboard shortcuts.
-
Backward compatibility:
- WordPress Abilities API and MCP Adapter are now bundled as vendor dependencies.
- Plugin works on WordPress 6.8+ (previously required 6.9 where these APIs ship in core).
- Minimum WordPress requirement lowered from 6.9 to 6.4.
-
MCP handler fixes:
- Fixed Resources handler to properly pass input to ability execute callbacks.
- Fixed Prompts handler for correct prompt identifier resolution.
- Added
providers/{provider}/modelsREST endpoint for model selection.
-
Content Steward abilities expanded:
- Added
awfah-content/summarizeability for AI-powered content summarization. - Added
awfah-content/generate-alt-textability for vision-based image alt text generation. - Content Steward module now has 8 abilities (previously 6).
- Added
-
Dashboard improvements:
- Analytics view placeholder for future usage tracking.
- Updated documentation with Pro features section.
- Updated ability counts across all UI surfaces.
1.3.0 (20 Feb 2026)
Feature release: External abilities, role-based workflow assignments, WooCommerce dependency handling, and MCP response fixes.
-
External Abilities module (new):
- Automatically discovers abilities registered by WordPress core and third-party plugins via
wp_get_abilities(). - External abilities appear in the Dashboard, Workflows, Access Control, and MCP server.
- Grouped by source namespace (e.g., “External: core”, “External: mcp-adapter”) in Access Control.
- Toggleable on/off from the Dashboard like any other module.
- Automatically discovers abilities registered by WordPress core and third-party plugins via
-
Role-based workflow assignments:
- Workflows can now be assigned to “All roles” or specific WordPress roles during creation.
- New “Workflows” sub-tab in Access Control for per-role workflow assignment.
- Dual-layer access:
role_workflowssettings override takes precedence, falls back to workflow’s ownassigned_rolesfield. - Workflows endpoint supports
?context=adminfor unfiltered admin access.
-
WooCommerce dependency handling:
- AI Store Manager module is now visible but disabled when WooCommerce is not active.
- Shows “WooCommerce required” badge on Dashboard and Access Control.
- Toast error on toggle attempt when WooCommerce is missing.
- Backend guard prevents enabling the module without WooCommerce.
-
MCP response fix:
- Fixed
structuredContentvalidation error for list endpoints (tags, categories, posts, pages, media, users). - Sequential array responses are now wrapped in
{ "results": [...] }to satisfy MCP protocol requirements. - Applied across all 8 ability files.
- Fixed
-
Documentation:
- Added External Abilities section to the Documentation tab.
- Updated readme with External Abilities feature description.
1.2.1 (18 Feb 2026)
Added: Plugins page added.
1.2.0 (12 Feb 2026)
Major release: 70+ abilities across 9 modules, MCP server, JWT auth, and workflow builder.
-
New modules (7):
- Pages Manager – 5 abilities for WordPress page CRUD.
- Media Manager – 7 abilities for media upload, update, delete, and file retrieval.
- Users Manager – 7 abilities for user CRUD, current user, and role listing.
- Custom Post Types Manager – 6 abilities for any registered custom post type.
- REST API Tools – 3 abilities to discover and execute any REST API endpoint dynamically.
- Site Info & Diagnostics – 4 abilities for site info, plugins, themes, and user info.
- Settings Manager – 3 abilities to view and update all WordPress settings.
-
AI Store Manager (WooCommerce) – now fully functional:
- 25 abilities covering products, categories, tags, brands, orders, and reports.
- Requires WooCommerce to be active (automatic detection).
-
Independent module toggles:
- Each of the 11 modules now has its own on/off toggle in the dashboard.
- Previously all new modules were bundled under the Content Steward toggle.
-
JWT authentication for MCP:
- Generate tokens via
POST /wp-json/jwt-auth/v1/token. - List active tokens via
GET /wp-json/jwt-auth/v1/tokens. - Revoke tokens via
POST /wp-json/jwt-auth/v1/revoke. - HS256 signing with per-site secret key.
- Configurable expiration (1 hour to 30 days).
- Generate tokens via
-
Workflow builder improvements:
- Drag-and-drop abilities into workflows from the admin dashboard.
- Prompt preview now correctly updates when abilities are added or removed.
- Post editor meta box prompt preview also updates correctly with each ability change.
-
Bug fixes:
- Fixed shallow merge of module settings causing new modules to not appear.
- Fixed ability registration timing error on post edit screens.
- Fixed workflow prompt always showing first ability’s text instead of all selected abilities.
1.1.0 (13 Jan 2026)
- Added: Documentation tab in the dashboard.
1.0.0
- Initial public release.
- Added AI Content Steward module (6 abilities).
- Added AI Providers dashboard.
- Added module toggles with “Coming soon” labels for future modules.