NV Digital Open Operator System (NV oOS)
OfficialREADME.md
# NV Digital Open Operator System (NVoOS)
[](https://github.com/nvdigitalsolutions/mcp-ai-wpoos/actions/workflows/phpunit.yml?query=branch%3Aalpha-working)
[](https://codecov.io/gh/nvdigitalsolutions/mcp-ai-wpoos/branch/alpha-working)
[](https://github.com/nvdigitalsolutions/mcp-ai-wpoos/actions/workflows/javascript-tests.yml?query=branch%3Aalpha-working)
[](https://github.com/nvdigitalsolutions/mcp-ai-wpoos/actions/workflows/php-linting.yml?query=branch%3Aalpha-working)
[](https://github.com/nvdigitalsolutions/mcp-ai-wpoos/actions/workflows/security.yml?query=branch%3Aalpha-working)
[](https://www.gnu.org/licenses/gpl-3.0)
[](https://wordpress.org/)
[](https://www.php.net/)
[](https://github.com/nvdigitalsolutions/mcp-ai-wpoos#patent-pending)
[-green)](docs/history/2026/implementations/DOCUMENTATION_REVIEW_SUMMARY.md)
[](https://playground.wordpress.net/?blueprint-url=https://raw.githubusercontent.com/nvdigitalsolutions/mcp-ai-wpoos/alpha-working/blueprints/ollama-demo.json)
**Version:** 1.2.28
**Release Date:** 2026-12-02
**See [§ Release History](#-release-history) for the 12 most recent releases; every older release is in the [Previous Releases table](#-previous-releases). Full detail: [CHANGELOG.md](CHANGELOG.md).**
**🆕 v1.2.28 Highlights:** a **classical ML engine** ships inside Pro (Proposal 176) — eight estimators in `lib/core`, five tools (`ml_train`, `ml_predict`, `ml_evaluate`, `ml_list_models`, `ml_job_status`) fed by WooCommerce, inventory, metric-event and CRM providers, async training on a dedicated `ml.training` RabbitMQ queue, calibrated and explainable predictions, **gated promotion with gate-safe rollback**, and versioned artifacts persisted by both WordPress and Laravel. **Cognition 0.5.0** adds **Capture Studio** (session-folder contract, on-change frames, workstation-side encoding) plus a five-video getting-started series and a release build that finally uses the complete feature union. The **Forge Bridge** gets a real WordPress Playground preview, the **NV oOS Cloud** stack is hardened (webhook routing, opt-in tax, real D1/KV bindings, SaaS Controller 0.4.0), the **PHP 8 REST `floatval` fatal** is fixed, **16 of 19 Dependabot alerts** close, and npm catches up to `alpha.5` for five packages. Tool count moves to ~360 base + ~1,408 Pro (~1,768); addons 34; skills 96.
**MCP Specification:** 2026-07-28 (Stateless Core, Full Compliance)
**Maintained by [NV Digital](https://nvdigitalsolutions.com/wpoos)**
**License:** GPLv3 or later
**Requires:** WordPress 6.0+, PHP 8.1+
**Patent Status:** Patent Pending (Application #19/410,504)
**Documentation:** [Grade A (95/100)](docs/history/2026/implementations/DOCUMENTATION_REVIEW_SUMMARY.md) — 1,617 files across 12 directories, 108 admin screenshots, 100% feature coverage
## 🔍 For Reviewers & Auditors
> **New to this repo? Start here → [`docs/project/FOR_REVIEWERS.md`](docs/project/FOR_REVIEWERS.md)**
>
> That document answers every common question in one place: what the project is, current security posture, what's production vs experimental, PHP version requirements, AI development methodology, compliance status, and scoping advice for a limited-budget review.
>
> **Quick links for reviewers:**
> - [Addon Inventory](docs/project/ADDON_INVENTORY.md) — what each of 33 addons does and its status
> - [Security Posture](docs/operations/security/SECURITY_POSTURE.md) — current state of all 50 audit findings
> - [Compliance Traceability](docs/operations/compliance/TRACEABILITY.md) — every .org rejection reason → commit → verification command
> - [AI-Assisted Development](docs/developer/AI_ASSISTED_DEVELOPMENT.md) — methodology, transparency, and what to scrutinize
> - [Architecture Overview](docs/developer/architecture/ARCHITECTURE.md) — component diagram and data flow
## 📑 Table of Contents
### Getting Started
- [🧩 Overview](#-overview)
- [🎯 Our Mission](#-mission-modernizing-small-to-medium-business-websites)
- [🛡️ Active Security Monitoring](#-active-security-monitoring)
- [⚠️ Warranty & Safe Use](#-warranty--safe-use)
- [🏗 System Architecture](#-system-architecture)
- [🚀 Features](#-features)
- [📦 Installation](#-installation)
- [🌱 Try It on Your PC](#-try-it-on-your-pc)
- [🔌 What You Lose Without Third-Party Plugins](#-what-you-lose-without-third-party-plugins)
- [⚙️ Configuration Checklist](#-configuration-checklist-action-items)
- [📚 Documentation](#-documentation)
### Core Functionality
- [🧠 Memory & Tool Stack Overview](#-memory--tool-stack-overview)
- [🛠 Built-in tools & automations](#-built-in-tools--automations)
- [🗨️ Front-end chat surfaces](#-front-end-chat-surfaces)
- [💬 Frontend Shortcode](#-frontend-shortcode)
### Addons & Extensions
- [🏗 System Architecture (covers addon ecosystem)](#-system-architecture)
### Orchestration & AI Features
- [🏗 System Architecture (covers orchestration, harnessing, MCP servers, memory bridge)](#-system-architecture)
### AI Providers & Integration
- [🧠 Language Model Providers](#-language-model-providers-openai-gemini-anthropic-baseten-deepseek-openrouter-kimi-digitalocean-nvidia-nim-ollama-lm-studio-hugging-face-cloudflare)
- [🧱 ChatKit Integration](#-chatkit-integration)
- [🌐 Crawl4AI Integration](#-crawl4ai-integration)
- [📡 Job Notification System](#-job-notification-system)
- [🧊 Elementor Widgets](#-elementor-widgets)
### Performance & Optimization
- [⚡ Message Bundling](#-message-bundling)
- [🎯 Agentic Loop Token Management](#-agentic-loop-token-management)
- [🔄 Chat Performance Optimizations](#-chat-performance-optimizations)
- [🌐 Mesh Compute Routing](#-mesh-compute-routing)
- [🔗 Federation & Discovery System](#-federation--discovery-system)
### Remote MCP Setup
- [🔒 MCP Server Authentication](#-mcp-server-authentication)
- [🌐 Connecting Remote MCP Clients](#-connecting-remote-mcp-clients)
- [🛰 REST API Endpoints](#-rest-api-endpoints)
- [🌊 SSE Streaming Support](#-sse-streaming-support)
- [📝 MCP JSON-RPC 2.0 Endpoint](#-mcp-json-rpc-20-endpoint)
- [🔑 Assistant API Credentials](#-assistant-api-credentials)
- [🎫 Token Management UI](#-token-management-ui)
### Assistant Management
- [🛠 Assistant Editor Overview](#-assistant-editor-overview)
- [📊 Assistant Storage: CPT vs CCT](#-assistant-storage-cpt-vs-cct)
- [⚡ Assistant Tool Shortcuts](#-assistant-tool-shortcuts)
- [🧠 Agent Skills](#-agent-skills)
- [👔 Professional & Team Layers](#-professional--team-layers)
- [🧵 REST Chat Payloads & Attachments](#-rest-chat-payloads--attachments)
### Development
- [🐳 Local Development with Docker](#-local-development-with-docker)
- [🧑💻 Development Tooling](#-development-tooling)
- [📦 NPM Packages](#-npm-packages)
- [🧪 Testing & QA](#-testing--qa)
- [🧩 Hooks & Filters](#-hooks--filters)
- [🧰 WP-CLI Commands](#-wp-cli-commands)
### Reference
- [🔐 JetEngine Capability Reference](#-jetengine-capability-reference)
- [🛰 JetEngine REST API Reference](#-jetengine-rest-api-reference)
- [🧮 Usage Tracking](#-usage-tracking)
- [🧷 Attachment MIME Controls](#-attachment-mime-controls)
- [🧾 Logging](#-logging)
- [🧾 JetEngine REST Endpoint Report Helper](#-jetengine-rest-endpoint-report-helper)
- [🔌 Optional Tools & Dependencies](#-optional-tools--dependencies)
- [✅ Manual QA Scenarios](#-manual-qa-scenarios)
### Changelog
- [📜 Release History](#-release-history)
- [📋 Previous Releases](#-previous-releases)
### Sponsor & Support
- [❤️ Sponsor & Support](#-sponsor--support)
---
## 🗺 Repository Map
| Directory | Purpose |
|-----------|---------|
| `includes/` | Core plugin classes — admin, assistants, tools, services, REST, security (12 infrastructure classes), providers (18 chat providers), harness, data, markup, measurement, skills, professions, teams, slash-commands, A2A/ACP protocols, federation, elementor, blocks, crawler, integrations |
| `lib/core/` | Framework-agnostic AI orchestration engine (nvoos/core): 32 domain contracts, 21 WordPress adapters, ChatOrchestrator, ProviderRouter, ToolRegistry, SkillRegistry — PHP 8.1+ |
| `addons/` | 34 installable addons (Pro, Chat SPA, Docs Hub, SaaS Controller, Cloud Worker, Cloudways Dashboard, Toolkit Shell, Canvas, Canvas Toolkit, Document Editor, Media Studio, Media Worker, Graphify, Comic Reader, NV oOS Astro Bridge, NV oOS WiFi, NV oOS MCP Tool Pack, Fleet Operator, Algorave, Cornerstone3D, Design System, Embedded, Fantasy Football, LibreChat, Schedule Anything Platform, Schedule Anything SPA, Tenant Router, Page Agent, Checkout API, mcp-wordpress-gateway, ChatGPT Plugin, ChatGPT Gateway Plugin, MCP Gateway, Claude Gateway Plugin) |
| `assets/` | Frontend JS/CSS, images, CSV templates, examples |
| `.agents/skills/` | 96 coding-time agent skills for Zed editor (20 wp-* WordPress plugin development patterns + 36 design-* skills incl. design-figma-to-elementor + 10 astro-* skills (astro-best-practices, astro-create-component, astro-content-collection, astro-add-integration, astro-docs-lookup, astro-migrate, astro-developer, astro-code-review, astro-triage, astro-writing-comments) + mcp-ai-wpoos-plugin operational guide + mcp-ai-wpoos-test-suite repair guide + mcp-ai-wpoos-updates maintenance guide + mcp-ai-wpoos-wporg-submission wp.org readiness guide + mcp-ai-wpoos-ecosystem-port port-loop guide + mcp-ai-wpoos-assistant-portability export/import guide + mcp-ai-wpoos-playground-demos Playground demo blueprint guide + mcp-ai-wpoos-dependabot-loop alert-triage guide + mcp-ai-wpoos-toolkit-audit per-toolkit hardening audit guide + mcp-ai-wpoos-toolkit-creation new-Pro-toolkit creation guide + mcp-ai-wpoos-toolkit-universalisation single-tenant→universal rework guide + mcp-ai-wpoos-toolkit-ingestion open-format data-ingestion playbook + mcp-ai-wpoos-spa-ui SPA UI stack & testing guide + mcp-ai-wpoos-spa-rest-contract console REST contract audit guide + mcp-ai-wpoos-checkout-integration purchase-flow client guide + mcp-ai-wpoos-content-graph-spa Content Graph explorer ↔ SPA port & auth guide + mcp-ai-wpoos-model-foundry corpus-foundry fine-tuning guide + mcp-ai-wpoos-dictation-app companion-app build/engines/verification guide + mcp-ai-wpoos-qb-desktop QuickBooks Desktop MCP ops guide + mcp-ai-schedule-anything-ops Schedule Anything SaaS ops guide + mcp-ai-artcraft-ops ArtCraft MCP operational guide + mcp-ai-wpoos-astro-storefront Astro storefront & bridge ops guide + mcp-ai-wpoos-astro-forge Astro Forge WP→Astro generator guide + mcp-ai-sdk-v2-server-ops MCP SDK v2 dual-era server ops guide + mcp-ai-wpoos-gateway-ops MCP Gateway (mcp.nvoos.pro) ops & registry-submission guide + mcp-ai-wpoos-service-exchange expert-deployment guide + mcp-ai-wpoos-git-ops repo git/PR workflow guide + nvoos-forge-deploy Velocity deploy & mirror-branch ops guide + mcp-ai-wpoos-polyglot-boundary polyglot boundary doctrine guide) |
| `.bmad/` | 6 BMAD workflow agent YAML definitions + team composition config |
| `.context/` | Subsystem context files (10 topics + 5 templates) for agent session loading |
| `plugins/` | Standalone plugins: NVOOS Content Graph, NVOOS Content Graph AI, NVOOS Content Graph AI Platform, NVOOS Forge Bridge (0.3.4) |
| `packages/` | 23 NPM packages under `@nvdigitalsolutions` scope |
| `src/` | TMA (Telegram Mini App) builders + workflow builder source |
| `shared/` | Shared source code across builds |
| `core/` | Standalone "core" distribution (`mcp-ai-wpoos-core.php`) |
| `config/` | Site blueprints |
| `examples/` | Agent and workflow example code |
| `extensions/` | Hermes WebUI dashboard extensions (fleet monitoring/control plane, backup-download, external-app-tab, mcp-tool-shortcuts) |
| `tests/` | PHPUnit test suite |
| `docs/` | Comprehensive documentation (~1,600 files across 12 directories) |
| `bin/` | Development and deployment scripts |
| `docker/` | Docker Compose configuration |
| `languages/` | Translation files (.pot/.po/.mo) |
| `patches/` | Dependency patches |
| `.github/` | CI/CD workflows (~30 pipelines), custom agents, Copilot instructions |
---
## 🧩 Overview
Real-time AI Orchestration Toolkit / Harness for Wordpress - **NV oOS** is a modular AI framework (Object-Oriented System) for WordPress that connects your site's data with 18 language-model providers: OpenAI, Gemini, Anthropic, DeepSeek, OpenRouter, Baseten, Kimi (Moonshot), Z.AI (GLM), DigitalOcean, NVIDIA NIM, Cloudflare Worker AI, Azure, Ollama, LM Studio, Hugging Face, and TypeSafe Jev (decision-only), plus local WebLLM and embedded engines. It allows you to create and manage AI Assistants that can interact with users, access WordPress data, and perform custom tool functions.
### ✨ What's New at a Glance (v1.2.28)
- 🧠 **A classical ML engine ships inside Pro (Proposal 176).** Eight estimators (linear/logistic regression, decision tree, random forest, k-nearest neighbours, SVM, k-means, naive Bayes) train and score in `lib/core`, with versioned, hash-verified artifacts in WordPress and Laravel. **Five tools** — `ml_train`, `ml_predict`, `ml_evaluate`, `ml_list_models`, `ml_job_status` — read from WooCommerce orders/products, inventory, metric events and CRM deals, queue async training on a dedicated `ml.training` RabbitMQ queue, calibrate (Platt/isotonic), explain (native/permutation), and report evaluation v2 with confidence intervals. Promotion is gated (structural/PII/marginal gain + eval history) with **gate-safe rollback**, model cards are PII-redacted, and PSI drift is recorded with alert hooks.
- 🗄 **The ML data pipeline is honest about size.** Artifacts ≤256 KB stay in `post_content`; 256 KB–8 MB spill to `wp_mcp_ai_ml_payloads` with a SHA-256 checksum; >8 MB is refused (`ml_model_too_large`). A tenant-scoped Laravel store refuses to delete a champion, `TrainMlModelJob` runs on the worker, and `ml:models`/`ml:train`/`ml:evaluate`/`ml:promote` close the operator loop. Gated by the Advanced Analytics toolkit, `wp_mcp_ai_ml_enabled` and **PHP 8.2+**; deterministic analytics paths keep working with the engine off.
- 🎙 **Cognition 0.5.0 adds Capture Studio (Proposal 175).** A `capture` module composes the existing mic capture and freeze-frame snippet path around a **session-folder contract** (`session.json` in `nvoos.capture.session/1`, `audio.wav`, `frames/`, optional `frames.jsonl`). **The app records; the workstation encodes** (`bin/assemble-capture-session.mjs`, constant and timeline modes) — no FFmpeg in the app — and **on-change frames are the default**, 5–10× smaller for tutorial material.
- 🎬 **A five-video getting-started series, and the release build that can actually ship it.** Three new capture scripts plus SRT/VTT caption generation land with the video docs; four pipeline bugs were fixed (segment naming before merge, the providers-tab selector, `ffprobe` narration timing, pad-to-narration instead of `-shortest`). `scripts/feature-union.txt` is now the **single feature list** read by CI and `publish-nvoos-dictate.yml` — the previous publish passed **no** `--features`, so 0.4.0 shipped default-feature installers. ONNX Runtime is **statically linked** (the Windows resource map that broke `cargo clippy` is reverted), and the publish job probes the artifact before releasing.
- 🧪 **The Forge Bridge gets a real WordPress Playground preview.** The wp.org Live Preview blueprint installs and activates the published plugin, then an idempotent seed creates posts, `/bridge-console/`, redirects and a configured settings state; a demo-only mu-plugin intercepts the outbound demo URLs so the rebuild webhook and token flow are exercised visibly. **Install ordering is the rule:** the directory's importer appends a missing self-install step *after* every other step, so the preview must install first.
- ☁️ **NV oOS Cloud hardening.** The Stripe webhook is reachable again (the authenticated app now mounts on `/v1/*`, not `/`), `automatic_tax` is opt-in via `STRIPE_AUTOMATIC_TAX` because fresh customers have no address, and **SaaS Controller 0.4.0** resolves real D1/KV bindings, unwraps the multipart worker script before hashing, uses POST for D1, and fails closed (`worker_binding_unresolved`) instead of sending names.
- 🐞 **The PHP 8 REST fatal is fixed.** WordPress calls `sanitize_callback` with three arguments, so a bare `floatval` raised `ArgumentCountError` before the route ran — every affected REST argument and `show_in_rest` meta registration now uses a one-argument closure, with a `rest_do_request` regression test.
- 🛡 **16 of 19 Dependabot alerts closed.** `glob` 14.0.6, `minimatch` ≥11.0.8 and `http-proxy-middleware` ≥4.2.1 <5 across six npm trees; `composer audit` is clean (Symfony http-client/filesystem/validator), Rust `cookie` 0.18.3, and the Pro `tar` override is bounded below 8 because tar 8 breaks `canvas` 2.x.
- 📦 **npm catches up.** Five packages publish `0.1.0-alpha.5` — the three that had been bumped to `alpha.4` but never republished (consumers still got the broken `alpha.3` dists) and the two client/type packages that were listed but never published. The workflow now handles source-only packages and a lockfile-less TypeScript build; the `latest` dist-tag move needs a 2FA `dist-tag add` (OI-11).
- 📈 **Versioning** — **1.2.28**; tool count **~360 base + ~1,408 Pro (~1,768 total — +5 Pro)**; addons **34**; skills **96** (eight updated, none added); model catalog **v2026.11.03** unchanged (251/18).
### 🎯 Mission: Modernizing Small to Medium Business Websites
**NV oOS** is specifically designed to help **small to medium-sized businesses** fast-track their outdated, stale, or insecure company websites to modern technology standards—**without the need to add yet another wrapper around API calls**. Instead, we're trying to **peel back decades of API wrappers with the help of AI**, providing:
- **Direct AI Integration** - No middleware required. Connect directly to OpenAI, Gemini, Anthropic, Hugging Face, Cloudflare Worker AI, Ollama, LM Studio, OpenRouter, and DeepSeek without custom development
- **Security-First Architecture** - Built-in protection against nefarious usage with active monitoring and prevention systems
- **Enterprise-Grade Features** - Access to capabilities typically requiring expensive custom development
- **Compliance & Audit Tools** - Comprehensive logging, rate limiting, and usage tracking built-in
- **Zero Technical Debt** - Modern codebase following WordPress standards, ready for current technology stacks
### 🛡 Active Security Monitoring
**NV oOS actively prevents and monitors against nefarious behavior**. The plugin includes:
- **Nefarious Usage Monitor** - Real-time detection of suspicious patterns and automatic emergency shutdown capabilities【F:includes/class-wp-mcp-ai-nefarious-usage-monitor.php†L1-L676】
- **Root Security Key** - Optional emergency authentication layer to prevent unauthorized reactivation after security incidents【F:docs/features/security/root-security-key.md†L1-L511】
- **Granular Capability Controls** - Every tool and API endpoint enforces WordPress capabilities to prevent unauthorized access
- **Rate Limiting** - Built-in protection against abuse with configurable limits per user, model, and time period
- **Comprehensive Audit Logging** - Track all API calls, tool executions, and security events for compliance and forensic analysis
- **Input Sanitization & Output Escaping** - All user input sanitized, all output escaped following WordPress security best practices
**This is not a tool for circumventing security or promoting bad practices.** Every feature is designed with security, transparency, and responsible AI usage as core principles. The plugin actively works to stop and prevent misuse before it happens.
**Latest audit:** See [`docs/operations/compliance/SECURITY_AUDIT_2026_04.md`](docs/operations/compliance/SECURITY_AUDIT_2026_04.md) — the published summary of the April 2026 security & compliance code review (no Critical findings; 5 High items, 3 Fixed and 2 Partially Fixed). Full deliverables under [`docs/project/audits/2026-04/`](docs/project/audits/2026-04/).
**WordPress.org compliance hardening (May 9, 2026):** [`docs/operations/compliance/WORDPRESS_ORG_COMPLIANCE_2026_05_09.md`](docs/operations/compliance/WORDPRESS_ORG_COMPLIANCE_2026_05_09.md) — findings B3, B8, B10, B13, and production vendor remap all resolved.
### ⚠ Warranty & Safe Use
> **We make every effort to keep NV oOS safe and secure — but by design, it can be destructive and resource-intensive when not properly configured.**
NV oOS grants AI assistants access to powerful WordPress operations. The same capability that automates real work can cause irreversible harm if misconfigured:
- **Destructive tools** — bulk content deletion, user management, file writes, mass email, WP-CLI, direct database operations
- **API billing exposure** — uncapped AI provider calls can exhaust quotas and trigger unexpected charges
- **Server resource exhaustion** — concurrent agentic loops and SSE streams can saturate CPU/memory on shared hosting
**Before going live:** test on staging, take verified backups, apply least-privilege tool permissions, enable rate limiting, and review the system prompt of every public-facing assistant.
📄 **Full details:** [`WARRANTY.md`](WARRANTY.md) — security commitment, "AS IS" disclaimer, destructive-operations table, resource-consumption guide, and mitigation checklist aligned with OWASP, NIST SP 800-53, ISO/IEC 27001, and the WordPress Plugin Developer Handbook.
## Patent Pending
**NV oOS is the subject of a pending patent application** for its novel **System and Method for Dynamic AI Orchestration Layer with Real-Time Capability Gating and Resource Budgeting**.
**Application Number:** 19/410,504
The patent covers NV oOS's innovative approach to implementing sophisticated AI orchestration in WordPress's request-based PHP architecture—a platform not designed for real-time streaming, asynchronous operations, or persistent state management. This technical achievement enables enterprise-grade AI capabilities on WordPress by recreating event-driven behavior within PHP's synchronous execution model.
**Key Innovations Covered:**
- Dynamic resource budget allocation during streaming operations
- Capability-based access control for AI tool execution
- Registry-state-based scheduling in stateless environments
- Metrics-driven budget adjustment for real-time optimization
- Persistent-behavior illusion in request-based architectures
The orchestration layer makes NV oOS unique in the WordPress ecosystem by solving fundamental architectural limitations that prevent traditional WordPress plugins from supporting advanced AI features. See the [System Architecture](#-system-architecture) section below for technical details on how these innovations work together.
## 🏗 System Architecture
NV oOS implements a comprehensive orchestration layer for managing AI operations during real-time streaming events. The system architecture comprises:
- **18 language-model providers** — OpenAI, Gemini, Anthropic, DeepSeek, OpenRouter, Baseten, Kimi (Moonshot), Z.AI (GLM), DigitalOcean, NVIDIA NIM, Cloudflare Worker AI, Azure, Ollama, LM Studio, Hugging Face, TypeSafe Jev (decision-only), plus local WebLLM + embedded engines
- **~1,768 tool classes** (~360 base + ~1,408 Pro; live count via `WP_MCP_AI_Tool_Registry::get_tools()` is authoritative) registered through a singleton Tool Registry
- **36 REST controllers** (16 base + 20 pro) under the `mcp-ai/v1` namespace
- **64 service classes** powering orchestration, budgets, and workflows
- **5 authentication methods** — WordPress nonce, assistant credentials, mesh keys, Auth0 JWT, guest tokens
- **Toolkit MCP servers** — per-toolkit JSON-RPC 2.0 servers exposed under `/wp-json/mcp-ai-pro/v1/mcp/{slug}`; discoverable at `/.well-known/mcp`
- **8 inline-async-tick consumers** — cooperative tick-lock pattern eliminates WP-Cron startup latency for background jobs (transcript mining, async tool executor, SaaS Apply, Crawl4AI, Docs Hub rebuild, Graphify reindex, Harness eval, Gemini Veo polling)
- **7 LLM Harness layers (+ 1 Pro)** — opt-in epistemic layers A–H activated per-assistant via the **LLM Harness** metabox
- **Orchestration Phases 1–7** — HITL approval queue, prompt-injection detector, structured output, OTel exporter, DAG builder, durable runs, triggers/webhooks, sub-agents
> **📖 For a detailed explanation of how NV oOS extends standard SSE and MCP protocols with novel orchestration features, see [ORCHESTRATION-LAYER-ARCHITECTURE.md](docs/developer/architecture/orchestration/ORCHESTRATION-LAYER-ARCHITECTURE.md)**
### Core Orchestration Layer: Overcoming PHP's Limitations
**Critical Context:** Most real-time AI streaming systems are built with Node.js, Python FastAPI, or Go — platforms designed for asynchronous, event-driven operations. These platforms natively support:
- Long-lived connections and persistent state
- Non-blocking I/O and parallel execution
- Event loops and asynchronous callbacks
- WebSocket protocols and SSE streaming
**NV oOS achieves the same capabilities in PHP/WordPress** — an environment fundamentally not designed for these patterns — through a sophisticated **orchestration layer** that creates a "persistent-behavior illusion":
1. **Real-Time Budget Enforcement** - Monitors token/memory usage during streaming, prevents exhaustion through predictive allocation
2. **Capability-Based Tool Gating** - WordPress role-based access control for AI tool execution
3. **Predictive Optimization** - Analyzes usage patterns to prevent resource overruns before they occur
4. **Distributed Orchestration** - Multi-provider support with policy-aware routing
5. **Auditability & Compliance** - Complete governance layer with logging and rate limiting
6. **Cron-Based Task Orchestration** - Extends orchestration to async operations with budget inheritance
### Multi-Agent Orchestration Enhancement (DeepSeek V4-Inspired)
**Added:** January 2026 (v1.1.0)
Building upon the core orchestration layer, NV oOS now includes a **sophisticated multi-agent coordination framework** inspired by DeepSeek V4's orchestration patterns:
**Key Components:**
- **Agent Role System** - Four specialized roles (Planner, Executor, Critic, Specialist) with role-specific capabilities
- **Team Composition** - Automated team assembly based on task requirements and profession expertise
- **Coordinated Workflows** - Multi-step workflows with agent delegation, result aggregation, and validation
- **Team CPT Integration** - Persistent team configurations with orchestration modes (single/sequential/parallel/swarm)
- **Profession-Based Discovery** - 296 professions auto-assigned agent roles via intelligent seeding across 17 knowledge bases
**Example Multi-Agent Workflow:**
```php
// 1. Compose research team (planner + executors + critic)
$orchestrator = new WP_MCP_AI_Agent_Team_Orchestrator();
$team = $orchestrator->compose_team( array( 'task_type' => 'research' ) );
// 2. Execute coordinated workflow
// Planner decomposes task → Executors research subtasks →
// Communication service aggregates → Critic validates quality
$result = $orchestrator->execute_team_workflow( $team, $task, $context );
```
**Documentation:**
- See [Multi-Agent Orchestration](docs/developer/architecture/orchestration/ORCHESTRATION-LAYER-ARCHITECTURE.md#-6-multi-agent-orchestration-deepseek-v4-inspired-enhancement) for complete technical details
- See [DEEPSEEK-V4-README.md](docs/reference/models/DEEPSEEK-V4-README.md) for documentation suite overview
- See [DEEPSEEK-V4-USAGE-GUIDE.md](docs/reference/models/DEEPSEEK-V4-USAGE-GUIDE.md) for practical examples
### Why This Architecture Is Novel: Overcoming PHP's Limitations
- Event loops and background workers
**PHP/WordPress, by contrast, is fundamentally request-based:**
- Every HTTP request spawns a new process that dies after responding
- I/O operations block execution
- No persistent memory between requests
- No native event loop or async coordination
**NV oOS solves this** by implementing an orchestration layer that creates a "persistent-behavior illusion" — effectively **recreating Node.js's event loop behavior within WordPress's synchronous, request-based architecture**. This architectural compensation is the system's core technical innovation:
| PHP Limitation | NV oOS Solution |
|----------------|-----------------|
| No persistent state | Registry & policy engine maintain state via database/cache |
| No event loop | Cron Manager extends orchestration across time-shifted operations |
| Blocking I/O | Predictive budget allocator prevents blocking operations |
| Request-based lifecycle | SSE controller implements streaming within request boundaries |
| No background workers | WordPress cron system simulates async job processing |
This makes NV oOS patent-worthy as a **technical workaround** — it achieves sophisticated AI orchestration in an environment specifically not designed for such patterns. See [ORCHESTRATION-LAYER-ARCHITECTURE.md](docs/developer/architecture/orchestration/ORCHESTRATION-LAYER-ARCHITECTURE.md) for the complete technical analysis.
### Computer-Implemented Resource Management
The system operates as a computer-implemented method executing on a processor with memory, performing:
1. **Dynamic Resource Budget Allocation**: The orchestration layer dynamically allocates token and memory budgets to tool execution requests based on real-time system capacity and operation requirements. The `WP_MCP_AI_Resource_Manager` continuously monitors server resources (PHP memory limits, execution time constraints) and automatically adjusts operational parameters.
2. **Capability-Based Access Control**: Tool execution endpoints enforce granular capability-based access controls. Each tool in the registry declares required WordPress capabilities, and the REST API controller validates user permissions before allowing execution. This ensures secure, policy-driven access to all operations.
3. **Registry-State-Based Scheduling**: The `WP_MCP_AI_Tool_Registry` maintains tool availability state and schedules execution based on policy constraints. Tools are loaded conditionally based on dependency availability, and execution is scheduled according to assistant configuration and user permissions.
4. **Metrics-Driven Budget Adjustment**: The system continuously monitors execution metrics (memory usage, API response times, token consumption) and adjusts resource budgets in response to prevent resource exhaustion and reduce latency. The `WP_MCP_AI_Token_Budget_Manager` implements safety margins and dynamic chunking to prevent API limit overruns.
### System Components
The system comprises a processor and memory storing instructions that:
- Monitor real-time resource availability through PHP runtime introspection
- Enforce capability checks at REST endpoint boundaries
- Schedule tool execution through a centralized registry
- Adjust token and memory budgets based on detected system metrics
- Maintain operation logs for audit and optimization
This architecture is embodied in non-transitory computer-readable media (PHP source files) that, when executed by a web server processor, cause the system to perform the complete resource management workflow. The implementation prioritizes stability, security, and efficient resource utilization across diverse hosting environments.
### Symfony Process Integration (December 2025)
NV oOS Pro addon integrates the Symfony Process component for secure external command execution. This modern framework replaces direct `exec()` calls in 6 Pro tools and 2 supporting services, providing:
- **Enhanced Security**: Proper argument escaping and command validation
- **Timeout Management**: Configurable timeouts with graceful handling
- **Better Error Handling**: Comprehensive exception catching and WordPress-friendly error reporting
- **Process Control**: Real-time output streaming and cancellation support
**Migrated Tools & Services:**
- FFmpeg operations (video frame extraction, metadata reading)
- Python rembg (background removal)
- WP-CLI execution
- Meta AI Jukebox (music generation)
- Supporting services for video and audio processing
The Process Service (`WP_MCP_AI_Process_Service`) provides WordPress-friendly wrappers with WP_Error integration, making external process execution consistent with WordPress coding standards.【F:includes/services/class-wp-mcp-ai-process-service.php†L1-L220】【F:docs/history/2025/implementations/symfony-phases/SYMFONY_PHASE2B_PROCESS_INTEGRATION.md†L1-L100】
---
## 📜 Release History
<!-- Maintenance rule: this section keeps the 12 most recent releases in full. When a new release lands, add it here, demote the oldest entry into a one-line row of the Previous Releases table, and let CHANGELOG.md remain the complete per-release record. -->
> The 12 most recent releases are documented in full below. Every older release has a one-line summary in the [Previous Releases](#-previous-releases) table, and complete per-release detail lives in **[CHANGELOG.md](CHANGELOG.md)**.
### v1.2.28 — December 02, 2026
#### Classical ML Engine (Proposal 176), Capture Studio 0.5.0, Forge Bridge Playground Preview & Cloud Hardening
- 🧠 **A classical ML engine ships inside Pro (Proposal 176).** Eight estimators (linear/logistic regression, decision tree, random forest, k-nearest neighbours, SVM, k-means, naive Bayes) train and score in `lib/core`, with versioned, hash-verified artifacts in WordPress and Laravel. **Five tools** — `ml_train`, `ml_predict`, `ml_evaluate`, `ml_list_models`, `ml_job_status` — read from WooCommerce orders/products, inventory, metric events and CRM deals, queue async training on a dedicated `ml.training` RabbitMQ queue, calibrate (Platt/isotonic), explain (native/permutation), and report evaluation v2 with confidence intervals. Promotion is gated (structural/PII/marginal gain + eval history) with **gate-safe rollback**, model cards are PII-redacted, and PSI drift is recorded with alert hooks.
- 🗄 **The ML pipeline is honest about size.** Artifacts ≤256 KB stay in `post_content`; 256 KB–8 MB spill to `wp_mcp_ai_ml_payloads` with a SHA-256 checksum; >8 MB is refused (`ml_model_too_large`). A tenant-scoped Laravel store refuses to delete a champion, `TrainMlModelJob` runs on the worker, and `ml:models`/`ml:train`/`ml:evaluate`/`ml:promote` close the operator loop. Gated by the Advanced Analytics toolkit, `wp_mcp_ai_ml_enabled` and **PHP 8.2+**; deterministic analytics paths keep working with the engine off.
- 🎙 **Cognition 0.5.0 adds Capture Studio (Proposal 175).** A `capture` module composes the existing mic capture and freeze-frame snippet path around a **session-folder contract** (`session.json` in `nvoos.capture.session/1`, `audio.wav`, `frames/`, optional `frames.jsonl`). **The app records; the workstation encodes** (`bin/assemble-capture-session.mjs`, constant and timeline modes) — no FFmpeg in the app — and **on-change frames are the default**, 5–10× smaller for tutorial material.
- 🎬 **A five-video getting-started series, and the release build that can ship it.** Three new capture scripts plus SRT/VTT caption generation land with the video docs; four pipeline bugs were fixed (segment naming before merge, the providers-tab selector, `ffprobe` narration timing, pad-to-narration instead of `-shortest`). `scripts/feature-union.txt` is now the **single feature list** read by CI and `publish-nvoos-dictate.yml` — the previous publish passed **no** `--features`, so 0.4.0 shipped default-feature installers. ONNX Runtime is **statically linked** (the Windows resource map that broke `cargo clippy` is reverted), and the publish job probes the artifact before releasing.
- 🧪 **The Forge Bridge gets a real WordPress Playground preview.** The wp.org Live Preview blueprint installs and activates the published plugin; an idempotent seed creates posts, `/bridge-console/`, redirects and a configured settings state, and a demo-only mu-plugin intercepts the outbound demo URLs so the rebuild webhook and token flow are exercised visibly. **Install ordering is the rule:** the directory's importer appends a missing self-install step *after* every other step, so the preview must install first.
- ☁️ **NV oOS Cloud hardening.** The Stripe webhook is reachable again (the authenticated app now mounts on `/v1/*`, not `/`), `automatic_tax` is opt-in via `STRIPE_AUTOMATIC_TAX` because fresh customers have no address, and **SaaS Controller 0.4.0** resolves real D1/KV bindings, unwraps the multipart worker script before hashing, uses POST for D1, and fails closed (`worker_binding_unresolved`) instead of sending names.
- 🐞 **The PHP 8 REST fatal is fixed.** WordPress calls `sanitize_callback` with three arguments, so a bare `floatval` raised `ArgumentCountError` before the route ran — every affected REST argument and `show_in_rest` meta registration now uses a one-argument closure, with a `rest_do_request` regression test.
- 🛡 **16 of 19 Dependabot alerts closed.** `glob` 14.0.6, `minimatch` ≥11.0.8 and `http-proxy-middleware` ≥4.2.1 <5 across six npm trees; `composer audit` is clean (Symfony http-client/filesystem/validator), Rust `cookie` 0.18.3, and the Pro `tar` override is bounded below 8 because tar 8 breaks `canvas` 2.x.
- 📦 **npm catches up.** Five packages publish `0.1.0-alpha.5` — the three bumped to `alpha.4` but never republished (consumers still got the broken `alpha.3` dists) and the two client/type packages listed but never published. The workflow now handles source-only packages and a lockfile-less TypeScript build; the `latest` dist-tag move needs a 2FA `dist-tag add` (OI-11).
- 🏷 **Release and test fixes.** The Docs Contract base fetch uses a forced refspec (a read-only fetch was failing non-fast-forward before the delta check), the Cognition matrix pre-creates the `ort-sys` layouts on a cold cache and declares `shell: bash`, the publish workflow's pre-create runs in the app directory, and the Astro Bridge's date-expiring scheduling test now derives its date from `time() + WEEK_IN_SECONDS`.
- 📚 **Docs and skills.** New ML operator guide + RabbitMQ consumer runbook; proposals 175/176; `design-crm` and the plugin skill are genericized, `laravel-runtime`/`test-suite`/`git-ops`/`dictation-app`/`playground-demos`/`wporg-submission` absorb the window's lessons, and the three bundled mirrors are re-synced.
- 📦 **Versioning** — bumped to **1.2.28** across all version-bearing files (plugin header, `WP_MCP_AI_VERSION`, `WP_MCP_AI_PRO_VERSION`, `package.json`, readme.txt Stable tag). Pro addon: 1.2.28. Model catalog: **v2026.11.03** (251 models, 18 providers — zero diff). Tool count: **~360 base + ~1,408 Pro (~1,768 total — +5 Pro)** — base unchanged (zero registry diff); Pro gains `ml_train`, `ml_predict`, `ml_evaluate`, `ml_list_models`, `ml_job_status`; the engine's `lib/core` classes are dual-layer and described, not counted. Addon count: **34** (unchanged; **SaaS Controller 0.3.0 → 0.4.0**). Sub-projects: **Cognition 0.5.0**; `nvoos-forge-bridge` stays 0.4.0; content-graph 1.0.12, -ai 1.0.4, -ai-platform 2.0.0, docs-hub 0.5.3, Astro Bridge 1.3.0 unchanged. npm: `nvoos-audio`, `nvoos-dom-batcher`, `nvoos-slash-commands`, `nvoos-mcp-client`, `nvoos-tool-types` at **0.1.0-alpha.5**. Coding-time skills: **96** (no new skill; eight updated in place; payload 45,906 B / 46,000). Security classes: **12**. No in-window `@since` correction was owed. Stale build ZIPs removed: the 1.2.26 set (**30 files** — 9 root + 2 optional-components + 19 toolkit-addons) plus the superseded `nvoos-saas-controller-v0.3.0.zip`; the 1.2.27 set stays as the fallback.
### v1.2.27 — December 01, 2026
#### Polyglot Boundary, Cross-Language MCP Clients, Gmail Noise Suppression & Scheduler Leases
- 🌐 **The polyglot boundary is doctrine (Proposal 174, Phases 0–5).** PHP `lib/core` stays the shared kernel; other languages join only as **clients, gateways, tool packs and sidecars over the MCP wire**, never as a translation of the core. New `.context/polyglot-boundary.md` and the **96th skill** (`mcp-ai-wpoos-polyglot-boundary`) carry the four roles, the three licence tiers (MIT shared kernel / GPL distribution channel / Proprietary sold product) and findings F-2…F-6.
- 📦 **`nvoos-mcp-client` ships in TypeScript and Python.** The Astro Bridge's private client is extracted as `@nvdigitalsolutions/nvoos-mcp-client` **0.1.0-alpha.1** and `nvoos-mcp-client` **0.1.0a1** — cursor-paginated `tools/list`, MRTR `input_required`, a typed error taxonomy and an optional `outputSchema` hook. **The oracle proves it:** the bridge's conformance test is the TS package's test with only the import path and SPDX header changed, and both clients run **shared JSON vectors** (21 TS / 30 Python) with `sync-vectors.py --check` gating drift.
- 🧰 **A type generator and a first-party tool pack.** `nvoos-tool-types` **0.1.0-alpha.1** emits TypeScript types (and optional Zod schemas) from a `tools/list` payload as committed source — Zod 4's `fromJSONSchema()` is still experimental — and `addons/nvoos-mcp-tool-pack` **0.1.0-alpha.1** is an MCP server that **authors** its own tools with zero runtime dependencies (addon count **33 → 34**).
- 🧭 **Phase 0 turns metadata drift into gates.** `bin/check-npm-parity.php` cross-checks every `package.json` ↔ `server.json` ↔ the docs-scopes licence fallback (**26 packages consistent**); `packages/` joins `bin/check-license-boundary.sh` with a JS/TS/.py header scan; `npm-publish.yml` gains `id-token: write` and `--provenance`; the registry lag (`alpha.4` → `alpha.5`) is corrected in `server.json`; and `packages/README.md` states the three licence tiers with the bridge's GPL derivation asserted **positively**.
- ✉️ **Gmail gets quieter and batch-capable.** `search_gmail` excludes Promotions/Social/Forums by default (`noise_filter` standard/strict/off), adds inclusive date bounds, `exclude_domains` and `has_attachment`, and restores its dropped pagination fields; the new Pro **`get_gmail_threads`** reads 1–25 threads per call in metadata-first mode (40 Gmail quota units/thread vs 120), with per-thread errors and a character budget. **`query` becomes optional**, a new `inbox_and_sent` scope answers "who owes me a reply", three empty-query bugs are fixed, and a Gmail 404 returns `wp_mcp_ai_gmail_not_found` naming the entity, ID and mailbox.
- ⏱ **The agentic loop gets a wall clock.** `wp_mcp_ai_max_agentic_loop_seconds` stops between tool rounds, strips unexecuted calls (no orphaned assistant turn), appends a truncation notice and reports `partial` / `loop_time_exhausted`; scheduled runs derive the budget from their dispatch timeout minus 150 s. `lib/core` gains deadline parity — `CancellationToken::withDeadline()` has callers, `deadline_exceeded` is distinct from an operator `aborted`, and a streaming `status` event fires.
- 🔒 **Schedules survive dead workers.** `wp_mcp_ai_pro_schedule_allow_async_runner` registers **site-wide** at `init()` (Action Scheduler dispatches its runner on the shutdown of any request with due actions, so an enqueue-scoped filter never applied), `raise_time_limit_for_loop()` lifts the ceiling only upward, and a **240 s lease + 30 s heartbeat** cuts a ~15-minute `schedule_already_running` block to ~4 minutes; queued runs keep the legacy clock deliberately.
- 🏷 **Release builds tag what they built.** Nine release steps across eight build workflows pass `target_commitish: ${{ github.sha }}` — the v1.2.26 tag had landed at `main` HEAD (still `Version: 1.2.25`, 2,399 commits behind) while the assets came from alpha-working; the tag is re-pointed and the release republished.
- 🛡 **Two advisories cleared.** react-router **8.3.0 → 8.5.3** (docs-hub, in-major, bundle rebuilt) and i18next **23.16.8 → 26.7.2** (Pro, cross-major because the advisory has no 23.x backport; the vendored copy is refreshed so 23.16.8's vulnerable `deepExtend` no longer ships).
- 📚 **Docs and proposals.** Proposal 173's scoped-database use cases (rev 4.0 — §5.6 analysis and reporting, a client-onboarding runbook, all 27 refusal codes, and three corrections against shipped 1.2.26) plus proposals **054/055 → SHIPPED** with the registry lag named.
- 📦 **Versioning** — bumped to **1.2.27** across all version-bearing files (plugin header, `WP_MCP_AI_VERSION`, `WP_MCP_AI_PRO_VERSION`, `package.json`, readme.txt Stable tag). Pro addon: 1.2.27. Model catalog: **v2026.11.03** (251 models, 18 providers — zero diff). Tool count: **~360 base + ~1,403 Pro (~1,763 total — +1 Pro)** — base unchanged (`search_gmail` only gains parameters); Pro gains `get_gmail_threads`; the three new `packages/*` and the MCP Tool Pack register nothing in the plugin registry. Addon count: **34** (the **NV oOS MCP Tool Pack 0.1.0-alpha.1** joins; docs-hub stays 0.5.3). Coding-time skills: **96** (the new polyglot skill; three updated in place — schedule-manager, git-ops, sdk-v2; payload 45,897 B / 46,000). Security classes: **12**. Ten in-window `@since 1.2.28` tags corrected to 1.2.27. Stale build ZIPs removed: the 1.2.25 set (**30 files** — 9 root + 2 optional-components + 19 toolkit-addons); the 1.2.26 set stays as the fallback.
### v1.2.26 — November 30, 2026
#### Bridges Share One Gate Ladder, Forge Composition System & the ECA Launch
- 🔗 **`lib/forms-core` becomes the one form-ingress contract (Proposal 171).** A WordPress-free, MIT package (`Nvoos\FormsCore`) with the ingress config, request snapshot, `Verdict`, field normaliser, fingerprint and four ports, over a gate ladder — origin, proxy trust, rate limit, honeypot, timestamp, body cap, captcha, idempotency, redirect. **Both bridges consume it through thin adapters** and **verdict equality is the CI oracle** (`bin/render-verdict-matrix.php`), so the two products can diverge on storage and licence but never on protection. It is enforced pure by `bin/check-domain-purity.php`, declared an MIT root in `bin/check-license-boundary.sh`, and tested in the `lib-suites` matrix.
- 🧭 **Proposal 171 records the product split.** The **Forge Bridge stays free, GPLv3 and standalone** on WordPress.org — no licence check, no gate, ever — while the **Astro Bridge is a separate product**, not a paid tier (a licence branch in the free artifact is wp.org **G5** trialware and **G6** "moving code out to justify a fee"). The new `.github/scripts/check-wporg-compliance.php` fails the build on licence machinery anywhere in the artifact, or rendered upsell copy on a page that actually registers admin UI; `composer run quality:wporg-compliance` runs it locally.
- 🛡 **Astro Bridge 1.3.0 — public form submissions land in the CMS.** The route runs the full ladder and stores one **private `nvoos_submission`** entry (list columns + read-only meta box under **Astro CMS → Form Submissions**, `show_in_rest => false`), with idempotent retries, a no-JS 302 back to the allowlisted `_redirect`, an open-redirect guard, and server-side sanitization that strips reserved routing/spam keys. **Forwarding headers are honoured only from the new Trusted proxies list** (IP/CIDR per line + filter), with `X-Forwarded-For` parsed as an ordered chain — the per-IP rate limit was previously bypassable by rotating a header. `Sec-Fetch-Site: cross-site` is rejected, 429s carry `Retry-After` + the IETF `RateLimit` fields, and `nvoos_bridge_form_submission` is the unified audit hook while the original hook still fires. **Proxied sites must add their proxy or all visitors share one 5/10-minute bucket.**
- 🧱 **Forge Bridge 0.4.0 — idempotency and a bounded read.** An `Idempotency-Key` header (quoted per the structured-field spec, or bare as Stripe/Adyen send it) or an `idempotency_key` field replays the first outcome within ten minutes; the same key with a **different** fingerprint is a **422**, never the original result. Request bodies are capped at **256 KB** — the field caps bounded the sanitized payload, not the read — and the origin/field checks now delegate to `forms-core`.
- 🎨 **Proposal 172 — Forge Brand & Composition System (Phase 0).** A shared composition vocabulary (gutter, balance, rhythm, lane split), a composition tier kept separate from measured facts, and a **brand-contract gate**: a DTCG semantic layer with a hole now fails instead of silently rendering the template default. `packages/nvoos-design-import`'s contrast audit grows a **`missing`** bucket (a role with no value is a **failure**, not "not checked") — the accent role had fallen through to the template's green `#0f6b4f`. The composition gate runs on every forged deploy, with an ink-fix loop and a weekly content review.
- 🏫 **A real managed site ships: the ECA Directory.** `examples/nvoos-astro-forge/sites/eca.json` builds **The British School in Colombo** activities directory (`eca.directory`, CMS at `cms.eca.directory`, managed tier behind the BFF proxy) — canonical activity URLs under `/activities`, the home/about/contact design pass, a scannable calendar whose month-grid count stacks under its date, collapsible mobile filters that hide the badge when no filter is active, an opt-in hero `h1`, repaired band composition and brand tokens, the measured 50px copy-panel inset, working kicker leading/tracking, the school's photos, and an opt-in Turnstile profile.
- 🖥 **Server-build rendering and deploy guards.** Data routes prerender on the server build and **every ECA page route is prerendered**; band text baselines are refreshed from materialised pages and skipped for a hand-designed front page; a structure gate scopes dead routes, serves redirects and blocks on page structure while resolving site assets; and `manage` sign-in accepts account passwords and a same-origin opaque origin. `@fileoverview` headers land across the forge and its gate modules.
- ⚖️ **The Laravel adapter is relicensed proprietary.** `nvoos/laravel-adapter` moves MIT → **Proprietary**: 125 PHP files carry `@license Proprietary` / `LicenseRef-Proprietary`, a new `LICENSE.txt` scopes the adapter, the README states licensed-customer distribution (never Packagist), and `bin/check-license-boundary.sh` now refuses **any** MIT or GPL declaration under the tree. The mirror sync moves to a **depth-1 snapshot commit** because the full-monorepo clone stalled on the ~68 GiB pack.
- 🐘 **Two PHP floors, documented and enforced.** `lib/*` requires **PHP 8.2** (`nvoos/core`, `nvoos/wordpress-adapter`, `nvoos/craft-adapter` — `readonly` classes) while the WordPress plugin keeps **8.1**; `nvoos-content-graph-ai` gates on 8.2 in its header, Composer `platform.php` and a runtime guard that returns before any autoloader or hook, and `nvoos/craft-adapter` resolves `nvoos/core` from `dev-main` because no 1.x tag exists on Packagist.
- 🔁 **Mirrors and commit identity.** Every `sync-nvoos-*` workflow replaces `git subtree split` + full clone with a depth-1 snapshot commit; a new **`tag-nvoos-release.yml`** cuts semver tags with tree-parity and tag-immutability checks; the content-graph-ai mirror is rewritten path-free and re-sourced from Packagist; and a **Commit Identity** workflow (`bin/check-commit-identity.sh`, `composer run quality:commit-identity`) rejects placeholder authors, committers and `Co-authored-by` trailers, stripping them from the nvoos-core mirror. The rule is written into `CLAUDE.md` and `docs/developer/git-identity-hygiene.md`.
- 📚 **Docs and CI.** Every `lib/*` package ships folder READMEs enforced by `bin/check-folder-readmes.php` (the `nvoos/core` layer counts refresh to **123** ports, **677** tools and 16 providers); `docs/developer/file-header-convention.md`, `folder-readme-convention.md` and `docs/project/BRIDGE-SELECTION.md` land; the **WPCS budget stops counting unfixable warnings**; the forge-bridge PHPCS ratchet is fixed; and new `forge-sites.yml` / `forge-content-review.yml` workflows gate forged deploys and copy.
- 📌 **Sub-projects and proposals.** Forge Bridge **0.4.0** and Astro Bridge **1.3.0** are the version-bearing moves; content-graph 1.0.12, -ai 1.0.4, -ai-platform 2.0.0, astro-forge 0.3.0 and astro-velocity 0.4.2 are unchanged. Proposals **171** (bridge product architecture — 14 decisions, 10 ratified owner calls, the `lib/forms-core` extraction and its licensing matrix) and **172** (forge brand & composition system) land as decision documents.
- 📦 **Versioning** — bumped to **1.2.26** across all version-bearing files (plugin header, `WP_MCP_AI_VERSION`, `WP_MCP_AI_PRO_VERSION`, `package.json`, readme.txt Stable tag). Pro addon: 1.2.26. Model catalog: **v2026.11.03** (251 models, 18 providers — zero diff). Tool count: **~360 base + ~1,402 Pro (~1,762 total — unchanged)** — `includes/`, the tool registry and the Pro registration file have a **zero diff**; the window is `lib/*`, the two bridges, `examples/` and docs. Addon count: **33** (no new addon; Astro Bridge 1.1.3 → 1.3.0). Coding-time skills: **95** (three updated in place — astro-forge, astro-storefront, git-ops; payload 45,658 B / 46,000 B). Security classes: **12**. The window's 37 `@since 0.1.0` tags are the new package's own line, so **no correction was owed**. Stale build ZIPs removed: the 1.2.24 set (**30 files** — 9 root + 2 optional-components + 19 toolkit-addons) plus the superseded `nvoos-astro-bridge-v1.1.3.zip`; the 1.2.25 set stays as the fallback.
### v1.2.25 — November 29, 2026
#### Scoped Database Access, Mailjet Connections, Laravel Parity Wave & Design System 1.0.1
- 🗄 **Scoped database access toolkit (Proposal 167).** Assistants query external **PostgreSQL, MySQL, MariaDB and SQLite** without being handed SQL. The portable kernel ships in the Pro add-on (`addons/pro/lib/database`, 60 files) with the shared gate and adapters in `includes/database/`. **Eleven read tools** — `db_list_connections`, `db_describe`, `db_profile_table`, `db_explain`, `db_select`, `db_aggregate`, `db_search`, `db_query`, `db_export`, `db_test_connection`, `db_audit_tail` — plus `db_propose_write` → `db_apply_write`. **No raw SQL by default:** `db_query` requires the `raw_sql` grant, is admitted **lexically** (`SELECT` / `WITH … SELECT` only, no `SET ROLE`, no file functions), executes on a prepared statement inside `BEGIN READ ONLY`, and runs as a role that cannot write. `db_export` is an asynchronous job. **Scopes come from the principal, never the payload** (`TenantResolverInterface`, so there is no `tenant_id` argument to widen); credentials at rest go through `WP_MCP_AI_Encryption`; connections reuse the **Remote Sites** store via `WP_MCP_AI_Connection_Resolver`; there are no persistent connections. Writes are **two-phase and off by default** behind `enable_database_writes`, the second gate being the scope's tiers — a site that never opted in has no write tool at all. The toolkit needs **PHP 8.2** while the plugin floor stays 8.1 (Proposal 170); `WP_MCP_AI_Db_Runtime` is the single availability gate, so an 8.1 site simply never loads it. Surfaces: the `enable_database_toolkit` toggle, an admin page, and a REST console controller that names which availability condition is unmet.
- ✉️ **Mailjet joins Remote Sites as `mailjet_mcp`.** One connection type, two shapes: a **credential source** (blank bridge URL) supplies the per-account key pair for `send_mailjet_email`, `get_mailjet_statistics` and `manage_mailjet_contacts`; an **MCP** connection adds the official server's read-only tool surface, referenceable from assistant MCP Apps. There is deliberately **no default endpoint** — `mailgun/mailjet-mcp-server` is stdio-only and registers GET verbs alone, so `examples/mailjet-mcp-http-bridge` ships the Streamable HTTP wrapper that makes the MCP shape possible, and sending stays on `send_mailjet_email`. The resolver **refuses to guess** between two assigned connections (a Mailjet key is effectively a subaccount, so a wrong auto-pick reports the wrong analytics or fails a send) and the new `list_mailjet_connections` tool names both.
- 📄 **Laravel production-toolkit parity (Proposal 164) — the largest wave yet: 317 new `lib/core` tool classes in ten families.** **Cloudways closes 60/60** (read-only inspectors, app-settings reads and writes, CNAME/CORS writers, server and app lifecycle, Git, integrations, analytics, six remainder). **Regulatory registration lands 50** (product master and writes, registration core and lifecycle, documents, validation, INCI and HS codes, compliance checks, expiry readers, forecast and expiry alerts, compliance and cost reports, analytics and the submission pack, workflow rules, notifications, requirements, timeline). **Chat channels 59** (Discord, Slack, Telegram, WhatsApp, Messenger, Google Chat, the eight Microsoft Graph tools, Twitter/X DM + webhook, Apple/iCloud gateways, the unified broadcaster), **orchestration 39**, **calendar/booking 37** (appointment core and triage, availability rules, event tools, notifications, booking links, schedule analysis, service catalogue), **ecommerce 28** (WooCommerce orders, products, price/stock, bulk product updater, bulk order status, order analytics, sales dashboard, top products, customers, segments, lifetime value, customer directory, subject-access export; Shopify Admin + catalog; Printful; shipping box packer and rate estimator; product/vehicle image validators; image composition and product actualization), **GTmetrix 27**, **math 9**, **database 13**. The Laravel runtime gains `OrderStore` (+ `NvoosOrder`/`NvoosOrderLine`), `ProductCatalog` (+ `NvoosProduct`/`NvoosProductVariant`) behind a new commerce contract, `CustomerDirectory`, and a QuickBooks report reader with a scoped paper-store export.
- 🧮 **The math family closes — in the sidecar.** `calculate_integral`, `calculate_derivative`, `simplify_expression`, `matrix_operations`, `generate_truth_table`, `evaluate_logic_gate`, `graph_function`, `solve_equation` and `render_math_equation` (over a real LaTeX renderer) run through new media-worker routes (`math.js` over `polynomial.js`, `integrate.js`, `graph-sample.js`, `chart-render.js`), taking the worker **3.4.0 → 3.7.0** across three PRs. Video generation becomes **submit-only** with a reference-frame animation route and per-site keys, and the **vision seam** is bound to a real inference contract instead of an unimplemented interface. The **memory scope gate is unconditional** — a scoped recall can no longer be bypassed by omitting the scope — and scope test ids are distinct so the gate is actually exercised.
- 🧭 **Measurement before porting.** Ecommerce slice 2 closes with **one register entry** after seven undecided tools are measured; the seven GTmetrix, three math and two image-worker routes are measured before they are ported; the F&B audit log lands while the **F&B import is deferred with evidence**; the vision seam is defined before it is bound. Every **declined** (never intended, subtracted from remaining) and **deferred** (blocked on a named prerequisite, stays in remaining) slug is recorded in `lib/core/resources/toolkit-parity-decisions.json` (**228** lines added in-window).
- 🎨 **Design System ships to WordPress.org at 1.0.1.** A standalone plugin with **zero hard dependencies**: one token source for `--nds-*` CSS, the block editor's Global Styles and branded email; a DTCG 2025.10 codec with aliases, cycle detection, `$root`, group `$extends`, `$deprecated`, `$extensions` and transactional import; a brand kit with JSON + printable HTML guide; a WCAG 2.2 contrast engine; focus-ring and target-size tokens; an email wrapper **off by default** with four delivery modes; five accessible templates; eight `nds_*` tools. AI generation goes through the **WordPress AI Client** — the direct OpenAI/Gemini HTTP path, the stored provider credential and the `AIProvider` Plugin Check row are gone. **1.0.1 exists because 1.0.0 was a development label that never published**, so the release is version literals only and the wp.org submission is distinguishable from the pre-submission mirror snapshot. In-window QA tooling adds `bin/audit-plugin-bug-classes.py` plus an advisory-only workflow for the runtime defect classes Plugin Check, PHPCS and a green unit suite cannot see.
- 🤖 **Ten Astro agent skills join the catalog (85 → 95)** — six build-side skills, `astro-developer`, and the contribution-workflow set (`astro-code-review`, `astro-triage`, `astro-writing-comments`). The description payload is **45,658 B** against the 46,000 B gate: **342 B of headroom**, so the next addition must trim first.
- 🩹 **CI, harness and mirrors.** PHPUnit data providers use **attributes** instead of the deprecated annotation; toolkit CI gates and **database suite discovery** are repaired; the docs contract **tolerates a deleted base ref** (a force-pushed mirror no longer fails the scope audit); the **WPCS warning budget** and the **post-merge Mailjet PHPUnit failures** are corrected; the site-health no-action test is **scoped to its page**; and the NDS per-email rebrand test names the filter it asserts. Mirror snapshots are now **named by plugin version** (rule recorded in `mcp-ai-wpoos-git-ops`), and the sync no longer hangs on a full clone.
- 📌 **Sub-projects and proposals.** Design System **1.0.1** (wp.org) and Media Worker **3.7.0** are the only version-bearing moves; content-graph 1.0.12, -ai 1.0.4, -ai-platform 2.0.0, Cognition 0.4.0 and astro-forge 0.3.0 are unchanged. Proposals **168** (multi-agent team scale + A2A conformance, with P0 plan and run-board schema), **169** (Design System wp.org brand ops) and **170** (PHP floor **stays 8.1**; the declared-vs-tested gap is closed by adding 8.1 to CI, with all nine servers measured across both Cloudways accounts) land as decision documents.
- 📦 **Versioning** — bumped to **1.2.25** across all version-bearing files (plugin header, `WP_MCP_AI_VERSION`, `WP_MCP_AI_PRO_VERSION`, `package.json`, readme.txt Stable tag). Pro addon: 1.2.25. Model catalog: **v2026.11.03** (251 models, 18 providers — zero diff). Tool count: **~360 base + ~1,402 Pro (~1,762 total — +14 Pro registrations)** — base unchanged (zero `includes/class-wp-mcp-ai-tool-registry.php` diff); the 14 are 11 read `db_*`, the two write-gated `db_propose_write`/`db_apply_write`, and `list_mailjet_connections`, while the window's **317** `lib/core` classes are dual-layer, described not counted. Addon count: **33** (no new addon; Design System 1.0.1 and Media Worker 3.7.0 verified across `package.json`, both health payloads and `WORKER_VERSION`). Coding-time skills: **95** (10 new). Security classes: **12**. The **31** in-window `@since 1.2.25` tags are correct and **no correction was owed** (every other new tag is a recorded `lib/core` / `lib/laravel-adapter` / addon / Pro-module convention). Stale build ZIPs removed: the 1.2.23 set (**27 files** — 6 root + 2 optional-components + 19 toolkit-addons) plus four superseded addon artefacts (design-system **0.3.0**/**1.0.0** and the orphans of the renamed `crocoblock-ds` and `funiq-bridge` folders).
### v1.2.24 — November 26, 2026
#### Cross-Language Docs Contract, Laravel Toolkit Parity, Forge Measured Bands & Media Composition
- 📜 **Cross-language documentation and licence contract (Proposal 166, P8–P12).** Every first-party TS/JS/Astro/Rust file now carries one **`SPDX-License-Identifier`** line equal to its nearest manifest (`.github/docs-scopes.json`, 13 scopes; `UNLICENSED` → `LicenseRef-Proprietary`) plus a **purpose header** — `@fileoverview` for TS/JS/Astro, `//!` for Rust — sized by file class: 1–5 lines for a module (responsibility, invariant, non-goal), 1–3 for a test or config, none for generated code. Never `@package` or `@since` in TS/Rust headers: ownership lives in the folder README, stability uses TSDoc release tags. **2,237 verified insertions across 2,247 in-scope files** (0 missing, 0 wrong), excluded from generated bundles. The contract is a **ratchet**, not a cliff: `.github/docs-budget.json` baselines the **2,078** files still missing a purpose statement so the gate fails on regression; `bin/check-file-docs.php` (+ `bin/lib/header-contract.php`) enforces the shape and `bin/check-license-boundary.sh` the licence split. The new **`Docs Contract`** workflow runs a self-test, a scope audit, the licence boundary, folder READMEs and **`--new-files-only` on PRs**. Rust keeps item docs best-effort (`missing_docs` **739** against a 300 threshold) while crate/module docs are enforced **153/153**, with three folder READMEs. Both bundlers (esbuild included) now emit the banner the artefacts already carried, and `REUSE.toml` records the mapping. Docs: [`file-header-convention.md`](docs/developer/file-header-convention.md) + `.context/templates/file-header-examples.md`, a row in `AGENTS.md`, a section in `CLAUDE.md` and the summary in `.context/conventions.md`.
- 📄 **Laravel production-toolkit parity (Proposal 164).** The **document family closes**: `generate_pdf` actually renders through a tiered `PdfDocumentComposer` with a **declared fidelity class** (a portable renderer never silently substitutes for a browser renderer), plus `ProPdfDocumentTool`, a shared `HtmlFormatter` and the invoice path; the spreadsheet pair gains its **write** half and the Excel route can freeze and compute; **archive is a state**, not a delete; `ProWordDocumentTool` ships; three portable document-generation tools close the tail; `pro_batch_ocr` becomes a loop over the worker's existing **extract → render → recognise** ladder; the ignored page window is fixed and vision OCR gets real page images. The **controlled-document register** is a lifecycle, not a schema — `DocumentLifecycle` writes `draft → review → approved → released → superseded → obsolete` **once** (ISO 9001 §7.5.2/§7.5.3, 21 CFR Part 11) and ten `qms_*` tools read from it. **Docs corpus** lands as `DocsCorpusInterface` + five `docs_hub_*` tools; **OKF closes 2/2** (a `FilesystemBundleLocator` supplies the missing bundle-name → root seam, `okf_enrich_site_content` writes one concept per record, and a hybrid router decides which store answers a knowledge question first). Media: `extract_audio` **copies** the stream instead of re-encoding (`reencoded: false` in the envelope), `transcribe_video` + `generate_video_captions`, video asset gaps read from the registry, and `resize_image_smart` closes image-production. Substrate: a **package-only install gets the file-identity columns** it writes (they had landed only in the app skeleton, so the adapter's Testbench suite threw on the first `store()`), `ext-fileinfo` is required, resumable uploads run over **tus core** (`nvoos_upload_sessions`), a file-derivative store and produced-file → source link land, retention is reported from a **trigger**, and agent memory gains **one nullable JSON provenance column** (ten capture fields had been vanishing under `success: true`) with `search()` finally returning the `metadata` key its contract documented.
- 🧭 **The toolkit register replaces guesswork.** `lib/core/resources/toolkit-parity-decisions.json` records every **declined** slug (not ported and not intended — subtracted from remaining) and every **deferred** one (blocked on a named prerequisite — stays in remaining) with its reason; `ToolkitParityDecisions` reads it in the runtime and `bin/toolkit-parity.php --write` regenerates the baseline while failing only when a served slug disappears. **CRM closes 13/13**, **ECA-management 22/22**, **F&B reaches 21/23** (two deferred with evidence), **paper-store 2/2**, **OKF 2/2**, `toolkit_cpt` lands as `list_types` + discovery (the five other actions already existed under other slugs), `capture_webpage_screenshot` moves to inline bytes, and four toolkits close outright.
- 🎬 **The media worker composes.** `xfade` + `acrossfade` join merge and slideshow — each transition's offset is **cumulative** (`offset_i = Σ(duration_j − transition_j)`), the pair is normalised before the cross-fade, names are looked up rather than relayed, and a latent **WebM bug** fell out of the work. **Ken Burns** motion adds the one `zoom` value that is not a boundary, **upscales before it pans** (a 1:1 pan shimmers) and measures both traps. Audio and video are accepted by the media library, stored audio resolves by `attachment_id`, and resumable uploads run over tus core.
- 🧱 **Astro Forge measures the band row.** A band is gated on its **content box**, not its container: the analyzer records its real surface, comparison matrix and **row** (direction, gap, lane measures), with **per-device lane tracks** so a structure a source hides at one width is honoured, plus a **measured-structure channel** and the vision verdict that feeds it. Elementor's container model is named once and its lanes recorded; the rebuild places a component band beside its measured media lane; and the band-box gate holds every band's box against the source. Two authorship rules fall out: a card that is really the band title is **folded** rather than duplicated, and a listing page is claimed by its **title**, not its slug (`Monday- Junior School` finally renders the Monday record set). `parseDays()` expands a day **range** (`Monday to Friday`, `Mon–Fri`, `through`/`thru`/`until`/`till`, wrapping the weekend) only when both words are day names, so a clock range and a hyphenated title are untouched.
- 🌐 **Managed sites and the publication gate (Proposal 165).** A forged managed site now honours the CMS **maintenance / coming-soon** state: the public sees a holding page, a signed-in manager sees the real site, and `/manage` **embeds** the CMS bundle rather than linking out. ECA is the first run and switches to the **managed** tier, its content source moves to the new CMS host, and the deploy runtime is enforced alongside an ECA course-schema fix. The managed **BFF is hardened end to end**: an allowlist is forwarded from the proxy, a relayed cache lifetime is capped, proxied media URLs are **stamped with the build** that produced them, and the managed media path is fixed end to end. `/manage` sign-in works end to end behind the proxy (www visitors and the slashed `/manage/` included), prerendered documents stay on a **server build**, un-slashed page URLs redirect to the canonical form, and the deploy skill warns against deploying from a stale base.
- 🩹 **Reliability and providers.** **DeepSeek V4.1 Flash** accepts the token budget under `max_completion_tokens` (`deepseek-flash`, `deepseek-v4-flash*`, `deepseek-v4.1*`; `deepseek-v4-pro` and legacy ids keep `max_tokens`) with a one-shot 400 self-heal, across the buffered path, real-time streaming, the **Pro research completion ladder** (which also learns OpenAI o-series / gpt-5), the `lib/core` clients and the Diagnostics probe. **Remote WP connections** resolve products and variations by **SKU** (`resolved_by: "sku"`, parent product in the reply, an explicit error for a variation-only SKU), and `include_variations` actually works now that payload items are normalised to objects. The console's **React #185** render loop and SSE stream loss are fixed, transcript storage bytes are cached so the poll cannot stall, and **ability registration** stops enumerating the tool registry on unrelated REST routes — `wp_abilities_api_init` fires on every REST request, and a bridge had loaded **999 PHP files / ~56 MB** to answer a `401` on a core route.
- 📌 **Sub-projects and CI.** forge-bridge **0.3.4** is live on WordPress.org (PCP 0/0 at full severity, 83/83 tests, 239 assertions, clean install with an empty `debug.log`, directory ZIP 16/16 identical); content-graph 1.0.12, -ai 1.0.4, -ai-platform 2.0.0, Cognition 0.4.0 and astro-forge 0.3.0 are unchanged by this release. The window adds the `Docs Contract` workflow and clears two Classroom PHPCS violations.
- 📚 **Skills.** Thirteen skills updated in place with no new directory: astro-forge gains five reference files (builder-4 parity gotchas, `/manage` sign-in, measured band typography/sticky, the 165 publication gate, shared-mirror deploy), `laravel-runtime` gains the Proposal 164 parity loop, `ecosystem-port` the Pro→Laravel vs Pro→CG boundary, and `git-ops`/`nvoos-forge-deploy`/`wp-abilities-api`/`wp-plugin-bootstrap`/`design-product-research`/`spa-ui`/`spa-rest-contract`/`checkout-integration`/`wporg-submission`/`astro-storefront` absorb the session lessons; three bundled mirrors are re-synced byte-identical.
- 📦 **Versioning** — bumped to **1.2.24** across all version-bearing files (plugin header, `WP_MCP_AI_VERSION`, `WP_MCP_AI_PRO_VERSION`, `package.json`, readme.txt Stable tag). Pro addon: 1.2.24. Model catalog: **v2026.11.03** (251 models, 18 providers — zero diff). Tool count: **~360 base + ~1,388 Pro (~1,747 total — unchanged; zero plugin-registry registrations)** — every new tool this window is a `lib/core` class served by the package registry (dual-layer rule: described, not counted). Addon count: **33** (unchanged — no `addons/**` header moved, Media Worker **3.4.0** in `package.json`, `src/index.js` health payloads and `WORKER_VERSION`). Coding-time skills: **85** (unchanged — 13 updated in place, three bundled mirrors re-synced). Security classes: **12**. Twenty in-window `@since` tags corrected from 1.2.23 to the shipping 1.2.24. Stale build ZIPs removed: the 1.2.22 set (**27 files** — 6 root + 2 optional-components + 19 toolkit-addons, no `.sha256` pairs this cycle); the 1.2.23 set stays as the fallback.
### v1.2.23 — November 25, 2026
#### Machine Principals, Estate Budgets, a File Registry, Video Parity & a WPCS Ratchet
- 🔑 **Machine principals and scoped credentials (Proposal 159, #8033–#8060).** `nvoos:machine-token` mints a personal access token with an explicit scope; `*` and `any` are refused because that is the owner's own authority, an assistant scope must resolve in the issuing estate, the owner must hold `manage_options`, expiry defaults to **90 days** on the 60–90 day PAT baseline, and every mint writes an audit row (a console run records `minted_by: console` rather than inventing an actor). The route guard is **default-deny**; rotation, revocation and execution ship with approvals in `nvoos_approvals`; the tool manifest's annotations **veto unattended use**; the expiry report gains a channel and a dedupe, is narrowed to machine credentials, can be acknowledged by an operator, and critical expiries escalate. The `/ops` allowlist has a picker and the credentials a panel.
- 💰 **Estate scope, budgets and turn ceilings (Proposals 152/154, #7947–#7971, #8124).** Tenant columns land on `nvoos_token_usage`, `nvoos_token_usage_daily`, `nvoos_harness_trace_records`, `nvoos_activity_events` and `nvoos_files`; the token view and harness traces are readable per estate; an assistant's model is scoped to the current estate and the chat assistant resolves **server-side**, so a client cannot name another estate's assistant. `nvoos_budgets` plus `BudgetGuard` run before the provider call at both chat routes, the assistant test probe and `AgentNodeRunner`: spend is `SUM(cost)` over the window, never a stored counter, so a budget and the cost pages cannot disagree; at or over the limit is **429 `budget_exceeded`** with window/spend/limit, an unreadable store is **503 `budget_unverifiable`** (under-reporting is over-spending), and zero means unlimited. Turn ceilings and queued schedule-run tracking land alongside.
- 🛡 **Security hardening (Proposal 189, #8142–#8154).** The **root security key** becomes a real second credential: stored as a hash with `Hash::check` (a legacy plaintext value verifies once and is re-hashed), proved by `X-Root-Key` or a 15-minute session grant, refused with **423** rather than 403 because the caller is authorised and is being asked for a second credential; every attempt is audited, `nvoos:root-key` is break-glass and deliberately ungated, and the first-key exemption is narrowed to the credential and its flag. It gates destructive operator actions, the machine allowlist and the **new skill manager** (#8154) — install/replace/delete with slugified folder names, targets re-resolved inside the root before every write, capped size/name/description, temp-write + rename, symlinks refused, and delete only when `SKILL.md` is the folder's only entry. CORS and request limits apply from settings, failed auth is locked out, SSE streams are capped, and security events and headers are recorded.
- 🗂 **File registry and media library (Proposal 162, #8155–#8162).** `FileStore` used to write bytes and return `crc32(path)` without inserting a row, so the id it returned could not be resolved and `upload_file` → `get_file_info`/`delete_file` never worked. It now inserts the row and returns its id; **visibility is a column, not a disk name**, so repointing a disk cannot reclassify existing files; the extension comes from the sniffed type and the basename is a ULID, so a caller's filename is never a path; delete removes both halves. A private file has no URL — `GET /api/v1/files/{id}` resolves the row inside the current estate (a foreign id is **absent rather than forbidden**) and serves it with `nosniff`, a sandboxing CSP and private caching, Range deliberately out of scope. Uploads, every image generator's bytes and content/media links all write through the registry; transforms persist, and the media library gains an estate and is writeable.
- 🧰 **Core tool surface and OKF (#8165–#8182).** `list_mcp_tools` reads the **live registry** rather than the manifest — the manifest says what may be served, the registry says what this host built — excludes itself, sorts by slug and reports the pre-page total so a paging client does not stop early; `mcp_server_info`, `get_system_logs` and `get_site_health` follow. Assistant portability becomes a tool surface (`create_assistant`, `duplicate_assistant`, `export_assistant`, `import_assistant` with the credential denylist stripped and `replaced_by` validated against the WordPress corpus), `analyze_image` analyses through the vision path, five tools share one completion seam, and core ships an OKF bundle writer exposed through operator routes.
- 🎬 **Production toolkit parity, video and gated social (Proposal 164, #8063–#8119, #8210–#8233).** Six video tools ride the worker's two-step contract — metadata, trim, compress, convert, resize presets, thumbnails — plus `transcode_video`, `add_watermark_to_video`, `merge_videos`, `create_video_from_images`, `optimize_for_platform` and `adjust_video_speed`. Reading that route exposed **five worker defects, all fixed**: `eval?.()` on ffprobe output (**remote code execution reachable by uploading a video**), shell strings interpolating caller values, a format interpolated into the output filename, no `+faststart`, and trim using input-side `-ss` so cuts landed on keyframes. The sixth defect was the host's — a filename checked by charset let `../../etc/passwd` through, so every segment is validated by name as well, with eight hostile names pinned. `publish_to_social` defaults `dry_run` to true, refuses `schedule` outright because a scheduled post fires with no human present, and spends its approval ticket exactly once. The image pipeline and document families, `html_to_pdf`, the capability-matrix probe, `send_group_email`, the dispatcher waterfall, agent orchestration (`create_agent_team` accepting the WordPress `task_type`), per-tool daily quotas, the estate-overlay profession catalogue, assistant-form parity and diagnostics for unbuildable servable tools port too.
- 🧭 **Tool governance (Proposals 160/161, #7961–#8120).** Readiness is triaged in four batches with provider fakes, and evidence is attached to 22 rows that already had tests, the 22 ContentStore-backed tools and the last 21 admin/queue tools; the vector-store batch polling fixture lands and the Silero-VAD leg is isolated. The HuggingFace dataset tools are **served on evidence** — per-tool tests plus a documented token path replace 1.2.22's `unavailable` classification. Capability flags get **one canonical vocabulary and a CI gate**, addition-only overrides ship, the **necessity gate is switched on** after two measured defects are fixed, with approval tickets and a pre-approved media policy, and the marker-interface seams are decided one reader at a time.
- 🧱 **The WPCS gate becomes a ratchet; the envelope class closes (#8101–#8152).** `.github/phpcs-budget.json` and `bin/phpcs-ratchet.php` enforce committed budgets: no scope over its errors or warnings, no stale slack (an improvement must be recorded in the same PR, tolerance 25), named sources carrying their own budgets, and `--update` refusing to raise one without `--allow-increase`. The old gate allowed ten errors per changed file and compared a hardcoded 1200 against a “baseline” of 1175 that nothing ever moved — which is how the tree reached roughly **3,000 errors and 5,700 warnings while every PR reported success**. The canonical envelope class closes tree-wide (`WP_Error` from the DJ, image, document/math/regulatory, AI Tool Builder, CRM/developer and `check_tool_compliance` paths), and the commenting, array-spacing, string-concat, Yoda/reflow, trait-import and namespace-prefix classes close with it.
- 🖥 **Console, dashboards and the forge (#7950–#8036, #8012, #8134–#8141, #8203–#8209).** Ten dashboards merge into **seven** on both runtimes: a merged dashboard declares `sections`, `get_schema()` expands the visible ones, each section keeps its old flag, keys are namespaced by section (two connectors both publish `in_stock`) and `group` carries the label. The command centre, token inventory and `/ops` nav groups port; settings-coverage, memory-health and orchestration-presets pages ship; 179 sections are numbered in order; and every tool execution is recorded in the trace in the shape OpenTelemetry's `execute_tool` span uses (slug, call id, duration, outcome — no arguments, no result). Taxonomy terms are replaced on both hosts with `save_post` covered, and the OOS engine's PHP floor is made honest: the bridge gates on 8.2 because the DTOs are `final readonly class`, while the plugin keeps its 8.1 floor and simply does not load the engine there. The forge measures instead of guessing (chrome, nav type, eyebrows, lanes, hover states, panel slab, ink by role, band padding) with band-width and band-height drift gates, carries Flatsome per-element rules and the source's own fonts, publishes the ECA site's calendar/timetable/shortlist/help pages with live enquiry forms, and gates retired CMSs, hotlinks and gated sources.
- 🔐 **The checkout addon serves the license checks (#8234).** The WordPress Pro plugin and the Laravel runtime post to `/api/licenses/check` and `/api/licenses/activate`, but nothing answered those paths, so an estate could never be licensed. The addon now serves namespaced `/license/check` and `/license/activate` routes plus rewrites for the legacy paths; a key is bound to the site it was issued to, the internal `mcp-ai-wpoos-pro` slug is aliased to the sold bundle product, and unknown/revoked/wrong-product/wrong-site all answer one uniform `{status:invalid}` so the route is not a key oracle. The plan is a filterable map, not a column, so re-tiering needs no migration or reissue.
- 📱 **Apps, sub-projects and CI.** Cognition gains **hand-gesture input** (Proposal 153) at 0.4.0; the Complete console gains magic-link sign-in and estate budget views; astro-forge moves **0.2.0 → 0.3.0**; forge-bridge moves **0.3.1 → 0.3.4** for its wp.org resubmission with the gate route and 18-point sign-off. CI gains `lib-suites.yml`, `media-worker-tests.yml`, the phpcs ratchet, the capability-flag catalogue gate and the parity inventory gate.
- 📚 **Skills.** Eighteen skills updated in place (30 files, +2,858/−77) with no new skill directory. astro-forge gains eight reference files, laravel-runtime the machine-principal/estate/file/security surfaces, git-ops the large-doc and tracked-vendor traps, and test-suite the WPCS sweep playbook; the bundled mirrors of the five skills that moved without one are re-synced byte-identical.
### v1.2.22 — November 19, 2026
#### Laravel Admin Parity, Routing Telemetry, Model Catalogue, Org Teams
- 🧱 **Laravel admin parity (Proposal 149, #7853–#7923).** Settings became **two-layer with one writer**: every ported field declares an **operator** owner (deployment config — endpoints, credentials, infrastructure, posture inputs) or a **tenant** owner (the estate's policy), `forSurface()` projects a value for a panel, `writableFor()` decides who may save it, `/admin` renders operator keys disabled and `/ops` omits tenant keys. The WordPress settings catalogue is ported wholesale so a field cannot exist on one runtime and not the other. **The endpoint wiring had been broken for seven providers:** the adapters read a second key name (`gemini_api_base_url`) while the surface writes another (`gemini_base_url`), so `getApiBaseUrl()` returned null and the client used its built-in default — Gemini, LM Studio, NVIDIA NIM and Ollama base URLs never applied, and the Hugging Face, Baseten and Crawl4AI overrides were unreachable. The surface names are canonical; `bin/check-endpoint-wiring.php` (52 checks, in `ci:all`) proves catalogue and adapters agree both ways and fails 2 checks against the old mapping.
- 🧩 **Toolkit settings gained the write and the display half (#7913/#7915/#7914).** `WP_MCP_AI_Toolkit_Settings_Base` now owns the canonical save path and `stored_options()`; eight pages had printed literal defaults and posted them straight back over the saved value — silent data loss with no error — so the persistence gate asserts the **display** direction too (38 → 0 failures). Nine new manifests take the catalogue **12 → 21 manifests / 158 → 218 settings**.
- 🛡 **Security tab re-tiered (#7922).** **29 of 74** ported fields move to operator scope (root key, loopback/SSRF rules, body-size limits, transport headers, CORS, rate limits, audit retention) because the Laravel posture is derived from deployment config rather than these fields; the 45 tenant fields are the estate's own policy. Three sections split into eleven, none over nine controls. Settings descriptions render as plain text — 44 fields across seven tabs carried `<strong>`, `<code>`, `"` and raw `<a href>` (#7923).
- 🖥 **The operator panel (#7861/#7871/#7872/#7879–#7893).** Runtime health probes, an admin audit trail, personal access tokens, estate credentials, read-only tool / automation / profession catalogues, a derived ISO 27001 asset register, compliance report exports, a bounded conversation import, scheduler liveness, and estate scoping for workflow runs, triggers, the token manager and remote sites. Estate resolution answers from membership, so `orgTeams` and the surface matrix agree on both runtimes.
- 📡 **Routing telemetry end to end (§74–§81, #7929–#7938).** Every provider hop is recorded with provider and model; `nvoos_routing_metrics` is retention-bounded and its events export as OTLP or flat JSON. **At-least-once is the contract** — a crash between the collector's 2xx and the watermark write resends the batch, so every event carries `nvoos.routing.event_id` / `id` and the collector dedupes on it. The push is watermark-scheduled, bounded-retry and self-throttling, **jittered** so a fleet de-syncs instead of hammering a recovering collector, gzip-capable, and exposes a `routing_export` gauge (`configured`, `backing_off`, `retry_after`, `consecutive_failures`) where `retry_after` is null unless backing off. The operator contract is `docs/operations/routing-export.md`, and three read-only operator pages read the chain end to end: `/ops/token-usage` (#7941), `/ops/token-analytics` (#7942) and `/ops/observability` (#7943).
- 🗂 **HuggingFace dataset tools classified unavailable (#7944).** Eleven `lib/core` dataset tools move from `unverified` to `unavailable` with the reason recorded (they call `datasets-server.huggingface.co`; at most 100 rows per request, gated datasets need a token). Both states are non-servable, so **registry behaviour is unchanged** — the blocker is now evidence, and a test makes flipping one to `ready` a test change rather than a string edit. The `datasets` console surface stays `planned`.
- 🧮 **Token usage recorded, bounded and rolled up (#7929/#7935/#7939/#7940).** The table was read by five surfaces and written by nobody; `RecordTokenUsage` now writes one row per agentic turn from `CostCalculated`, so a streaming turn bills like a blocking one and a multi-round turn bills once at its accumulated size — the first run wrote two rows per turn because auto-discovery and an explicit `Event::listen()` both bound it, and a test now asserts exactly one listener. Retention prunes only days that were rolled up (`nvoos:rollup-token-usage` at 03:10, `nvoos_token_usage_daily`, idempotent on `(day, provider, model_id)`, never today, seven days of overlap); disabling the rollup disables pruning and the command says so.
- 🗂 **`/ops/models`: 251 text models across 18 providers (#7925–#7927).** Seeded from `includes/data/model-catalog.json` by `bin/generate-laravel-model-catalog.php` (per-1M display; the source is per-1K) into `nvoos_model_configs`, keyed on `(provider, model_id)` — the catalogue publishes `gpt-4o` twice and an id-keyed store silently dropped one of the 251 rows. Sync is additive. The catalogue now drives **same-provider fallback retries** before a provider hop (a definite "this provider does not serve it" drops the model; an unlisted fine-tune id is left alone) and `TokenBudgetManager` reads its limits — which exposed that `setTokenBudgetManager()` had **never been called**, so pre-flight context-window validation had never run on Laravel. `nvidia_nim` → `nvidia` translation fixes a silently dead fallback path.
- 🌐 **WordPress contracts (090-n, 090-p W6/W7, #7834/#7839/#7842/#7845).** `mcp-ai/v1/org/teams` (+ `/{team}`, `/{team}/members`, `/{team}/members/{user}`) serves a tenant's **users with roles**, distinct from the agent-team catalogue at `mcp-ai/v1/teams`, through the new `includes/org-teams/` CPT and service — the live console manifest closes at **41 true / 4 false, `gaps=[]`**. `GET /features` emits `endpoint_urls` via `WP_MCP_AI_Connected_App_Registry`, which refuses private/reserved resolutions, pins the validated address with `CURLOPT_RESOLVE`, caches the answer including failures and flips the matching feature flag; connected-app tokens are encrypted and mountable same-origin through the console proxy. The professions resource serves on both runtimes.
- 📶 **NV oOS WiFi 0.1.0 (Proposal 150 Phase 0, #7862/#7877).** A portable addon: pure-PHP domain types, four ports, one use-case service and a deterministic mock controller adapter, wired into both hosts — `wifi_health_check` (Base `wp_mcp_ai_default_tools` filter, so no Pro licence) and `GET /wp-json/nvoos-wifi/v1/venues/{id}/kpis` on WordPress, `GET /api/v1/wifi/venues/{venue}/kpis` on Laravel. **Device identity is opaque by construction** — MAC-shaped values are rejected (`mac_not_allowed`) because randomisation inflates unique-visitor counts 300–500% under 802.11bh-2024, so entity-count KPIs require a counting method or are withheld. `bin/check-domain-purity.php` (in `ci:all`) enforces ADR 001's layering for the first time.
- 🔌 **QuickBooks (#7855/#7903/#7924).** A connection saves with just the Intuit Client ID; credentials resolve from a pasted bearer, an auto-refreshing realm-scoped OAuth grant, or the legacy setting. A clean-path callback at `GET /mcp-ai/v1/quickbooks/oauth/callback` (Intuit rejects redirect URIs carrying query parameters) uses single-use user-bound state, encrypted rotated refresh tokens, and one forced refresh + retry on 401; Test Connection probes `companyinfo` and names the company, the 401 or the realm mismatch. **Deploy note:** register that redirect URI (no query string) and enable pretty permalinks. MCP tool-category switches and a QuickBooks Online MCP server example ship alongside.
- 🧪 **The AJAX guard and the toolchain (#7837/#7841/#7844/#7898/#7928).** `WP_MCP_AI_Ajax_TestCase::dispatch()` now fails when nothing is attached to `wp_ajax_{action}` — it previously returned the same shape for a rejection and for a missing handler, so **260 dispatches across 22 files** were reaching nothing; the guard exposed a real `array_map()` TypeError in `ajax_bulk_process()` and run-timeline handlers that swallowed `wp_die()` under PHPUnit. CI: ESLint **9** with `@wordpress/eslint-plugin` **v25**, Node 18 dropped, patched `minimatch`/`fflate`/`lopdf` overrides, style gates before the changed-files step, and release ZIP digests regenerated with the stale-digest cause fixed.
- 🏗 **Astro Forge (#7826/#7829/#7830/#7832/#7835/#7846/#7856/#7899/#7900).** `model3d` blocks gain variants, presets and a parallax axis (with the e2e fixture and CSP contract pinned); per-element design facts anchor to the raw band and measured band ink is honoured on nested surfaces; direct form posts now require a Turnstile token and submissions without the page carrier are dropped; forged font, media and deploy identity are hardened and a materialized build can no longer reach the CMS.
- 📚 **Skills (#7827 + ten in-window updates).** 32 descriptions trimmed to a **44,375 B** payload against a now-**enforced 46,000 B** budget (the 48,279 B state had silently dropped three skills from the Zed catalogue; `npm run validate:skills` exits 1 above the cap). Updated in place: `astro-forge` (four new references), `nvoos-forge-deploy`, `git-ops` (stacked-PR live base, allowlist from the call graph), `laravel-runtime` (synced `/app` copy, 128 MB CLI default, two-layer settings, Filament 5) and `test-suite` (patterns 96–98).
- 📦 **Versioning** — bumped to **1.2.22** across all version-bearing files (plugin header, `WP_MCP_AI_VERSION`, `WP_MCP_AI_PRO_VERSION`, `package.json`, readme.txt Stable tag). Pro addon: 1.2.22. Model catalog: **v2026.11.03** (unchanged — 251 models, 18 providers; the Laravel `nvoos_model_configs` table is a generated mirror of the same JSON). Addon count: **32 → 33** (new `addons/nvoos-wifi` 0.1.0; no other addon version moved). Sub-projects: content-graph **1.0.12**, content-graph-ai **1.0.4**, content-graph-ai-platform **2.0.0** (ZIP built in-window), forge-bridge **0.3.1**, Cognition **0.4.0**, astro-forge 0.2.0, astro-velocity 0.4.2. Media Worker: **3.4.0**. Bundled skills: **77** base + **41** Pro. Coding-time agent skills: **85** (in-place updates only). Tool count: **~360 base + ~1,388 Pro (~1,747 total — unchanged; zero plugin-registry registrations)** — the WiFi addon's `wifi_health_check` is addon-registered and described, not counted; live registry authoritative. Security classes: **12** (unchanged). Stale build ZIPs removed: the **1.2.20** oOS set (30 files — 9 + 2 + 19); the 1.2.21 set stays as the fallback. Fourteen in-window `@since` tags corrected from 1.2.23/1.2.24 to the shipping 1.2.22.
### v1.2.21 — November 15, 2026
#### AI-Safety Harness Port, Tool Readiness, Laravel Surfaces, Forge Materialize
- 🧠 **AI-safety harness in `lib/core` (Proposal 090-K, #7781–#7791, #7797–#7799, #7813, #7815, #7816).** Measured before the work: **3 of 30** harness classes and **2 of 7** tools existed on the Laravel runtime. `docs/project/plans/090-k-harness-port-plan.md` fixes the dependency order and the rule every cluster follows (logic to `lib/core`, the WordPress class delegates behind `class_exists`, the runtime supplies only storage/IO, subtle behaviour proven equivalent, no WordPress change except a reviewed fix). Shipped: `RetrievalHarness`, `CitationVerifier`, `ReasoningTrace` (schema/sanitiser/self-consistency vote, 50-item cap), `SelfRefineLoop` + `SelfRefineException` + `TraceStoreInterface` + `TracePolicy` (10–200 run retention) + `DatabaseTraceStore` on `nvoos_harness_trace_records`, `ToolRouterHarness` (scoring, ranking, `fuseWithRrf()` with `RRF_K = 60`, preset index, ±5 weight clamp), `OutputGuardrail` (structured findings + `blocked`), `GuardrailPrompt`/`GuardrailPolicy`, `PiiFilter`, `PromptInjectionDetector`, `NecessityGate` and `ActionSafetyProfile`. **Four live defects fixed:** `output_guard` never survived `HarnessProfile::sanitize()` on either runtime (so it read raw post meta and bypassed the site default), `NecessityGuard` had no WordPress delegate, preset weights had no sanitiser, and the guardrail prompt was never composed into a request. The chat path now runs the output guard on every REST response (`wp_mcp_ai_pre_response_render`, priority 10), injects the guardrail prompt, captures runs (`TraceCapture`) and routes through the scored harness. Preset weights are generated by `ToolPresetCatalogue` instead of hand-maintained.
- 🧭 **Tool registration from a readiness manifest (Proposal 090-M, #7821).** `lib/core/resources/tool-readiness.php` declares **223** classes with a closed vocabulary; `Application\Tool\ToolReadiness` classifies/validates, `ManifestToolRegistrar` registers only servable tools, `bin/audit-tool-readiness.php` checks completeness/integrity/shadowing/probe tiers, and a new `Tool Readiness` CI job runs it. Closes an allowlist that had reached only **55 of ~223** bound classes and **nineteen prompt-builder stand-ins** that shared a real WordPress tool's slug while returning a `success` envelope with a "prepared" string.
- 🛡 **AI-safety defaults, a shared posture catalogue and a server-side prompt (#7817/#7775/#7778/#7812).** `pii_filter` is on (redacts user turns in the session log; the provider payload is untouched) and `prompt_injection_detector` is on in **log** mode (records a verdict, never blocks); `output_guard` (buffering vs streaming), `necessity_gate` (changes what the model may do) and `tools.router: scored` stay off by decision. `lib/core` now owns **27** security signals (`SecuritySignalCatalogue`, `SecuritySignalDefinition`, `PostureSignal`); `PostureEvaluator` builds the applicable set per runtime and `PostureScorer` grades only applicable signals — five signals stay WordPress-only because they are genuine wp-admin primitives. `ChatOrchestrator` applies the assistant's `system_prompt` server-side on both the streaming and non-streaming paths, composed with the guardrail block.
- 🧱 **Laravel runtime surfaces (090-b/i/h/j).** `WorkflowExecutor` walks the saved graph in **Kahn topological order** (fail-fast; `tool`/`condition`/`agent`/`delay` + pass-throughs) with run history (`source` + `trigger_id`, replay-safe migration) and trigger execution through the same code path (`POST /api/v1/orchestration/triggers/{id}/fire`, `php artisan nvoos:fire-triggers` every minute). `McpHandshakePolicy`/`OAuthDiscoveryCandidates`/`WwwAuthenticateChallenge`/`McpRequestEnvelope` are shared, then consumed by a real Laravel client (`server/discover` first, hinted `initialize` first, no retry on 401/429/timeout/500) and by assistant MCP Apps. Remote sites store sealed credentials in `nvoos_remote_sites` (per-field `Crypt`, uniform mask, `credentialsFor()` the only opener, `config` cannot hold a secret) and expose exactly two verifiable types; a **QuickBooks Online MCP** connection type adds the hosted Intuit endpoint or a self-hosted wrapper with pre-registered confidential clients (HTTP Basic per RFC 6749 §2.3.1, case-preserving IDs, no DCR). Also: command-centre telemetry stores, token manager (including the undefined `manage_oos` gate that had made credential issuance permanently forbidden), slash commands, the read-only agent-skills catalogue (and the core frontmatter parser fix), the OKF drawer, media health/optimise/sweep, the assistant test endpoint, blueprints, advanced assistant-editor fields, dashboards, the chat-client route, harness-profile storage, and endpoint availability as part of the contract (45 keys, reasons, nav gating, CI guard) with the adapter migrations proven in-app.
- 🎓 **Classroom/ECA and tool parity ports (090-D/E).** Thirteen classroom tools in `lib/core` (ECA list/get/create/update, student list/get/create/update, enrol/withdraw, attendance, waitlist, bulk enrol) plus `generate_email_template`, `scope_memory`, `list_prompt_cues`, `enable_reasoning_mode`, the schedule presets/tick and the PM read/write fixtures. `per_page` resets rather than clamps, matching WordPress. The ECA family exposed a real parity bug: `WP_Meta_Query` wraps `LIKE` operands and the Laravel content store passed them through raw — `ContentStore::likePattern()` now wraps them for every future list tool.
- 🧹 **`lib/core` quality gates (#7805/#7808) and dependencies (#7708).** A mechanical PSR-12 reformat (**533 files**, no logic touched) and the style gate switched on at **799 files / 0 errors / 0 warnings**; six private methods renamed to camelCase with call sites. Test plumbing: `tests/support` out of PHPUnit discovery, an explicit local file-list runner, per-install `create_assistant` slug assertion, Simple JWT Login 4.x pinned, stale adapter tests corrected. hono **4.13.16**, basic-ftp **6.2.6**, astro **7.4.7**, `fast-xml-parser >=5.12.0`.
- 🏗 **Astro Forge: materialize, outage nets and fidelity.** `forge materialize` recovers content from the store Astro baked into the artifact after a site outlives its CMS (Virtually Jamaica), `forge <profile> --content` scaffolds with no CMS, and `content.snapshot` keeps a fallback copy while the WordPress loader stays first (a reachable-but-erroring CMS still fails the build). The managed proxy gains a 10 s timeout and RFC 9110-typed **504 `upstream_timeout`** / **502 `upstream_unreachable`**, with `forms.fallback: "direct"` (Turnstile, clock tolerance, proxy-aware throttle key). Fidelity: host-relative internal links, fill-image geometry, explicit band `minHeight`, the jayainc hero/logo-cloud wave, hybrid-local rendered bodies, MDX source bodies, font sheets, Virtually Sri Lanka. Docs: cutover/materialize/deploy traps and the forge CSS traps.
- 📦 **Versioning** — bumped to **1.2.21** across all version-bearing files (plugin header, `WP_MCP_AI_VERSION`, `WP_MCP_AI_PRO_VERSION`, `package.json`, readme.txt Stable tag). Pro addon: 1.2.21. Model catalog: **v2026.11.03** (unchanged — 251 models, 18 providers). Addon count: **32** (unchanged — no `addons/` version moves). Sub-projects: Cognition **0.4.0** (zero in-window diff; mirror verified in sync), astro-forge 0.2.0, astro-velocity 0.4.2, Service Exchange 0.1.0. Media Worker: **3.4.0**. Bundled skills: **77** base + **41** Pro (unchanged). Coding-time agent skills: **85** (in-place updates only). Tool count: **~360 base + ~1,388 Pro (~1,747 total — unchanged; zero plugin-registry registrations)**; live registry authoritative. Security classes: **12** (unchanged). Stale build ZIPs removed: the 1.2.19 oOS set (30 files); the 1.2.20 set stays as the fallback. Distribution: the three drifted npm packages could not be republished — `npm-publish.yml` returned `E404` (the token lacks publish rights for the `@nvdigitalsolutions` scope); recorded as OI-11.
### v1.2.20 — November 13, 2026
#### Generative-Media Registry, Toolkit Manifests, Laravel Parity
- 🎛 **Generative-media capability registry (Proposal 141, #7598/#7615).** `includes/data/media-model-catalog.json` (**v1.1.0**, 12 models) is now the single source for aspect ratios, resolutions, batch sizes, durations, reference-image limits and feature flags; `WP_MCP_AI_Media_Model_Catalog` validates it and derives the schema enums used by `generate_sora_video`, `generate_veo_video`, `generate_omni_video`, `generate_higgsfield_image` and `generate_higgsfield_video`. Two new base tools join the registry — `media_model_capabilities` and `enhance_media_prompt` (deterministic camera/lens/aperture/lighting/composition craft) — and the aperture enum is string-cast so whole-stop values survive schema validation and prompt composition.
- 🧰 **Pro toolkit manifest engine (Proposal 090-B Phases 4.1–4.7, #7619–#7663).** A toolkit family is a JSON manifest (`commerce`, `documents`) validated by one `lib/core` class and rendered by one console shell: catalogue/detail pages, settings, entity workbench, dashboard cards, research, consolidation and bulk import. WordPress and Laravel serve the same `mcp-ai-pro/v1/toolkit-manifests` envelope (the parity probe found and fixed `settings.slug` + `entities/{entity}.entity`), `nvoos_toolkit_records` stores every family, settings bind to dashboard cards (`low_stock_threshold`), consolidation groups server-side, import previews before writing, and the Schedule Anything `GET mcp-ai-pro/v1/toolkits` collision is resolved.
- 🔐 **Commercial entitlement + a read-only profile (Proposal 090-b Phases 5.1–5.4, #7664/#7665/#7666).** `ProPlanCatalog` owns the plan → feature table for WordPress and Laravel, and `LicensedProEntitlement` reuses the licence HTTP contract (`site_url = instance_id`) behind the new `license` driver. The `X-WP-Nonce` translation shim (`AcceptWpNonce`) is deleted — the console mirrors the fetched nonce into `X-CSRF-TOKEN`, and a bare `X-WP-Nonce` now gets a typed `419`. `ReadOnlyToolGuard` registers as a monotonic deny-only guard after every `tools/pre_execute` listener (`NVOOS_READ_ONLY`), denying `write`/`state_changing`/`mutating`/`destructive`/`external_side_effect` **and**, by default, undeclared tools.
- 🧱 **Laravel runtime parity stack (090-b/090-f/090-g, #7610–#7679).** Admin Phases 0–3b, the assistant studio and the org-teams page; tenant-scoped assistants; the WP role → capability map enforced with `can:` gates on every route (editor vs author via `delete_others_posts`); a profession catalogue with a version-keyed `CachedProfessionRepository`; team storage + catalogue parity; a content store that honours meta/tax queries with a content-type schema source; the project-management read/write stack (`create/update/delete project/task`, bulk import dry-run); and **eight `nvoos_*` tables that existed only in the dev database now ship as migrations**, so a fresh `php artisan migrate` no longer boots an app with broken Paper Store, schedule, trigger, approval, media, content and toolkit surfaces. The Paper Store becomes one shared atomic JSON contract (`PaperStoreInterface` + `JsonPaperStore`, traversal rejected, stamps owned), replacing the dead `nvoos_paper_records` backend.
- 🧠 **Core tool fixes.** `save_profession` reported success and wrote nothing — the new optional `ProfessionWriteInterface` lets the WordPress adapter delegate to `WP_MCP_AI_Profession_Repository`, the schema/result envelope matches WordPress, absent optional fields are omitted, and Laravel stays read-only (#7645). `verify_information` and `validate_tool_schema` now run natively in `lib/core` (#7634), and the cluster-1 dependency map was corrected by measurement (#7690).
- 📚 **OKF engine hardening (Proposal 145, #7677–#7687).** A 19-case parser corpus and a 36-case reader corpus were written against WordPress first; the MIT `lib/core` parser then ran green on its first execution, with a differential test asserting parity. `concept_links($body, $concept_id)` replaces the `traverse()`/`find_broken_links()` disagreement (concept-relative links, external URIs dropped, `./` collapsed), the Pro REST duplicate is deleted, and a leading UTF-8 BOM is stripped before frontmatter detection.
- 🩹 **CCT sync + ICS (#7590/#7592, #7582).** EZuite, FlowHub and Shopify Sync now re-check duplicate CCT definitions on a throttle, use the highest-ID record as canonical, and rebuild the JetEngine Factory after `ensure_columns()` — new columns populate instead of silently staying empty (schema 1.10.0 → 1.10.1). ICS availability gates on the sidecar or the `wp_mcp_ai_ics_generate_calendar` filter and no longer tells operators to install Node; the Pro settings matrix stops claiming `installed` when the worker is unreachable.
- 🏗 **App-side + skills.** New **Service Exchange** (`examples/nvoos-service-exchange`, Proposal 143 — Vite wizard + zero-dependency control plane for Cloudways estate deployment) with its own skill; **Cognition v0.4.0** (tag `nvoos-dictate-v0.4.0` — document OCR, memory layer, release flow, all five version files moved together); the Astro Forge gains interaction-state/chrome/colour gates, gradient + parallax surfaces, the animation inventory, band-column/fixed-photo and carousel measurement, and accordion/CTA/uppercase fixes; two new coding-time skills (`mcp-ai-wpoos-laravel-runtime`, `mcp-ai-wpoos-service-exchange`) take the catalog to **85**, and `npm run validate:skills` reports 92 skills / 47,759 B against the ~50 KB description cap.
- 📦 **Versioning** — bumped to **1.2.20** across all version-bearing files (plugin header, `WP_MCP_AI_VERSION`, `WP_MCP_AI_PRO_VERSION`, `package.json`, readme.txt Stable tag). Pro addon: 1.2.20. Model catalog: **v2026.11.03** (unchanged — 251 models, 18 providers; the new media-model catalog is a separate generative-media registry). Addon count: **32** (unchanged — no `addons/` version moves in-window). Sub-projects: Cognition **0.4.0**, new Service Exchange **0.1.0**; astro-forge 0.2.0 unchanged. Media Worker: **3.4.0** (unchanged). Bundled skills: **77** base + **41** Pro (unchanged). Coding-time agent skills: **85** (83 → 85 in-window; count surfaces already correct). Tool count: **~360 base + ~1,388 Pro (~1,747 total — +2 base)**; live registry authoritative. Security classes: **12** (unchanged). Stale build ZIPs removed: the 1.2.18 oOS set (30 files); the 1.2.19 set stays as the current fallback.
### v1.2.19 — November 11, 2026
#### Client-IP Trust, Write-Route Authorization, and the Licence Boundary
- 🛡 **One canonical client-IP resolver (#7570).** Seventeen duplicated `get_client_ip()` implementations across base + Pro now delegate to `includes/bootstrap/helpers.php` — `wp_mcp_ai_get_client_ip()`, `wp_mcp_ai_normalize_ip()`, `wp_mcp_ai_ip_in_list()` and `wp_mcp_ai_ip_in_cidr()` (IPv4 + IPv6). `REMOTE_ADDR` is authoritative; a forwarding header is honoured only when the direct peer is in the new `wp_mcp_ai_trusted_proxies` filter (exact IPs or CIDR, **empty by default**), and the `X-Forwarded-For` chain is walked **right-to-left** so a client-supplied prefix cannot spoof it. `HTTP_CLIENT_IP` is no longer read. This closes spoofing of IP allow/deny checks (`check_ip_access`, REST base, magic login), per-IP rate limits (federation, magic login, booking, quiz, OAuth) and audit-log IPs (CRM, healthcare, QMS, imaging, error tracking, root security key, nefarious usage). **Behaviour change:** proxied hosts must configure the filter or every visitor shares the proxy's bucket. `tests/test-client-ip.php`, readme FAQ entry, `@since 1.2.19`.
- 🔐 **Public write routes authorize their target (#7571).** The workflow-trigger webhook is public by necessity and HMAC over the exact body is its only authorization — but an **enabled trigger with no signing secret skipped verification entirely**, leaving an open workflow-execution endpoint. It now returns `503 trigger_not_configured` with no secret and `401 invalid_signature` on a bad HMAC (no publish check was added: the `mcp_ai_trigger` CPT is registered non-public and drafts are intentionally valid). Outbound booking's public `POST /nvoos-outbound/v1/bookings` rejected only `_oa_booking_active`, so draft/pending/private/trashed links stayed actionable — non-publish status now returns `invalid_link`. The forge-only route scanner becomes `.github/scripts/check-public-write-routes.php`, scanning `includes/`, `addons/pro/includes/` and `plugins/` for `__return_true` write routes and failing on unreviewed **or** stale allowlist entries (10 routes, each with its compensating controls inline), wired into `php-linting.yml`.
- 🧩 **`nvoos-forge-bridge` 0.3.0 → 0.3.1 (#7569).** Fixes the wp.org T2 review: the public form route could dispatch to non-public forms (JFB + Elementor lookups now require `publish` and an empty `post_password`, returning the same typed 404 as a missing form); rate limiting trusted `X-Forwarded-For` (now `REMOTE_ADDR` + a `nvoos_forge_bridge_trusted_proxies` allowlist, right-to-left); and `wp_send_json()` ended the REST request before the die-handler filter could run (dispatch now buffers the echoed JSON through a sentinel thrower with `finally` restore). Same-class sweep: a submitted `_jet_engine_booking_form_id`/`_jet_engine_refer` carrier could re-target dispatch to an unvalidated form (carriers stripped and re-asserted last), `maybe_unserialize()` replaced with `unserialize(…, ['allowed_classes' => false])`, redirect control characters rejected, uninstall wildcard-deletes the hashed rate-limit transients. 71 tests / 204 assertions.
- 🏷 **SPDX licence headers + licence-boundary gate (#7545).** Every source file declares its licence — `includes/` GPL-3.0-or-later, `lib/core/src/` MIT, `addons/pro/includes/` and `addons/canvas/` Proprietary — fixing 26 GPL declarations inside the MIT engine package (the one destined for the proprietary SaaS), 9 GPL grants on commercial Pro code, and 419 undeclared files. `bin/add-spdx-headers.php` is idempotent and dry-run by default; `bin/check-license-boundary.sh` runs 12 checks; `license-boundary.yml` enforces them on PRs and on push. `.gitattributes` now `export-ignore`s `addons/pro/` and `addons/canvas/` (deliberately not a bare `addons/`, which would strip `addons/embedded` and `addons/cloud-worker`), so GitHub source ZIPs no longer ship the proprietary tree. Both release builds read the working tree, so shipped artefacts are unchanged: 3,766 of 3,770 changed files are a mechanical two-line insert.
- 🏗 **Astro Forge managed tier, band extraction and a bootable deploy tree (Proposals 135–137, app-side, #7532–#7578).** The forge gains the managed tier (local content + draft preview), the section vocabulary and agent surfaces, and **vendor-agnostic band extraction** — a declarative builder-adapter registry (Elementor, WPBakery, Divi, Beaver, Bricks, Gutenberg, Oxygen, Flatsome, plus Revolution Slider as an opaque widget) with a **VIPS-lite visual layer** that turns full-bleed colour/image/gradient changes into boundaries when the markup has none. Text/colour/pixel parity gates, per-band verify gates, the media performance budget and self-hosted webfonts land alongside. Band geometry is measured in a real browser (`analyze --geometry` accepts an outline-band source and promotes a column anchor to the band actually rebuilt) and mirrored into the scaffold — per-device `padding`, a `min-height` **floor** applied before the hero early return, and a real 12-column row shim. The managed deploy tree now ships its runtime dependencies (`renderSyncDeployTree()` copies the manifest and walks the build output's bare imports, refusing an unreachable one), and `forge-sites.yml` runs a blocking `verify-deploy-tree` gate that installs `--omit=dev` and boots `server.js` — fixing a silent freeze where a dependency-free tree installed one package, `server.js` threw `ERR_MODULE_NOT_FOUND`, and five green mirror pushes served a stale site. The astro cross-app parity gate moves to `bin/check-astro-app-parity.mjs` (the cross-tree `tsconfig` trap had broken two workflows), and storefront CSP inline scripts + island hydration stay page-invariant.
- 🏷 **EZuite inventory CCT columns (#7575).** `LX_ItemStockPull` returned `Printing_Name`, `Group_Name` and `Remark`, but the cached `ezuite_inventory` CCT dropped them. They now flow end to end — new `printing_name`/`group_name`/`remark` columns (SCHEMA_VERSION 1.9.0 → 1.10.0), default field mappings (also feeding “Generate Default Mapping”), labels, sortable `orderby`, full-text search on `printing_name` so the printed shelf-tag code is findable, and escaped passthrough in `ezuite_inventory` responses. `ensure_columns()` runs at the start of every full sync, so pre-existing rows hold empty strings until it repopulates them.
- 🐞 **Fixes.** Auto-select tool-index cache poisoning (#7534 — `build_tool_index()` cached the first caller's filtered subset in an unkeyed static, so a narrow two-tool call hid `create_chart` from later callers; keyed by the normalised set, with an order-independence test). AJAX coverage audit (#7533 — path separators normalised so Pro handlers classify on Windows, `vendor/`/`node_modules/` pruned while walking, inventory regenerated to **351 handlers: 139 base / 212 Pro**, 285 covered with 69 allow-listed, and `AJAX_TESTS_README.md` corrected). Bundled MCP Adapter deprecation (#7579 — a priority-0 `rest_api_init` callback seeds `WP_MCP_VERSION` from the bundled copy's own `VERSION` const). Release-body facts (#7531 — both main-plugin generators now say PHP 8.1+ and `~358 tools`; standalone-addon workflows keep their own 7.4 floors). Build Assets `npm ci` (#7567 — 3 retries with `npm cache clean --force` between attempts).
- 🔗 **Dependencies.** `isomorphic-git` pinned by a bounded override (`>=1.38.6 <1.39`, resolving 1.38.10) closing **GHSA-9qw7-j9xw-fv9c / CVE-2026-63395** (high — arbitrary file write outside the working tree via a directory symlink on checkout) and **GHSA-cw2g-2vwq-88w6 / CVE-2026-63478** (medium — `..` path traversal) while upstream still pins the vulnerable 1.37.6 (#7566); the chain is dev-only. Vendored Pro runtime deps refreshed — `ics` 3.12.0, `mailparser` 3.9.10, `sharp` 0.35.5, `validator` 13.15.35, with transitive nodemailer 9 / html-to-text 10 and semver 7.8.5 (#7580). The local CSPRNG OAuth1-nonce patch on `twitter-api-v2` is deliberately retained — upstream would revert it to `Math.random()`.
- 📚 **Docs & skills.** New coding-time skill **`nvoos-forge-deploy`** (the mirror-branch contract, static vs managed tiers, the pull-after-push step and eight gotchas) — **82 → 83**, folded into the `README.md` repo map in this pass. `mcp-ai-wpoos-test-suite` gains pattern 93, `mcp-ai-wpoos-wporg-submission` the target-authorization rule and the repo-wide gate, `design-performance-audit` the large-file authoring mechanics, `mcp-ai-wpoos-git-ops` the vanished-worktree recovery plus the PHP-CI non-gate guidance, and the astro skills the Proposal 135–137 capture.
### v1.2.18 — November 08, 2026
#### PHP 8.1 Baseline, Typed Engine, CRM Admissibility, Astro Forge Design Rebuild
- 🐘 **PHP 8.1 baseline + `lib/core` typed to PHPStan 8 (#7529).** `Requires PHP: 8.1` in the header and `readme.txt`, the new `WP_MCP_AI_MIN_PHP` runtime guard, `composer.json` at `>=8.1`, Site Health reporting, and a sweep of every doc/docblock/agent-context reference that still quoted 7.4 (`lint:compat` now targets 8.1–8.4). The framework-agnostic engine gains `ToolArgs`/`ToolContext`/envelope aliases, `Option`/`ToolResult` total containers, `AbstractResultTool` + `ToolResultInterface` as the typed execution seam, `Support\Json`, and `objectParam()`/`stringListParam()`/`jsonBody()` — 399 level-7 findings to zero at every level up to 8, with 8 new unit tests. A **tool-schema contract gate** (`test_registry_schema_contract_is_clean`) audits all 446 tools in CI, with the finding labels surfaced in Site Health. Production `vendor/` resyncs to guzzle 7.15.2 (URI-host/Host-header + cookie-domain fixes, GHSA-v5mv-p594-2x33 / GHSA-f7vp-7xgx-4w4r).
- 📦 **Packaging parity.** The combined `mcp-ai-wpoos-*.zip` now ships `lib/core` + `lib/wordpress-adapter` (the `/lib` exclusion is scoped to the base and WordPress.org builds), so `?engine=oos` can actually boot on a packaged install — still opt-in, `enable_oos_engine` defaults false. GitHub's "Download ZIP" now drops **exactly the same tracked files** as the combined build (0 divergence): the bare `lib/` and unanchored `src/` `export-ignore` rules were pruning the engine and 5,944 `vendor/**/src` + `addons/*/src` files, `src/` is now anchored to `/src/`, `bin/vectorize-image.js` is preserved, and `.distignore` carries the same anchoring.
- 🎯 **Proposal 129 — outreach & CRM admissibility (+10 Pro tools, #7513).** New engines `crm-pre-send-gate`, `crm-deliverability`, `crm-send-window`, `crm-unsubscribe`, `crm-opt-out-detector`, `crm-signals-db`, `crm-signals`, `crm-signal-collector`, `crm-agent-guard`, `crm-sequence-presets`; new tools `verify_lead_email`, `check_sending_domain`, `get_sending_readiness`, `manage_sending_warmup`, `collect_prospect_signals`, `explain_prospect_fit`, `query_signal_cohort`, `export_outreach_csv`, `preview_pre_send_gate`, `review_held_send`. Every outbound path calls the gate (`send-lead-email`/`-sms`/`-whatsapp` + OA `Channels::dispatch()`); RFC 8058 `List-Unsubscribe` headers + a signed `mcp-ai/v1/crm/unsubscribe` route; opt-in per-recipient send windows, a `held` state with review tools, and a z ≥ 1.96 A/B promotion guard after 30 sends per arm. Registration reaches the Pro map, 3 schedule presets, 2 workflow presets (new `outreach` category), the `sales_crm` tool preset, settings and the coverage manifest. 471 tests / 6,781 assertions green on 6.9 (77/216 on 7.1), phpcs 0 errors on 44 files.
- 🏗 **Astro Forge design rebuild + form bridge (Proposal 114, app-side, #7463–#7528).** The forge learns widget/block vocabularies, rebuilds the source chrome/type/spacing by band, full-bleed bands + hero layering + accent recovery, scroll-behaviour detection, contrast-assigned logos and continuous band flow, and records responsive section facts (band padding, margins, icon-row rhythm, heading facts, card box models, image ratios). Verification becomes measurable — vision-verified rebuild comparison over MCP, an a11y gate, a token drift check, generated-token gating in `forge verify`, DTCG interchange + the image pipeline — and the forge captures the source's tracking profile, SEO head and redirects behind a stale-profile-safe CSP gate. The standalone **`nvoos-forge-bridge` 0.1.0 → 0.3.0** gains the form bridge + redirects REST surfaces and the wp.org review fixes (webhook `TypeError` on failed HTTP, actionable sync auth, browser-like UA + build-time fetch proxy), with `sync-nvoos-forge-bridge.yml` and a self-hosted runner for the bot-protection 403.
- 💽 **QuickBooks Desktop MCP (Proposal 113, sub-project, #7458/#7459).** New `examples/qb-desktop-mcp` (`nvoos-qb-desktop-mcp`): read tools over a QuickBooks Desktop company file, a safe write tier (customer/item/vendor adds) behind a two-step confirm + revert flow and the `QBBRIDGE_WRITE_MODE` gate, installer/docs/tests, Zed + CI wiring, and the new **`mcp-ai-wpoos-qb-desktop`** skill.
- 🧠 **Cognition memory layer (#7501).** On-device memory in the Cognition app — a Rust `memory` module (chunker, embed, index, term scoring, controller, models) with **hybrid retrieval and safety gates**, SQLite migrations + storage wiring, new IPC commands, and Diagnostics/Home/Settings surfaces (228 lines of memory tests).
- 🧩 **Shared design-import core (#7497/#7498).** New **`packages/nvoos-design-import` 0.1.0** extracts the design-import pipeline (with a unified color-conversion core and webfont harvesting) out of the forge/storefront; storefront gains scroll reveals + webfont harvesting and the combo-box popup fix.
- 🔌 **Gateway, knowledge base, and skills (#7446/#7460/#7462/#7487).** Gateway **0.3.2** publishes the config-driven demo key on the landing page; the **Claude gateway plugin moves to 0.1.1**; `packages/nvoos-mcp-bridge` honours `MCP_AI_ENV_FILE`; leaked credentials are redacted from the skill docs. The shipped **profession knowledge base** is refreshed and **CI-enforced** (`tests/test-knowledge-base-facts-sync.php` — version stamp, product name, 18 providers and the tool-count line asserted across the canonical files and their Content Graph mirrors). Astro skills document the 126 clusters, the band-fact render paths and the capture arc; the git-ops skill recovers learnings a squash dropped.
- 📦 **Versioning** — bumped to **1.2.18** across all version-bearing files (plugin header, `WP_MCP_AI_VERSION`, `WP_MCP_AI_PRO_VERSION`, `package.json`, readme.txt Stable tag). Pro addon: 1.2.18. Model catalog: **v2026.11.03** (unchanged — 251 models). Provider count: **18** (unchanged). Addon count: **32** (unchanged — MCP Gateway 0.3.1 → 0.3.2, Claude Gateway Plugin 0.1.0 → 0.1.1). Sub-projects: forge-bridge **0.1.0 → 0.3.0**; new `nvoos-design-import` **0.1.0**; astro-forge 0.1.1, storefront 0.4.2, astro bridge 1.1.3, Cognition 0.3.0 and mcp-bridge 0.1.0-alpha.5 unchanged. Media Worker: **3.4.0** (unchanged). Bundled skills: **77** base + **41** Pro (unchanged — the plugin + dictation-app bundled copies re-verified byte-identical). Coding-time agent skills: **81 → 82** (+`mcp-ai-wpoos-qb-desktop`). Tool count: **~358 base + ~1,388 Pro (~1,745 total — +10 Pro)**; live registry authoritative. Security classes: **12** (unchanged). **PHP floor: 7.4 → 8.1.** Stale build ZIPs removed: the 1.2.16 oOS set (30 files — 6 root ZIPs + 3 `.sha256` + 2 optional-components + 19 toolkit-addons) plus the superseded root `nvoos-astro-bridge-1.1.1.zip`; the 1.2.17 set stays as the current fallback.
### v1.2.17 — November 04, 2026
#### Embedded Checkout, Woo-Owned Catalog Migration, Document OCR, November Model Catalog
- 🛒 **Astro storefront content & checkout wave (Proposals 104–108, #7395/#7396/#7399/#7400/#7404–#7414).** Proposal 104 lands on both apps — theme re-applied on every `astro:after-swap` (the white-flash fix), server-rendered PDPs with 301 canonicals + a draft guard, schema-dts JSON-LD + satori OG cards, the bearer-gated tag-based `/internal/revalidate/` purge endpoint, per-response hashed CSP, and the forge's Phase 4 parity cluster. Proposals 105/106 add the bridge theme policy (`GET/PATCH /globals/theme`) + shop globals, variant-selector islands with per-variant `offers`, the `/pages/` + `/blog/` SSR routes with hybrid local content, and the pure Woo-comma checkout handoff. Proposal 107 ships the `content_*` MCP slice (draft-first, unflippable approval states) + the **Pages/Posts workbench** and renames the bridge to **NV oOS Astro Bridge**. The Q6 component library executes — Incluud adapted with MIT attribution, **Zag.js adopted headless** (dialog/combobox a11y state machines, every visual NV-authored) — and promotes into `faq` accordion + `tabs` content blocks. Proposal 108 hardens the checkout: same-site/allowlist URL validation (typed 400s), the Store API cart-sync proxy (variants + coupons), the `/checkout/thanks/` continuity + optional HMAC Woo SSO (default off), and `shop_get`/`shop_update` on `/mcp`.
- 💳 **Embedded checkout via the Store API (Proposal 110) + native→Woo migration (Proposal 112, #7428/#7430/#7433/#7437/#7438/#7442).** The full `/checkout/` island rides the bridge's five checkout routes (merged draft-order doc, Woo-side validation, rates/coupons, place-order with `expected_total` 409 drift handling, per-session + per-IP limits) with Stripe Payment Elements behind a per-document CSP scope — no raw card inputs (PCI SAQ A/A-EP). The prod-trace fixes land typed 502s (capture-then-check), **in-process** Store API dispatch (Cloudways' WAF can no longer intercept the loopback), and the Stripe `csp-nonce` meta (no `unsafe-inline`); the bridge **Settings page** + hosted-checkout interstitial ship with the constant-drift fix. **Storefront 0.4.2, bridge 1.1.3.** Proposal 112 (owner Option B — the Woo-owned catalog): the one-time idempotent `NativeCatalogMigrator` (SKU-keyed anchors, terms materialized before save, deferred term-counting batching, Action Scheduler sweep), `wp nvoos-astro-bridge migrate-native` (dry-run by default) + the Settings-page migration panel, promotion carry via `_nvoos_bridge_promotion_id` — native-source retirement comes a release later.
- 📄 **Document OCR pipeline + DeepSeek-OCR tier (Proposals 109/111, Cognition sub-project, #7425/#7427/#7429/#7432/#7434/#7439/#7441).** PDF + multi-page TIFF + raster images flow through the hybrid text-layer-first router into on-device OCR with optional local-VLM polish and txt/md/hOCR/ALTO + searchable-PDF export; **word-level boxes** retained through hOCR `ocrx_word`/ALTO `<String>` output; PDFium runtime ships in the Windows bundles. The DeepSeek-OCR tier escalates weak pages to a local model (Ollama native `/api/chat` — the OpenAI-compat mount drops image features for the `deepseekocr` architecture, live-verified) behind budget/confidence gates with `PageProvenance::Model` stats and a Documents settings tab.
- 🧠 **November 2026 model catalog refresh (Track B, #7416/#7417/#7440).** Catalog **v2026.11.03 — 251 models, 18 providers**: `gpt-6.1-sol` becomes the default (light `gpt-6-luna`, image `gemini-nano-banana-2.1`, high-token fallback `gemini-3.5-flash-lite`), the gpt-4.1 family deprecates toward the 2027-01-14 shutdown, and the 31× gemini-2.5-flash + 48× gpt-4.1 fallback sweep runs; the `lib/core` + Content Graph mirrors port in lockstep (#7417 — 868/868, 1202/1202, 890/890 matrices) and #7440 closes the 11-site test drift.
- 🔌 **Gateway 0.3.1 + Claude Code plugin (#7418/#7420/#7444/#7445).** Every advertised tool's annotations normalize to the three safety booleans the OpenAI portal scan requires (pessimistic defaults, `deep_research` override); the ChatGPT registry entry republishes at **0.3.0** with the Tier-1 smoke recorded. The new **`claude-gateway-plugin` addon 0.1.0** ships the directory-ready Claude Code entry (sensitive `userConfig.api_key` → Bearer binding, no executable surfaces, Pages privacy/terms) with the validator kept out of the distribution and the depth-1 snapshot mirror sync.
- 📊 **Pro Schedule Manager Runs & Reports + fleet overview card (#7411/#7412).** Per-schedule run history (report strip with success rate + avg/p95 + overdue flag, three chart recipes, expandable action-log disclosures, captured result envelopes, CSV export) and the landing-tab fleet card (`GET /mcp-ai-pro/v1/schedules/fleet-stats`, no new storage).
- 📚 **Docs, skills & CI (#7397/#7398/#7401/#7431/#7436/#7443).** GitHub release bodies carry the Release History + CHANGELOG detail; gateway/cognition mirror syncs shallow-checkout (the ~38 GiB pack fix); the #7435 className CI-blocker lands with the unmasked-exit-code discipline; astro-storefront/git-ops/gateway-ops/dictation-app/test-suite/astro-forge/wporg-submission absorb the session learnings. Coding-time skills: **81** (in-place updates only).
- 📦 **Versioning** — bumped to **1.2.17** across all version-bearing files (plugin header, `WP_MCP_AI_VERSION`, `WP_MCP_AI_PRO_VERSION`, `package.json`, readme.txt Stable tag). Pro addon: 1.2.17. Model catalog: **v2026.10.03 → v2026.11.03** (251 models). Provider count: **18** (unchanged — media providers never counted). Addon count: **31 → 32** (new claude-gateway-plugin 0.1.0; MCP Gateway 0.3.0 → 0.3.1). Sub-projects: bridge **1.1.0 → 1.1.3**, storefront **0.4.0 → 0.4.2**. Media Worker: **3.4.0** (unchanged). Bundled skills: **77** base + **41** Pro (unchanged). Coding-time agent skills: **81** (unchanged). Security classes: **12** (unchanged). Tool count: **~358 base + ~1,378 Pro (~1,735 total — unchanged)** — zero registry diff in-window; live registry authoritative. Stale build ZIPs removed: the 1.2.15 oOS set (30 files — 9 + 2 + 19) + the superseded astro-bridge v1.0.1/v1.1.0/v1.1.1/v1.1.2 ZIPs (4 files); the 1.2.16 set stays as the current fallback.
### 📋 Previous Releases
| Version | Date | Highlights |
|---------|------|------------|
| **v1.2.16** | Nov 2026 | Deep-research reliability (validation gate, `research_status`/`research_result`/`research_cancel`, thinking-model ladder); Abilities MCP-adapter interop (raw `WP_Error`, pessimistic annotations); ChatGPT plugin directory + gateway OAuth go-live (MCP Gateway 0.3.0; new chatgpt-gateway-plugin 0.1.0); **Cognition 0.3.0** (rebrand, first-party console window, on-device screen OCR); Forge Bridge wp.org-ready + forge npm 0.1.1; glob 14.0.2 overrides; the Zed skill-catalog description budget fixed (51,016 → 46,304 B); addons **30 → 31**; coding-time skills 81 |
| **v1.2.15** | Nov 2026 | Astro Forge end-to-end (Proposal 096, Phases 0–4, MIT) + design-language import (098: `design_analyze`/`compare`/`plan`/`theme`) + Proposal 095 completion (nvoos-astro-mcp 0.2.0 CMS and ops slices, state-file durability, per-IP rate limits); console branding from the site title + opt-in Records browsing; `npx` bridge manager sessions (npm 0.1.0-alpha.5, `MCP_AI_LOGIN_URL`); MCP Gateway live on the official MCP Registry (0.2.0); Proposal 099 + PKCE harness; dictation release pipeline fixed (`nvoos-dictate-v0.2.0`); 44-alert dependency sweep incl. the astro-bridge zod 3→4 `.refine()` fix; two new skills (**79 → 81**); content-graph 1.0.12 mirror |
| **v1.2.14** | Oct 2026 | Astro storefront lands (Proposals 092 + 095) — bridge rename + `/manage` cookie-auth restored, DTCG token pipeline + `nvoos-astro-mcp`; F&B multi-connection Drive routing (093); Google Workspace fallback + restricted-assistant settings grant; MCP gateway policy layer (094); commerce tabs regrouped; asset-leak and OKF ordering fixes; three new coding-time skills (76 → 79) |
| **v1.2.13** | Oct 2026 | Dify parity gap-fill (workflow DSL export/import, prompt versioning, ordered fallback chains, OTel GenAI spans + opt-in OTLP exporter, annotation store + `export_annotation_dataset`); console pagination/loading states/role gating; magic-link session identity + Breeze cache exclusions; OAuth `redirect_uri` encoding + Remote Sites assistant scoping; Proposals 091/092; +1 Pro; coding-time skills 76 |
| **v1.2.12** | Oct 2026 | Magic-link sign-in (CSPRNG tokens, 15-min single-use, anti-enumeration, rate limits); native addon islands replace iframes (docs-hub, media studio, document editor); registry-backed assistant tool picker; console Connections page over `mcp-ai-pro/v1/remote-sites`; commerce console surfaces; tool-schema bounds sweep (763 integer fields, 8 object maps, 7 root combinators); console fixes (records 404, settings contract, dark mode, Paper Store); coding-time skills 76 |
| **v1.2.11** | Oct 2026 | Velocity caching layers + backend shared-cache opt-in; SSE long-run offload (Proposal Phase 4b); Complete Console login, sign-out and session-expiry gate; console REST bridges fixed on front-end requests; profession ballooning fixed; dependency advisory sweep (67 of 74 alerts closed); Proposal 086 chat transport; content-graph 1.0.12; coding-time skills 76 |
| **v1.2.10** | Oct 2026 | Console migration Phase 5b–5d (cost/analytics/blueprints/command-centre bridges) plus the React hook-order and blueprints-500 crash fixes; server transcript storage meter; dependency advisory sweep (14 of 16 alerts closed); full tracked-bundle rebuild after 13 days of lockfile-only staleness; standalone SPA endpoint sync; spa-ui rebuild discipline, dependabot Step 7 and the Schedule Anything WebShield failure class; coding-time skills 76 |
| **v1.2.9** | Oct 2026 | Complete Console Velocity app (Proposal 083) + the admin-console migration Phases 0–4d (Proposal 084 — feature flags, schema-driven settings, ops/diagnostics/token-manager, P9 Schedule Manager + Workflow Builder) and nine SPA/REST contract fixes; Schedule Anything full visibility (platform 0.1.2 — live `sa-tools` palette, tier/entitlement facets, flowhub + shopify-sync rows); magic-login routes, opt-in debug logging, memory-graph bridge seams; vite 8.2.4 + hono ≥4.13.11; coding-time skills 76 |
| **v1.2.8** | Oct 2026 | Schedule Anything presets/toolkits REST API + Platform single-site self-provisioning (0.1.1); F&B ingest × media-worker offload + Excel serial-date fix; MCP OAuth authorize hardening (exact redirect URIs, nonce-bound consent); WP-CLI integration gaps closed (40-toolkit settings map); chat composer vertical expansion; Gmail body/attachment text; dictation macOS universal builds + boot smoke; Schedule Anything Velocity app; `handlebars` advisory |
| **v1.2.7** | Oct 2026 | F&B universalisation + open-format ingestion (Proposal 078 — tenant profile, token renderer, CSV/PDF report exporter, `fnb_export_report`); Sinhala-native TTS (`generate_sinhala_speech`); Pro SPA multi-page expansion (docs/media/documents framings); dictation-app skill bundling (base bundled 77); tool-schema `required`/`properties` hardening for DeepSeek; Google Workspace unification + native Sheets reading; framed SPA credential auth + keep-alive hub tabs; `@modelcontextprotocol/sdk` 1.31.0; +1 base +1 Pro |
| **v1.2.6** | Oct 2026 | Drive OAuth restored (`drive.readonly` alongside `drive.file`); F&B Sheets-worksheet reader + 18-table CSV dataset + workbook fallback; Drive 400 body logging + `folder_id` clear; self-hosted OCR vLLM contract rewrite; dictation browser agent (CDP ReAct + HITL) + FastConformer engine; NV oOS multi-SPA hub + Pro SPA v2 fixes; shell-quote advisory |
| **v1.2.5** | Oct 2026 | GTmetrix × WPCode performance toolkit (Proposal 068 — 24 Pro tools incl. `list_wpcode_snippets`); F&B Phase 9 (10 Pro tools — CPT backends + purchase requests); dictation-app hardening wave (0.2.0, Credential Manager backend, whisper speed fix); local LLM polish + video input; vision object detection + VLM label polish; two new skills (71 → 72); +34 Pro |
| **v1.2.4** | Oct 2026 | MCP client-quirk hardening (Proposal 066 — the `WP_MCP_AI_Tool_Schema_Auditor`, skip-with-reason, `listChanged`); nvoos-chart recipe rendering (29 chart types, +1 base `create_chart_fence`); Model Foundry Phase 1 (Proposal 067 — the consent fail-closed Corpus Foundry, +3 Pro exporters); Content Graph explorer page in the Pro SPA; standalone SPA deploy/auth hardening + static-server headers; F&B toggle fix; user-directed partial `@since` reconciliation; three new skills (66 → 69); +1 base +3 Pro |
| **v1.2.3** | Oct 2026 | CORS same-origin enforcement (`WP_MCP_AI_CORS_Guard`, the 12th security class); standalone SPA WordPress login via Application Passwords (Proposal 064); OOS streaming CORS + credential-scoped REST auth fixes; schedule-manager multi-recipient `notify_email`; standalone SPA cookie mode + production proxy + `.env` loading; npm ESM dist fixes (three packages alpha.4, publish deferred); build/deploy fixes |
| **v1.2.2** | Oct 2026 | Chat profiles with server-enforced read-only mode (Proposal 015, the 11th security class); F&B assistant packs A1–A4; Google OAuth production readiness (`drive.file`, Minimal Calendar, revocation); Pro SPA v2 fixes; workflow-builder TS parity + full JS rebuild; docs-hub 0.5.3 + content-graph 1.0.10 sub-project ships |
| **v1.2.1** | Oct 2026 | Version jump 1.1.99 → 1.2.1; Food & Beverage Pro Toolkit (Proposal 062 — 21 gated `fnb_*` tools, 20/20 Check-totals oracle); Docs Hub content tools (5 `docs_hub_*` Pro tools); `mcp_server_info` (+1 base); Docs Hub checkout upsell (0.5.1 → 0.5.2); skill-catalogue gap fixes; Elementor partial-deploy warnings; content-graph 1.0.9; three new coding-time skills (63 → 66); +1 base +26 Pro |
| **v1.1.99** | Oct 2026 | SPA UI stack enhancement (Proposal 060: toolkit-shell 0.3.0, schedule-anything-spa 0.2.0, shipped vitest suites); MCP Gateway OAuth 2.1 resource server (RFC 9728, Phase 1, zero-dep JWT); Docs Hub Playground demo + wp.org Live Preview; gateway listing prep + icon + Claude Code plugin; Figma skills in the default catalogues + catalogue-gap fixes; Gmail body extraction; Complete-ZIP blueprint stripping fixed; Fleet Operator token masking |
| **v1.1.98** | Oct 2026 | Figma-to-Elementor design-to-build pipeline (Proposals 057–059, coding-time skills 62 → 63); Unified Blueprints release-build + gating fixes; gateway sync dispatch + changelog; dependabot sweep (138/166 alerts, 28 deferred in #6930); memory-leak & unbounded-growth hardening (29 findings, PR #6937) |
| **v1.1.97** | Oct 2026 | ECC-inspired agent-harness enhancements (Proposal 056: cascade routing on both engines, `run_assistant_eval` + `scan_assistant_security` +1 base each, hook profiles, session distiller, `suggest_workflows_from_history` +1 Pro); OOS parity gaps closed (35 → 38 features, parity-check CI); MCP Gateway protocol negotiation; 23-package public npm publish wave |
| **v1.1.96** | Oct 2026 | nvoos-mcp-bridge npx package (Proposals 054/055) + Fleet Operator config generators; MCP Gateway addon 0.1.0 (public fleet MCP endpoint, inventory #31); per-request memory cut + bootstrap hardening (lazy tool registry, catalog-migration short-circuit, Pro option autoload fixes, 42 vs 74 MB A/B); media-worker runtime version strings fixed |
| **v1.1.95** | Oct 2026 | Real image processing for the four placeholder tools (worker 3.3.0 → 3.4.0, Sharp + provider edit traits); nine-toolkit hardening wave (unguarded shell calls, nonexistent Gemini method, directory traversal closed); toolkit labels for `list_mcp_tools`; inter-step SSE keepalives; new `mcp-ai-wpoos-toolkit-audit` skill |
| **v1.1.94** | Oct 2026 | ChatGPT Plugin addon + OAuth 2.1 resource-server (Proposal 053, `nvoos_get_profile` +1 base, addon #30); Decision-Scope Guard (Proposal 052 + `ScopeDeclared` sniff); toolkit MCP grant runtime enforcement + OOS chat parity; FlowHub MCP OAuth login proxy; safe-mode REST error masking (correlation `ref`); Site Health fatal/false-positive fixes + Docker hardening; markdown-it bounded-floor bump |
| **v1.1.93** | Oct 2026 | Media worker fleet status monitoring (worker 3.2.0 → 3.3.0, +2 base `get_fleet_status`/`get_site_uptime`); WP-CLI parity & hardening (Proposal 050); FlowHub MCP Apps surfacing; Financial Planner OpenStock parity (Proposal 051, +3 Pro); October 2026 model catalog (v2026.10.03, 18 providers — Z.AI joins); schedule/Media Studio 0.6.1/validators fixes; undici advisory |
| **v1.1.92** | Oct 2026 | Media Studio AI fashion production suite (addon 0.1.0 → 0.6.0, 8 Pro `fashion_*` tools); inline vision data URLs (base64 via the WP server, 2048px cap); provider content + credential edge-case fixes (`WP_MCP_AI_Tool_Research_Content_Normalization`); Pro coverage-manifest regeneration |
| **v1.1.91** | Oct 2026 | FlowHub Connection MCP mode (#6836); MCP App OAuth discovery chain (RFC 8414 → RFC 9728 → 401 probe → OIDC → REST, #6835); OAuth redirect allowlists for LinkedIn/QuickBooks/Mailjet/Yahoo (#6831/#6832); JSON envelope DB-error protection (`WP_MCP_AI_Db_Output_Guard`, #6827); security-events display + orchestration double-render fixes (#6829/#6830); RF-DETR presets + coverage manifest (#6828); nodemailer/fast-uri advisories (#6833/#6834); RF-DETR CG Pro port (#6825) |
| **v1.1.90** | Sep 2026 | RF-DETR vision cognition (Proposal 049, 2 Pro tools + the `roboflow` provider inside `analyze_image_objects`); Upwork MCP-mode MCP Apps references; memory identity resolution + cross-agent access closure (`manage_options` gate — the IDOR closed); strict MCP assistant-scope toggle; letterhead personalization; js-yaml/webpack-dev-middleware advisories |
| **v1.1.89** | Sep 2026 | Google Classroom ECA integration (Proposal 046 — shared `includes/google/` Classroom foundation, 12 flag-gated Pro tools, `google-classroom/webhook` route); Design System rename 0.1.0 → 0.3.0 + token-driven email templates (Proposals 047/048, 8 addon-provided `nds_*` tools); Upwork MCP connection mode; vision/remote/EZuite reliability fixes + per-provider migration-map rewrite; MCP legacy-dialect handshake cache; CodeQL closure (0 open alerts) + ip-address/undici/multer advisories |
| **v1.1.88** | Sep 2026 | Decision-model orchestration Phase A (TypeSafe Jev → router, Proposal 045); MCP Apps OAuth + credential hardening (Upwork loopback fallback, AES-256 at-rest encryption of inline MCP App/Remote Sites secrets); toolkit MCP servers deny-by-default on assistant grants; strict-gateway 400/SSE transport fallbacks; Upwork job-link canonical round-trip; PayHere/Flowhub guarded requires; SaaS Controller 0.1.0 → 0.3.0 (worker secrets + D1 schema in Plan/Apply) + gateway express bump |
| **v1.1.87** | Sep 2026 | mcp-wordpress parity suite (30 native base tools); non-LLM image identification ladder (Proposal 043, 5 base + 2 Pro tools); outbound appointment booking toolkit (Proposal 044, 3 Pro tools); mcp-wordpress gateway addon (addon count 27 → 28); per-session budget warnings + restriction-notice fix; Upwork search + in-place workflow editing |
| **v1.1.86** | Sep 2026 | MCP Apps Remote Sites connection type (encrypted central credentials, JSON-RPC Test/Discover, `connection_ref` reference mode); Higgsfield video/image provider quartet (+4 base tools, Proposal 042); `get_system_logs` filters (`since`/`levels`/`search`); action-items delivery template + smart excerpts; tool-cost labels in final responses; environment-status warning fix; new `design-elementor-mcp-connection` skill |
| **v1.1.85** | Sep 2026 | MCP Apps connection + exposure wave (per-row diagnostics, token masking, negotiated protocol header, bridge tools on every chat surface, in-process same-site bridge); Docs Hub 0.5.1; README consolidation (single 12-entry Release History + Previous Releases table, anchor-validator CI) |
| **v1.1.84** | Sep 2026 | TypeSafe Jev enhancement wave (Phase 0 API fidelity — noul criteria, structured EntryType fields, bounded retries honouring `retry-after`, advisory decision cache, `jev-preview` alias; Phase 1 base `typesafe_guardrail`; Phase 2 Pro Jev integrations + `typesafe_rerank`/`typesafe_eval`/`typesafe_skill_select`; `typesafe_decide` capability alignment; Proposal 040) |
| **v1.1.83** | Sep 2026 | Tool guidance everywhere (~1,487 tools, the severity-5 guidance sniff); TypeSafe Jev decision provider + Pro classifier (`typesafe_decide`, +1 base); the Assistant Builder meta-assistant; P3 ID-handoff data contracts; usage-monitor save fix; webchat SQL + guidance close-out; Pro bootstrap guard + Telegram chunking; Upwork & workflow delivery polish; canonical-envelope migrations |
| **v1.1.82** | Sep 2026 | WordPress Playground demos (Project Asteria + NV oOS Complete × Ollama blueprints); Pro SPA cron_monitor flag + model-store seeding; token-tracking table hardening (CG AI port); result-delivery dedupe + metadata redaction; `[ollama_status]` banner fix; portability coverage guards; `mcp-ai-wpoos-playground-demos` skill (#59) + updates Track C; Docs Hub 0.4.7 |
| **v1.1.81** | Sep 2026 | Shopify UCP mode-aware tools + image cards; FlowHub connection resolution + proxy; JobNavigator CRM + Gmail poller (5 tools); OpenTerminal Financial toolkit (8 tools); multi-recipient result-delivery email |
| **v1.1.80** | Sep 2026 | Assistant export/import everywhere (WP-CLI, REST, admin page, tools; credential hashes never exported); Security Center Usage Monitor sub-tab; Shopify UCP catalog modes replace the deprecated REST API; WP-CLI repairs + native `chat --stream`; WhatsApp webhook self-tests; new `design-brand-assistant-provisioning` + `mcp-ai-wpoos-assistant-portability` skills |
| **v1.1.79** | Sep 2026 | Imaging symlink-deletion hardening (`isLink()`-first removal + `realpath()` containment, byte-identical CG Pro port); Content Graph 1.0.8 Stripe Checkout fixes (billing address + already-licensed gate); Checkout API 0.1.2 license emails + statement descriptor; Docs Hub 0.4.6 wp.org re-upload ready (0 blocking PCP errors); toolkit slash-test repair |
| **v1.1.78** | Sep 2026 | Slash commands as declarative tool wrappers (~10,400 → ~1,000 lines, 36 commands mapped to real slugs, `slash.*` MCP prompts); DeepSeek V4 Pro restored to active ($0.66/$1.98 off-peak) with Content Graph AI mirror catching up; checkout hardening (mtime asset cache-busting, modal price sync, DEFAULT_PRICE_CENTS 3499); Docs Hub 0.4.4 (0 blocking PCP errors); legal consolidation (two-entity seller model); Content Graph 1.0.7 released |
| **v1.1.77** | Sep 2026 | DeepSeek V4.1 Flash refresh (`deepseek-flash` + peak/off-peak cost calculator); knowledge-graph companion onboarding preset; base+pro regression matrix + toolkit gating fix; Pro WP-CLI load-order guard; agent-memory CCT phantom-slug fix; npm bumps; build publish-race fix; Checkout API 0.1.1 + Content Graph 1.0.7 launch; Wave G port clusters complete |
| **v1.1.76** | Sep 2026 | Chat delivery full-report + per-channel formats (Telegram HTML/MarkdownV2 escaping, WhatsApp/Slack/Discord/Teams Markdown, Messenger/Google Chat plain); comic-creation toolkit toggle; NV oOS Complete checkout consent + buyer email + EU billing + Stripe metadata; manual-install primary + legal docs (privacy/AUP/ToS/compliance); playbook-seeder idempotency; security sweeps (tiptap/multer/csv-parse/react-router-dom/svgo/hono/vitest); Docs-Hub ZIP markdown exclusion; Wave F2 port clusters complete |
| **v1.1.75** | Sep 2026 | Telegram delivery fixes (credential normalization + tier-4 Remote Sites fallback); Content Graph memory bridge (write/read graph projection) + NV oOS Complete checkout (conflict-guarded, chunked); Wave F2 financial-planning/social-media/MCP-server/slice-batch ports; nvoos-content-graph 1.0.4 → 1.0.6 |
| **v1.1.74** | Sep 2026 | Google Calendar query encoding fix (raw `+` in RFC3339 offsets → `rawurlencode()`); Result Delivery email formats (Markdown converter + `html`/`markdown`/`both`); Schedule Manager assistant-prompt editing; Wave F2 PM + calendar-booking toolkit ports; MCP-abilities test-infra fix |
| **v1.1.73** | Sep 2026 | Woo tool upgrades (`bulk_update_products` variable scope, `update_woo_product_qty` notify flag); async job-queue table bootstrap fix; Comic Reader 0.5.0 (Komga parity); Docs Hub 0.4.3; Wave F2 + new `nvoos-content-graph-pro` v1.0.0 |
| **v1.1.72** | Sep 2026 | Woo price/qty tools (`update_woo_product_price`/`update_woo_product_qty`) on a shared updater trait; scheduled EZuite/FlowHub sync connection-ID fix; Pro update vendor-integrity check; `gpt-image-2` defaults; ecosystem port Waves D8/E6 + platform Waves E1–E5 + E-UI 1–3 |
| **v1.1.71** | Sep 2026 | REST rate-limit fixed-window rework + Restrictions-tab unlock; MemPalace wing-scope enforcement; September model catalog (217 → 228 models); Content Graph 1.0.4 visual experience; platform E2 queue layer; new `mcp-ai-wpoos-updates` skill |
| **v1.1.70** | Sep 2026 | exec-disabled host shell-call hardening; fifth PHPUnit repair wave (~29 test PRs) with production fixes across transcripts, charts, presets, mesh, memory, REST, and K16 |
| **v1.1.69** | Sep 2026 | Vision Analysis toolkit (Pro); tagDiv admin compat + metabox crash fix; DeepSeek empty-schema 400 fix; ZipSlip guard revival; fourth PHPUnit repair wave |
| **v1.1.68** | Sep 2026 | Pro SPA v2 shortcode + embedded mode; Hermes fleet extensions (`extensions/`); chat-bubble stale-nonce self-heal; Docs Hub 0.4.2; providers disabled by default on fresh installs; third PHPUnit repair wave |
| **v1.1.67** | Sep 2026 | Content Graph Platform extraction v2.0.0 standalone; ecosystem port Wave D + D-UI (Content Graph AI 1.0.4); Google Workspace Gmail/Drive read tools (6 new); ~100-PR PHPUnit repair wave |
| **v1.1.66** | Aug 2026 | ~100-PR PHPUnit suite repair campaign + new `mcp-ai-wpoos-test-suite` skill; Checkout API addon v0.1.0 + Content Graph paid checkout; Content Graph AI 1.0.3 |
| **v1.1.65** | Aug 2026 | OpenAI reasoning-model parameter fix; Media Worker full-Crawl4AI proxy; security-posture findings closed (#5972); chat/REST/transcript hardening; Content Graph wp.org refresh |
| **v1.1.64** | Aug 2026 | Google Calendar connection + shared `includes/google/` foundation (6 new tools); Composio account health + hardening; tool-declared non-loggable result fields; log-hygiene compaction + secret redaction |
| **v1.1.63** | Aug 2026 | Artifact Evolution Phases A–G (gated Darwinian self-improvement loop); Pro Addons install page; chat storage worker offload; test-suite exit-trap sweep (`bin/sweep-tests.php`) |
| **v1.1.62** | Aug 2026 | OKF Bundle Management Phases A–H (10-tool surface + Bundle Manager screen); Pro OKF skills drawer; vector-store tools migrated to the OpenAI Responses API |
| **v1.1.61** | Aug 2026 | Agent identity bridging in memory store/recall; OKF skill-knowledge bundle generator; undici ^7.29.0 jsdom pin; Content Graph wp.org review reply |
| **v1.1.60** | Aug 2026 | Restricted-user flagging + unblocking (Restriction Registry, Restrictions tab, WP-CLI); conversation import to transcript CCT; tool schema normalization |
| **v1.1.59** | Aug 2026 | Media Worker crawling + Crawl4AI facade (v3.2.0); research tools multi-provider hardening; Docs Hub 0.4.1 rebuild + broken-link fixes; ~32 orphaned tools re-registered |
| **v1.1.58** | Aug 2026 | Composio Connect subsystem (6 beta tools); OOS runtime consolidation Phases 0–5.8; standalone plugins renamed to Content Graph |
| **v1.1.57** | Aug 2026 | Plugin updater base-only in-place install rework; Hermes async chat submit/poll; Fleet Operator agent context; provider detection via Credential_Resolver |
| **v1.1.56** | Aug 2026 | Media Worker v3.0.0 multi-tenant shared-worker mode + per-site provider keys; worker routing expansion; Hermes WebUI MCP server + SSH bridge + skill sync |
| **v1.1.55** | Aug 2026 | MCP agent compatibility (HTTP 200 error envelopes, legacy HTTP+SSE transport, settings-driven tool rate limiter); Fleet Operator addon; Media Worker v2.2.0 hardening; DB connection pooling (Proposal 023) |
| **v1.1.54** | Aug 2026 | MCP async tool-response fix; updater integrity check v2; API-key merged-settings fix across 20 research tools; design-skills audit (44 coding-time skills); README TOC anchor fixes |
| **v1.1.53** | Aug 2026 | Shared Analytics Service (7 platform adapters, DTOs, caching, rate limiter); circuit-breaker + backpressure hardening on all 15 providers; agent-skills sync; SSE backoff fixes |
| **v1.1.52** | Aug 2026 | Paper Store remote-site support + REST controller; remote-connection CPT auto-discovery; design-system tool preset (72 tools); post-install integrity check |
| **v1.1.51** | Aug 2026 | Orchestration/harness gap remediation (OWASP LLM Top 10 20% → 60%, EU AI Act 17% → 67%); MCP protocol version negotiation; Media Worker dependency security bumps |
| **v1.1.50** | Aug 2026 | Media Worker sidecar addon (Docker Node.js, 11 service handlers, queue module); Site Health redeclaration fix; npm security fixes; BMAD agent conventions |
| **v1.1.49** | Aug 2026 | Gemini model-resolution fix; update reactivation + release-ZIP cleanup |
| **v1.1.48** | Aug 2026 | Shopify Sync toolkit 7 fixes; PHPCS 3.13.6 (CVE-2026-67434); default skill catalogues; 3 Graphify standalone plugin ZIPs |
| **v1.1.47** | Aug 2026 | MySQL connection exhaustion fix (Cloudways cron overhaul); update-checker cache-bust; Mermaid CVE fixes in canvas-toolkit |
| **v1.1.46** | Aug 2026 | Backup & Restore (Proposal 020, 11 export providers); GitHub-based plugin updater; Abilities API (Proposal 019); status-page fixes; PHPCS cleanup |
| **v1.1.44** | Aug 2026 | CCT stability (4 fixes: mutex lock, FlowHub duplicate, base-plugin fatal w/out lib/core, Veo async context), API key resolution (Gemini video + Veo fallback), Proposal 016 security & architecture hardening (all waves, 277 autoload optimizations, phpcs sweep), Proposal 017 polling/queue/load-balancing hardening (12 weaknesses), Deferred security items #5755 (post meta, term escaping, REST field filtering), npm security (undici >=8.10.0, fast-uri >=3.1.4, ip-address >=10.4.0 across 11 pkg), Docs: FOR_REVIEWERS v1.1.43 update, 16 broken links fixed, Graphify ecosystem audit |
| **v1.1.43** | Aug 2026 | MCP 2026-07-28 stateless core upgrade, Security v1.1.43 hardening (SSRF/CSRF/SQL/XSS/info-disclosure across 16 files), OKF v0.2 trust-signal support, ICP System (Pro CRM Phase G, 7-dimension scoring), Pro Module Registry (PSR-4, 625-line monolithic init decomposed), Hexagonal architecture purity (PlatformFlushInterface), 7 playbook/profession sync fixes, Phase 3 operational security hardening, WPCS 3.4.1 (CVE-2026-45293) |
| **v1.1.42** | Jul 2026 | Security Infrastructure (7 classes, 21 posture signals A-F), Framework-Agnostic Core (lib/core/, 32 contracts, 21 adapters), Status Page & Incident Communication (Pro), 21 Agent Skills + 6 BMAD Agents, Algorave addon (9 tools), Security Hardening (12 fixes, 13 unit tests) |
| **v1.1.41** | Jul 2026 | OKF v0.1 integration (6 tools); security compliance (11 HIGH/P0 fixes); playbook sync fixes; model credential resolution; dependency security bumps |
| **v1.1.40** | Jul 2026 | Content format awareness helper; research → Paper Store → draft pipeline; settings credential split; July model catalog; SSE HTTP/2 fixes |
| **v1.1.39** | Jul 2026 | Meta-Harness auto-optimization (7 phases); agent delegation rework; Pro SPA v2 polish (20+ PRs); tool presets refactor; Veo 2.0 → Gemini Omni Flash |
| **v1.1.38** | Jul 2026 | Page Agent addon v0.1.0 (AI browser page control copilot), Pro SPA v2 major parity & polish (voice pipeline, tasks drawer, workflow tracker, file attachments, tool shortcuts, slash commands, mobile hamburger, autoscroll/viewport fixes, cache-busting, assistant preloading), Per-user chat memory toggle, create_post/save_post Markdown-to-HTML + taxonomy suggestions, Workflow blueprint existing-content awareness, SPA accessibility: annotation pills, ZAP medium findings triaged |
| **v1.1.37** | Jul 2026 | JetEngine Meta Helper universal (25 CPTs, REST, ECA fields), Places enrichment tools, RabbitMQ + queue infrastructure (custom DB tables, health endpoint, worker), Multi-tenant DB isolation Phase 0–4, DSpark admin UI + speculative orchestration, Crocoblock Design System addon (5 phases), Test coverage: 329 tools across 28 toolkits, Docs Hub broken link engine, OWASP ZAP DAST, 30+ bug fixes |
| **v1.1.36** | Jul 2026 | EZuite Inventory Sync Pro Toolkit, Ralph Loop CCT migration + circuit breaker, JetBooking/JetAppointment (8 tools), Moonshot/Z.AI provider parity (15 total), Unified Sync Log Manager, Tool Presets Auto-Select + Chips Bar, HTTrack Cache + Place-to-Service Bridge, Generate Default Mapping + read-only sync, 45+ bug fixes |
| **v1.1.35** | Jun 2026 | FlowHub Inventory Sync Pro Toolkit (6 tools), Shopify Sync Pro Toolkit (5 tools), Necessity Gate Layer J (irreversibility-weighted safety), Local Voice Embedded STT (3 backends, offline-first), Remote Site Administrator blueprint (22 tools), Places & Calendar bulk import, CLI site-import subcommand, voice realtime auto-detect, 7 bug fixes |
| **v1.1.34** | Jun 2026 | GPT-Realtime-2 voice models with WebRTC + Translate/Whisper + reasoning, multi-channel result delivery UI (11 channels, up from 4), pro scheduler AI/workflow delivery, Graphify ecosystem: remote drivers, WP 7.0 Connectors, wp.org compliance, 3 reasoning-tool fatal bugs fixed, CRM deal import + multi-source auto-import, Upwork/LinkedIn mode toggle, Docs Hub REST + settings sync fixes, http-proxy-middleware CVE, Gemini cache fix, GPT image routing fix, FastAPI porting plan |
| **v1.1.33** | Jun 2026 | WP 7.0 Connectors credential integration across all 17 AI clients with source badges, nvoos-graphify v1.0.0 release (Plugin Check compliant), 3 guzzlehttp CVEs + undici override, 29 npm alerts across 14 packages, 2 bug fixes (Pro tool paths, JSON-RPC warning leak), 15 dependabot bumps |
| **v1.1.32** | Jun 2026 | Content Format Templates + Featured Image Service (3-provider fallback), Result Delivery Pipeline (8 channels), ECA document generation, duplicate posts fix, 6 provider clients timeout fix, schedule trigger stability, Paper Store delete fix, ECA settings/attachment fix, npm CI & Jest resilience, 14 dependabot bumps + 8 npm audit CVEs |
| **v1.1.31** | Jun 2026 | Media Command Center, Pro SPA v2 (rich rendering, assistant scoping, agent selector, v2.0.1), 34 workflow preset tools, npm audit CVEs (12 resolved), Gemini 3.1 flash image default, Media toolkit blueprints & presets, stream_options, agentic-loop cost tracking, Vite CVEs, 1,658 PHPCS lint fixes, CI disk space, data integrity fixes |
| **v1.1.30** | Jun 2026 | Chat SPA Phase 8, PM Toolkit A–D, CRM duplicates/hygiene/analytics, DietPi Pro Toolkit, LibreChat Addon, Layer I Guardrails, Context Window Management, WP 7.0 Bridge, Pro Toolkit Optimizations, OAuth disconnect, 30+ fixes |
| **v1.1.29** | Jun 2026 | Bug-fix & stabilisation sweep: chat bubble assistant dropdown, context-window pre-flight validation (13 providers), OpenAI SSE `stream_options` fix, schedule-preset + playbook-orphan fixes, CRM activity/due-date fixes |
| **v1.1.28** | Jun 2026 | CRM Phase C complete (IMAP, SMS, WhatsApp ingestion), Customer CPT + 360 dashboard, Support Ticket module (10 AI tools + SLA), QKV Attention Routing, Funiq Bridge addon, NVOOS Graphify ecosystem (3 standalone plugins), NV Platform AI addon, automated demo video pipeline, TF-IDF + BM25 relevance search |
| **v1.1.27** | Jun 2026 | Real-time SSE streaming for all OpenAI-compatible providers, 35 new OOS core tools migrated, JFB submission tools — 8 fixes, Extended Cognition vision recognition, DeepSeek agentic tool handling, 9 HIGH-severity security findings fixed, 95% PHPUnit failures resolved |
| **v1.1.26** | Jun 2026 | Cross-Platform Extraction Engine Phases 0–2, Site-Builder Node-Graph Pipeline, SPA a11y hardening (WCAG 2.1 AA), 108 admin screenshots, docs reorganized into 12 directories |
| **v1.1.25** | May 2026 | Unified Blueprint System (55 blueprints across 25 toolkits), Cloudways Pro Toolkit (60 tools), CRM Toolkit Phases A–E (70+ tools), Chat UI 7-feature enhancement, Unix-theory Phase 4–5 |
| **v1.1.24** | May 2026 | Chat SPA fixes, Unix Theory P0/P1 refinement, CVE patches (tmp, symfony/cache), Paper Store admin CRUD, folder README convention |
| **v1.1.23** | May 2026 | Zed-inspired SPA architecture, Antigravity Interactions API rewrite, TypeScript upgrade, Comic Reader & Media Studio v0.3.0 |
| **v1.1.22** | May 2026 | Baseten provider (11th), CoSAI secure-by-design agentic system, Continual Harness P5, SaaS Controller P2/P4, npm VAD/Chat-Bubble/Memory-UI packages |
| **v1.1.21** | May 2026 | WP.org compliance complete (50/50 findings), canonical return envelope enforced, semantic compression, AI prompt caching layer |
| **v1.1.20** | May 2026 | Memory Layer 2026 Phase 7 — chat memory drawer UI complete |
| **v1.1.19** | May 2026 | Kimi provider (10th), ACP Server, MCP Bridge, Unix Theory P7, 9 HIGH security findings fixed, chat bubble sweep |
| **v1.1.18** | May 2026 | Unix Theory P0–P6, DigitalOcean Serverless Inference (9th provider), async chat continuation, jobs/tasks drawer, Toolkit MCP Servers Phase 7 |
| **v1.1.17** | May 2026 | WP.org compliance (42/50), Chat SPA Phases 1–7, Docs Hub v0.3.8, coverage campaign |
| **v1.1.16** | May 2026 | SaaS Controller Addon v0.1.0, structured logging integration, WP.org compliance hardening (B3, B8, B10, B13) |
| **v1.1.15** | May 2026 | OpenRouter + DeepSeek providers (7th & 8th), Orchestration Phases 1–7, LLM Harnessing GA, Memory Bridge G-series, Graphify data-source bridge |
| **v1.1.14** | May 2026 | Agent Skills v2 (45 skills), Markup Subsystem (Base), MemPalace Capture Framework, Graphify CPT/CCT suite |
| **v1.1.13** | May 2026 | OpenAI Images 2.0 (gpt-image-2), durable agent-memory bridge Phase 4a/4b, AI Harmonization toolkit, production Composer autoloader |
| **v1.1.12** | Apr 2026 | Architectural Design Toolkit Phases A–E, Graphify Federation/RAG, Tier 4 Browser-AI Runtime (Transformers.js v3.8.1), security patches |
| **v1.1.11** | Apr 2026 | WP.org compliance hardening |
| **v1.1.10** | Apr 2026 | Security audit summary (0 Critical, 5 High), production vendor autoload, Veo 3.1 fix |
| **v1.1.9** | Apr 2026 | Measurement Subsystem GA, PHPUnit 11 upgrade, Graphify v0.5.0 restored, orchestration reference |
| **v1.1.8** | Apr 2026 | Erlang C workforce tools, full tool-reference audit, WP.org compliance re-audit, MCP Apps per-assistant remote connections, CRE Debt toolkit (57 tools), 36 Pro professions + 17 teams, A2A protocol, Agent Command Center, floating chat bubble, JetEngine 3.8 MCP Server bridge, Anthropic/Gemini subscription tier support |
---
## 🚀 Features
> **Note:** Some features require third-party plugins (WooCommerce, JetEngine, Elementor, etc.). See [🔌 What You Lose Without Third-Party Plugins](#-what-you-lose-without-third-party-plugins) for details.
### Assistant & conversation tools
- 🧠 Create AI Assistants via a custom post type (`mcp_ai_assistant`)
- 👔 **Professional & Team Templates** - Deploy assistants from ~311 pre-built profession templates spanning 12 industry categories, or create entire teams of specialists with one click. Includes backend testing for professions, teams, and assistants before public deployment.
- 🚀 **Getting Started Wizard** - Guided 4-step onboarding (`/wp-admin/admin.php?page=wp-mcp-ai-getting-started`) that walks new users through provider setup and use-case selection. Selecting a preset (Content Creator, Customer Support, E-commerce, SEO & Research, Developer Copilot, Media & Creative Studio, Site Administrator, or General Purpose) seeds a fully-configured assistant with tools, system prompt, and tuned temperature — ready to use immediately.【F:includes/admin/class-wp-mcp-ai-onboarding-wizard.php†L1-L53】【F:assets/js/onboarding-wizard.js†L1-L303】
- 🔄 Automatic synchronization to JetEngine Custom Content Types when available (CPT → CCT)
- 💬 Chat interface via `[mcp_ai_chat assistant="ID"]`
- 🧰 Per-assistant defaults for model, temperature, system prompt, and knowledge attachments with permission-aware download URLs
- ⚡ Build reusable prompt shortcuts with optional tool targeting and inline descriptions so operators can trigger common tasks with one click.【F:includes/assistants/class-wp-mcp-ai-assistant-cpt.php†L893-L1048】【F:includes/class-wp-mcp-ai-shortcode.php†L430-L693】【F:assets/js/chat.js†L600-L666】
- 🧊 Elementor widgets for embedding chat surfaces, onboarding content, and MCP dashboards inside Elementor
### Language routing & knowledge management
- 🔁 Route conversations through OpenAI or Gemini using a provider-aware language model router
- 🎯 Enhanced Gemini API integration: list models dynamically, count tokens for budget management, create embeddings for RAG/semantic search, and streaming support for real-time responses【F:docs/reference/api/gemini/gemini-api-enhancements.md†L1-L100】
- 🧠 Assistant knowledge base management with Media Library files and optional vector store IDs
- 📚 **OKF (Open Knowledge Format v0.1)** engine with 6 MCP tools for curated, deterministic knowledge with cross-link navigation — complementary to vector/RAG stores
- 🔎 Perform lightweight web searches (DuckDuckGo or Brave) without leaving the assistant conversation
- 🌐 Crawl4AI job runner tool for large-scale content gathering workflows
### Media generation & transcription
- 🔊 Generate speech audio via OpenAI's Text-to-Speech API and save the result to the Media Library
- 🎵 Generate instrumental music using Google Gemini Lyria with controls for genre, mood, tempo, and instrumentation
- 🎨 Generate on-brand imagery with OpenAI's Images API, honouring the configured response format (including GPT-Image-1's `url` responses) and storing the files as WordPress attachments
- 🖼️ Generate images with **Cloudflare Workers AI** using Stable Diffusion, Flux-2 Dev, Leonardo AI (Lucid Origin, Phoenix 1.0), and other text-to-image models with configurable dimensions and generation parameters
- 🖼️ Vectorize raster images (PNG, JPEG, WebP, GIF) to SVG format using @neplex/vectorizer with configurable quality settings - perfect for logos and icons
- 🎨 Comprehensive graphic editing with Graphic Editor Plus combining local operations (logo overlay, smart resize) and AI-powered features (style transfer, background removal, enhancement)
- 🏗️ **Pro:** Generate professional architectural drawings (floor plans, elevations, sections) with building codes, dimensions, and material specifications - designed for construction professionals
- 🎧 Transcribe or translate uploaded audio with OpenAI's speech-to-text endpoints
### Commerce & finance workflows
- 🛍 WooCommerce-aware tools (fetch orders or products, requires WooCommerce)
- 📊 Finance-ready QuickBooks Online reporting tool for surfacing Profit and Loss, Balance Sheet, and other statements inside assistant conversations【F:includes/tools/class-wp-mcp-ai-tool-get-quickbooks-report.php†L15-L214】【F:includes/admin/class-wp-mcp-ai-admin-settings.php†L906-L955】
- 🖥️ **Pro:** QuickBooks Desktop sync via QODBC relay API — connect to QuickBooks Desktop through a Windows relay server for data synchronization
- 🛒 **Pro:** Shopify integration with auto-resolved connections — `connection_id` auto-resolved from assistant context, covering products, orders, customers, inventory, and catalog tools
- 🚗 **Pro:** Vehicle estimation tools — VIN decode (NHTSA vPIC), image-to-repair-estimate pipeline, and car wash package pricing engine (always available)
- 📸 **Pro:** Listing image download tools — bulk-download Google Maps, Facebook, and Instagram business listing images into the Media Library or ZIP
### Slash Commands & Workflow Automation ⭐ **NEW**
- ⚡ **8 Core Commands**: `/help`, `/next-task`, `/ship`, `/clean-content`, `/optimize-perf`, `/sync-docs`, `/workflow` - Command-line style interface for content management
- 🔄 **Workflow Orchestrator**: Multi-step workflow execution with state management, conditional logic, and human-in-the-loop checkpoints
- 🛠️ **21 Pro Toolkit Commands**: Specialized commands for E-commerce (6), Social Media (6), and Video Production (6) toolkits
- 🎯 **7 Automated Workflows**: Pre-built workflow templates for abandoned cart recovery, social media campaigns, video marketing, inventory management, and more
- 🔐 **Security**: Capability-based authorization, rate limiting, comprehensive audit logging
- 💡 **Integration**: JavaScript autocomplete, REST API endpoint, WP-CLI support
- [Documentation →](docs/user-guides/slash-commands/SLASH_COMMANDS_GUIDE.md) | [Pro Commands →](docs/user-guides/slash-commands/PRO_TOOLKIT_SLASH_COMMANDS.md)
### Chat Channels & Messaging Integration ⭐ **NEW**
- 💬 **Chat Channels Toolkit (47 Tools)**: Integrate with 11 platforms - Telegram, WhatsApp, Slack, Discord, Microsoft Teams, Facebook Messenger, Apple Messages for Business, Google Chat/Spaces, Twitter/X, Office 365 (Outlook + OneDrive), iCloud Drive
- 📧 **Office 365 Integration** ⭐ **NEW**: Send and retrieve Outlook mail, list/download/upload OneDrive files via Microsoft Graph API (5 tools)
- ☁️ **iCloud Drive Integration** ⭐ **NEW**: List, download, and upload iCloud Drive files via a configurable gateway service (3 tools)
- 🌐 **Unified Broadcasting**: Send messages across multiple platforms simultaneously with `unified_channel_broadcast` tool
- 🏠 **WebChat Rooms**: Custom post type for real-time collaborative chat rooms with AI assistant assignment
- 📝 **Message Persistence**: JetEngine CCT integration for permanent message history
- 🔊 **WebRTC Support**: Self-hosted WebRTC signaling via WordPress REST API for voice/video
- 🤖 **AI-Powered Rooms**: Assign dedicated assistants to chat rooms for automated support
- [Chat Channels Guide →](addons/pro/docs/CHAT_CHANNELS_TOOLKIT.md) | [WebChat Setup →](addons/pro/docs/WEBCHAT_ASSISTANT_ASSIGNMENT.md)
### Communications & outreach
- ✉️ Mailjet-powered outbound email automation with granular capability enforcement and sender defaults configurable in the MCP settings.【F:includes/tools/class-wp-mcp-ai-tool-send-mailjet-email.php†L19-L405】【F:includes/admin/class-wp-mcp-ai-admin-settings.php†L1008-L1054】
- 📅 Google Workspace automations for creating calendar events and searching connected Gmail inboxes directly from assistant workflows.【F:includes/tools/class-wp-mcp-ai-tool-create-google-calendar-event.php†L1-L200】【F:includes/tools/class-wp-mcp-ai-tool-search-gmail.php†L1-L200】
- 🧾 JetFormBuilder orchestration for listing forms, reviewing submissions, and proxying REST calls on behalf of assistants (requires JetFormBuilder)
- 📚 JetEngine REST route reference tool for surfacing endpoint metadata inside AI workflows
- 🧱 Ready for extension with ChatKit integration
### Integrations, security & controls
- 🔧 Tool Registry for registering PHP functions callable by the AI
- ⚙️ JetEngine integration for dynamic content queries (requires JetEngine)
- 🔌 **JetEngine 3.8 MCP Server Bridge** ⭐ **NEW** - JSON-RPC 2.0 client bridges NV oOS into JetEngine's native MCP Server with 7 new Pro tools for CPT/taxonomy/meta field creation, relations management, site context grounding, and prompt template access. MCP-first dispatch with REST v2 fallback.
- 🤝 **Agent-to-Agent (A2A) Protocol** ⭐ **NEW** - Full A2A protocol making NV oOS assistants discoverable and interoperable with any A2A-compliant agent. `/.well-known/agent.json` discovery, JSON-RPC 2.0 server with task state machine, A2A client for remote agent delegation, push notification webhooks.
- 📊 **Agent Command Center** ⭐ **NEW** - Unified agent management dashboard with 7 tabs: Overview (KPI cards, live status), Activity Log, Active Tasks, Approvals (human-in-the-loop), Analytics (Chart.js with real per-agent metrics), Uptime & Health, and Strategy (efficiency scoring with recommendations).
- 💬 **Floating Chat Bubble** ⭐ **NEW** - Configurable floating chat bubble widget for Elementor and Gutenberg. 4 position variants, 3 sizes, bounce/pulse animations, dark mode, WCAG focus states, sessionStorage persistence.
- 🧷 Granular control over allowed attachment MIME types for chat uploads
- 🔐 Secure REST API endpoints
- 🔑 **Root Security Key** - Optional wp-config.php constant that can be enabled during emergency shutdown to require authentication before re-initializing the plugin. Provides an additional layer of protection against unauthorized reactivation after security incidents.【F:docs/features/security/root-security-key.md†L1-L511】【F:includes/class-wp-mcp-ai-root-security-key.php†L1-L360】
- 🛰 Assistant directory endpoint that advertises MCP tool/resource capabilities and negotiates Server-Sent Events handshakes for clients such as LM Studio or Claude Desktop.【F:includes/class-wp-mcp-ai-rest.php†L520-L666】【F:includes/class-wp-mcp-ai-rest.php†L1690-L1772】
- 📝 Full JSON-RPC 2.0 MCP endpoint (`/mcp`) for standards-compliant remote client communication
- 🔑 Configurable API credentials and defaults for OpenAI, Gemini, and Anthropic (with subscription tier support for Team/Enterprise plans and custom base URLs)
- 🤖 ChatGPT’s connector beta currently requires an Auth0 tenant; the plugin’s assistant credentials are compatible with LM Studio, Claude, and other MCP clients that support bearer headers directly.【F:docs/reference/api/mcp-server-authentication.md†L22-L46】
- 🌐 **Mesh networking** for distributed compute pooling across multiple WordPress sites. Server-to-server architecture enables anonymous and authenticated users to benefit from shared AI resources, budget pooling, and workload distribution across 100+ trusted peer sites. Backend assistants coordinate mesh operations via secure inter-site keys while maintaining user attribution and audit trails for compliance.【F:docs/features/federation/mesh-compute-pooling.md†L1-L615】【F:includes/tools/class-wp-mcp-ai-tool-query-remote-site.php†L1-L237】
- 🔗 **Federation & Discovery** - Decentralized AI capability network allowing WordPress sites to publish their capabilities via well-known endpoints (`/.well-known/ai-peer`) and discover peer sites through directory services. Supports peer registration, health verification, search & ranking by capability/region/policy, and automatic cron-based health monitoring. Enable federation to join the network or run your own directory service for private peer discovery.【F:docs/features/federation/federation-discovery.md†L1-L511】【F:FEDERATION-IMPLEMENTATION-SUMMARY.md†L1-L381】
- 🧾 Optional logging of chat interactions, tool executions, and API errors
- 🧮 Built-in per-user usage tracking for provider/model billing summaries
- 🧩 Developer hooks and filters for integrating custom behaviours
- ⏱ Per-site request timeout control with sensible minimum enforcement
- 🗑 Toggleable uninstall cleanup to purge stored assistants and settings automatically
### Performance & reliability
- ⚡ Client-side message bundling (800ms window) to reduce API calls and server load【F:docs/user-guides/chat/message-bundling-feature.md†L1-L80】
- 🎯 Intelligent token overflow handling with automatic model switching (gpt-4.1-mini → Gemini 2.0 Flash)【F:docs/features/tools/presets/high-token-tool-handling.md†L1-L80】
- 📡 **Server-Sent Events (SSE) support** for real-time streaming responses and job notifications【F:docs/features/streaming/ENABLE-SSE-STREAMING.md†L1-L100】
- 🌊 Real-time job status updates via SSE streaming and webhook notifications for async operations【F:docs/features/async-jobs/job-notification-system.md†L1-L100】
- 🔧 **Symfony Process Component** - Modern process execution framework replacing direct `exec()` calls in Pro addon tools for enhanced security, timeout management, and error handling【F:includes/services/class-wp-mcp-ai-process-service.php†L1-L220】【F:docs/history/2025/implementations/symfony-phases/SYMFONY_PHASE2B_PROCESS_INTEGRATION.md†L1-L100】
- 🔄 Server-side WP-Cron polling for long-running tasks (Crawl4AI, background jobs)
- 💾 Chat history persistence with localStorage (24h) and optional JetEngine CCT storage【F:docs/user-guides/chat/chat-history-persistence.md†L1-L50】
- ⚙️ **Optimized settings page** with external CSS stylesheet (240 lines added to admin-settings.css) and request-level caching for improved admin performance【F:assets/css/admin-settings.css†L1-L984】【F:includes/admin/class-wp-mcp-ai-admin-settings.php†L27-L32】
### Settings Management ⭐ **NEW**
- 🔧 **Robust Settings System** - 7-step save process with automatic backups, validation, and cache management ensures settings persist correctly across all tabs and subtabs【F:includes/admin/class-wp-mcp-ai-settings-dashboard.php†L262-L410】
- 🔍 **Health Check** - Run 6 diagnostic checks to verify settings integrity, provider configuration, and system status with GOOD/WARNING/CRITICAL status indicators【F:includes/admin/sections/class-wp-mcp-ai-section-advanced.php†L1500-L1650】
- 💾 **Export Settings** - Download all plugin settings as timestamped JSON files for backup or migration to other sites【F:docs/admin-guides/settings-management.md†L40-L80】
- 📤 **Import Settings** - Upload and validate settings from previously exported backups with automatic pre-import backup and 5-step validation【F:docs/admin-guides/settings-management.md†L85-L135】
- 🗑️ **Clear Cache** - One-click clearing of static cache, object cache, and transients when settings changes don't take effect【F:docs/admin-guides/settings-management.md†L140-L165】
- ↩️ **Reset to Defaults** - Safely reset all settings to default values with automatic backup before reset【F:docs/admin-guides/settings-management.md†L170-L200】
- 🔒 **Security** - File size validation (max 5MB), MIME type checking, JSON validation, and comprehensive input sanitization【F:includes/admin/class-wp-mcp-ai-settings-dashboard.php†L970-L1030】
- 📊 **Automatic Backups** - Every save operation creates a timestamped backup (keeps last 5) for emergency recovery【F:includes/admin/class-wp-mcp-ai-settings-dashboard.php†L285-L295】
- 🛡️ **Data Protection** - 3-layer protection (section filtering, merge strategy, sensitive key filtering) prevents accidental data loss when saving from tabs/subtabs【F:docs/admin-guides/settings-management.md†L230-L280】
- 📖 **Pro Toolkits** - Enable and configure 8 specialized Pro toolkits (650+ tools) including Project Management, Document Generation, Health & Wellness, CRE Debt & Securitization, and more【F:docs/admin-guides/pro-settings-toolkits.md†L1-L650】
➡️ **Complete Documentation:** [Settings Management Guide](docs/admin-guides/settings-management.md) | [Quick Reference](docs/admin-guides/settings/SETTINGS_MANAGEMENT_QUICK_REFERENCE.md) | [Visual UI Guide](docs/visual-guides/settings-management-ui.md) | [Pro Toolkits Guide](docs/admin-guides/pro-settings-toolkits.md)
## 🧠 Memory & Tool Stack Overview
### Model defaults
Global settings capture the default provider, model, and timeout used when assistants are created, ensuring every conversation inherits stable generation behaviour until explicitly overridden. These defaults ship with sensible values for OpenAI and Gemini out of the box and can be tailored from the NV oOS settings screen.【F:includes/admin/class-wp-mcp-ai-admin-settings.php†L36-L77】
### Base knowledge
Each assistant can preload Media Library files and optionally link to an external vector store, giving the model persistent project context before a chat begins. Editors manage these knowledge sources from the assistant post type via the “Base Knowledge” meta box, which supports multiple attachments and vector store identifiers.【F:includes/assistants/class-wp-mcp-ai-assistant-cpt.php†L892-L1002】
### Available tools
The tool registry boots with a curated catalogue of content, commerce, automation, and research utilities, then exposes hooks so developers can register their own providers. During initialisation the registry loads each bundled tool class—ranging from JetEngine accessors to Crawl4AI jobs and Mailjet automations—and makes them callable within conversations.【F:includes/class-wp-mcp-ai-tool-registry.php†L74-L220】
### Chat-client Memory Drawer
The chat front-end exposes a persistent **Memory Drawer** (`assets/js/chat-memory-drawer.js`) with three tabs:
- **Memories** — browse, pin, and delete stored context items; **🧠 badge** auto-appears on any assistant message that used a memory tool.
- **Scope** — set the active wing/room scope for subsequent memory operations in the current session.
- **Audit** — lazy-loaded audit trail from `WP_MCP_AI_REST_Chat_Memory_Controller::audit()`.
The drawer is wired to the REST proxy at `/mcp-ai/v1/chat-memory/` and receives real-time updates via the `memory_event` SSE frame emitted by the agentic loop. Pagehide auto-capture stores the session state before tab close. Two gates control access: site-wide filter `wp_mcp_ai_chat_memory_enabled` and per-user meta `wp_mcp_ai_chat_memory_enabled`. Full reference: [`docs/features/memory/chat-client-integration.md`](docs/features/memory/chat-client-integration.md).
### Retroactive Transcript Mining
`WP_MCP_AI_Transcript_Mining_Job` retrospectively extracts memories from past chat transcripts. Enqueue a job via `POST /mcp-ai/v1/transcript-mining/jobs` (admin-only), poll progress with `GET /jobs/{id}`, or cancel with `POST /jobs/{id}/cancel`. Full reference: [`docs/features/memory/transcript-mining.md`](docs/features/memory/transcript-mining.md).
### LLM Harnessing Subsystem
Seven opt-in per-request layers (`includes/harness/`) improve response quality without changing existing tool behaviour. Activated per-assistant via the **LLM Harness** metabox. Layers: **A** Prompt/Cue → **B** Reasoning Trace → **C** Tool Routing → **D** Retrieval → **E** Self-Refine → **F** Memory Scoping + PII Filter → **G** Eval Scheduler. Pro Layer H exports fine-tune curricula as OpenAI JSONL. Full reference: [`docs/features/llm-harness.md`](docs/features/llm-harness.md).
### Workflow families & tool combos
The core plugin ships with a centrally registered tool catalogue that lets assistants mix and match capabilities into cohesive workflows without additional coding. Teams can chain authoring, media, research, commerce, marketing, and operational tools to deliver end-to-end outcomes inside a single conversation.
- **Content & knowledge production** – Combine `submit_document_prompt`, `search_content`, and `search_attachments` to gather source material, then follow up with `save_post`, `create_wpcode_snippet`, or `get_rankmath_seo` for structured drafting and optimisation.
- **Media generation & transcription** – Pair `generate_openai_image`, `generate_gemini_image`, `vectorize_image`, or `graphic_editor_plus` with `generate_openai_speech` and `transcribe_openai_audio` to build multimedia assets that flow into editorial or marketing outputs. Use `vectorize_image` to convert logos to scalable vectors, and `graphic_editor_plus` for comprehensive image editing with both local and AI-powered operations.
- **Research & situational awareness** – Chain discovery helpers like `web_search`, `run_crawl4ai_job`, `reliefweb_reports`, `get_gdacs_events`, and `get_nhc_active_storms` to assemble briefing packs before drafting follow-up actions.
- **Commerce & finance operations** – Use WooCommerce and finance tools such as `create_woo_product`, `get_woo_products`, `get_woo_recent_orders`, `crawl4ai_price_lookup`, `get_import_duty`, and `quickbooks_report` to coordinate merchandising, pricing, and bookkeeping reviews.
- **Marketing & analytics insights** – Combine measurement tools including `google_analytics_report`, `get_google_business_insights`, `get_facebook_instagram_insights`, `get_linkedin_insights`, and `get_tiktok_insights` to guide campaigns and reporting.
- **Publishing & outreach automations** – Trigger distribution via `post_facebook_instagram`, `post_google_business_update`, `post_linkedin_update`, `post_tiktok_video`, `send_group_email`, `send_mailjet_email`, `send_telegram_message`, `send_whatsapp_message`, and `schedule_notify_sms` once plans are ready.
- **Integrations & scheduling** – Connect external systems with `create_google_calendar_event`, `search_gmail`, `list_jetengine_rest_routes`, `invoke_jetengine_route`, and `run_openai_external_action` as part of larger automations.
- **Operations & diagnostics** – Close the loop with `create_cron_job`, `list_cron_jobs`, `get_cron_job`, `delete_cron_job`, `check_wp_cli`, `purge_cache`, `purge_cloudflare_cache`, `purge_varnish_cache`, `get_site_summary`, `get_site_health`, `get_system_logs`, `get_update_status`, and OpenAI usage/log review helpers for monitoring and maintenance.
- **Automation & scheduling workflows** – Agents can autonomously schedule background tasks with `create_cron_job`, monitor scheduled operations via `list_cron_jobs` and `get_cron_job`, and clean up outdated automations with `delete_cron_job`. Combine with cache management tools (`purge_cache`, `purge_cloudflare_cache`, `purge_varnish_cache`) to orchestrate content publishing workflows where agents schedule posts, then automatically invalidate caches at publication time.
---
## 🛠 Built-in tools & automations
The assistant registry ships with a comprehensive catalogue of editorial, marketing, commerce, and operational helpers. The tables below outline every bundled tool and the slug assistants call when orchestrating workflows.
### Content & knowledge workflows
| Tool | Slug | Summary |
| --- | --- | --- |
| Submit Document Prompt | `submit_document_prompt` | Uploads WordPress attachments or OpenAI file IDs alongside an instruction so multimodal prompts reach the Responses API with the required file context.【F:includes/tools/class-wp-mcp-ai-tool-submit-document-prompt.php†L20-L214】|
| Search Content | `search_content` | Queries public post types with optional taxonomy and meta filters to surface structured post metadata for the assistant.【F:includes/tools/class-wp-mcp-ai-tool-search-content.php†L12-L280】|
| Search Attachments | `search_attachments` | Scans the Media Library with keyword or MIME filters while honouring attachment capability checks and signed download URLs.【F:includes/tools/class-wp-mcp-ai-tool-search-attachments.php†L15-L207】|
| Get Recent Posts | `get_recent_posts` | Returns the latest entries for a given post type with titles, permalinks, excerpts, and timestamps for quick editorial summaries.【F:includes/tools/class-wp-mcp-ai-tool-get-recent-posts.php†L12-L104】|
| Get Elementor Templates | `get_elementor_templates` | Lists Elementor library templates with status, type, and edit links when Elementor is available and the caller has access.【F:includes/tools/class-wp-mcp-ai-tool-get-elementor-templates.php†L12-L239】|
| Get JetEngine Items | `get_jetengine_items` | Retrieves JetEngine-managed content with capability-aware access checks for each registered custom post type.【F:includes/tools/class-wp-mcp-ai-tool-get-jetengine-items.php†L12-L118】|
| Get JetFormBuilder Forms | `get_jetformbuilder_forms` | Proxies JetFormBuilder REST controllers to return paginated form metadata with automatic REST/HTTP fallbacks.【F:includes/tools/class-wp-mcp-ai-tool-get-jetformbuilder-forms.php†L15-L155】|
| Get JetFormBuilder Submissions | `get_jetformbuilder_submissions` | Lists recent JetFormBuilder entries with normalised field snapshots and capability enforcement.【F:includes/tools/class-wp-mcp-ai-tool-get-jetformbuilder-submissions.php†L15-L154】|
| Save Post | `save_post` | Drafts or updates posts and custom post types with sanitised Gutenberg content, slug/title overrides, and edit links.【F:includes/tools/class-wp-mcp-ai-tool-save-post.php†L15-L268】|
| Create WPCode Snippet 🌟 | `create_wpcode_snippet` | Provisions or updates WPCode-managed snippets, validating code types, insert locations, and activation status. **Pro addon tool**.【F:addons/pro/includes/src/Tools/class-wp-mcp-ai-pro-tool-create-wpcode-snippet.php†L15-L224】|
| Get Rank Math SEO Overview | `get_rankmath_seo` | Surfaces Rank Math SEO scores, focus keywords, robots metadata, and schema details for a specific post when the plugin is active.【F:includes/tools/class-wp-mcp-ai-tool-get-rankmath-seo.php†L15-L220】|
| Get User Information | `get_user_info` | Inspects the acting user or a supplied account while respecting multisite membership and capability requirements.【F:includes/tools/class-wp-mcp-ai-tool-get-user-info.php†L12-L89】|
### Media generation & transcription
| Tool | Slug | Summary |
| --- | --- | --- |
| Generate OpenAI Image | `generate_openai_image` | Calls the OpenAI Images API with configurable defaults, saving the rendered asset to the Media Library with optional overrides.【F:includes/tools/class-wp-mcp-ai-tool-generate-openai-image.php†L17-L218】|
| Generate Gemini Image | `generate_gemini_image` | Uses Gemini’s multimodal image endpoint to render creative, aspect-ratio-aware visuals that are persisted as WordPress attachments.【F:includes/tools/class-wp-mcp-ai-tool-generate-gemini-image.php†L17-L200】|
| Generate Cloudflare AI Image | `cloudflareai_text_to_image` | Creates images using Cloudflare Workers AI text-to-image models including Stable Diffusion XL, Flux-2 Dev, Leonardo AI (Lucid Origin, Phoenix 1.0), and Dreamshaper with configurable dimensions, steps, and guidance parameters.|
| Vectorize Image | `vectorize_image` | Converts raster images (PNG, JPEG, WebP, GIF) to SVG vector format with configurable quality settings using @neplex/vectorizer. Perfect for logos, icons, and graphics. Requires Node.js 14+.【F:includes/tools/class-wp-mcp-ai-tool-vectorize-image.php†L1-L430】|
| Graphic Editor Plus | `graphic_editor_plus` | Comprehensive image editing with local operations (logo overlay, resize) and AI-powered features (style transfer, background removal, enhancement). Combines speed with intelligent transformations.【F:includes/tools/class-wp-mcp-ai-tool-graphic-editor-plus.php†L1-L784】|
| Generate Architectural Drawing 🌟 | `generate_architectural_drawing` | **[PRO]** Creates professional architectural drawings (floor plans, elevations, sections, details) for construction projects. Supports 10 drawing types, 6 presentation styles (technical, sketched, rendered), dimensional specifications, building codes (IBC, IRC, NBC, Eurocode), and material lists. Outputs PNG or SVG with automatic vectorization. Perfect for architects, engineers, and construction professionals.【F:addons/pro/includes/tools/class-wp-mcp-ai-tool-generate-architectural-drawing.php†L1-L1136】|
| Generate OpenAI Speech | `generate_openai_speech` | Converts text to audio via OpenAI’s text-to-speech models, honouring default voice/format selections and storing results in the Media Library.【F:includes/tools/class-wp-mcp-ai-tool-generate-openai-speech.php†L17-L199】|
| Generate Music | `generate_music` | Creates instrumental music from text descriptions using Google Gemini Lyria model with controls for genre, mood, duration, and tempo.|
| Transcribe OpenAI Audio | `transcribe_openai_audio` | Sends uploaded audio to OpenAI’s transcription/translation endpoints and returns structured transcripts with language and duration metadata.【F:includes/tools/class-wp-mcp-ai-tool-transcribe-openai-audio.php†L17-L195】|
### Research & situational awareness
| Tool | Slug | Summary |
| --- | --- | --- |
| Web Search | `web_search` | Performs lightweight lookups against DuckDuckGo or Brave, normalising related topics and enforcing per-user result caps.【F:includes/tools/class-wp-mcp-ai-tool-web-search.php†L12-L320】|
| Run Crawl4AI Job | `run_crawl4ai_job` | Executes Crawl4AI harvests locally or remotely, collecting Markdown, HTML, and error payloads for long-form content ingestion workflows.【F:includes/tools/class-wp-mcp-ai-tool-run-crawl4ai-job.php†L32-L745】|
| ReliefWeb Reports | `reliefweb_reports` | Queries ReliefWeb’s humanitarian dataset by country or disaster type and returns structured report metadata for situational updates.【F:includes/tools/class-wp-mcp-ai-tool-reliefweb-reports.php†L15-L234】|
| Get GDACS Events | `get_gdacs_events` | Fetches Global Disaster Alert and Coordination System events with optional date filters and capability checks for emergency planning.【F:includes/tools/class-wp-mcp-ai-tool-get-gdacs-events.php†L12-L200】|
| Get NHC Active Storms | `get_nhc_active_storms` | Retrieves the National Hurricane Center’s active storm feed, sanitising advisory data for assistant consumption.【F:includes/tools/class-wp-mcp-ai-tool-get-nhc-active-storms.php†L15-L146】|
| Get Open-Meteo Forecast | `get_open_meteo_forecast` | Pulls hourly weather data from Open-Meteo with coordinate, timezone, and variable controls for itinerary-aware responses.【F:includes/tools/class-wp-mcp-ai-tool-get-open-meteo-forecast.php†L15-L309】|
| Vision Product Search | `vision_product_search` | Searches for similar products using Google Cloud Vision API Product Search feature. Note: Requires proper Google Cloud authentication credentials to succeed.【F:includes/tools/class-wp-mcp-ai-tool-vision-product-search.php†L1-L200】|
| Vision Object Localization | `vision_object_localization` | Detects and localizes multiple objects in images using Google Cloud Vision API. Note: Requires proper Google Cloud authentication credentials to succeed.【F:includes/tools/class-wp-mcp-ai-tool-vision-object-localization.php†L1-L200】|
### Commerce & finance operations
| Tool | Slug | Summary |
| --- | --- | --- |
| Create WooCommerce Product Draft | `create_woo_product` | Builds draft WooCommerce products with merchandising copy, pricing, images, and brand metadata when WooCommerce is active.【F:includes/tools/class-wp-mcp-ai-tool-create-woo-product.php†L15-L258】|
| Get WooCommerce Products | `get_woo_products` | Surfaces catalogue listings with pricing, stock status, and optional SKU/status filters for merchandiser reviews.【F:includes/tools/class-wp-mcp-ai-tool-get-woo-products.php†L12-L140】|
| Get Woo Recent Orders | `get_woo_recent_orders` | Summarises recent WooCommerce orders with totals, billing details, and ISO timestamps for fulfilment teams.【F:includes/tools/class-wp-mcp-ai-tool-get-woo-recent-orders.php†L12-L117】|
| Update WooCommerce Product Price 🌟 | `update_woo_product_price` | Updates regular/sale prices across all product types (simple, variable via variations, grouped, external) with sale-date scheduling, validation, and automatic variable-parent sync. **Pro addon tool**.【F:addons/pro/includes/tools/ecommerce/class-wp-mcp-ai-tool-update-woo-product-price.php†L1-L50】|
| Update WooCommerce Product Quantity 🌟 | `update_woo_product_qty` | Updates stock quantity across all stock-managed types with set/increase/decrease operations, canonical low-stock notifications (suppressible per call via `notify: false`), and stock-status sync. **Pro addon tool**.【F:addons/pro/includes/tools/ecommerce/class-wp-mcp-ai-tool-update-woo-product-qty.php†L1-L50】|
| Wholesale Club Price Lookup | `crawl4ai_price_lookup` | Uses Crawl4AI’s web search endpoint to compare BJ’s, Sam’s Club, and Costco pricing for a given product query.【F:includes/tools/class-wp-mcp-ai-tool-crawl4ai-price-lookup.php†L17-L189】|
| Lookup Import Duty 🌟 | `get_import_duty` | Queries the ITA Tariff Rates API for HS codes or descriptions to surface import duty rates for supported countries. **Pro addon tool**.【F:addons/pro/includes/src/Tools/class-wp-mcp-ai-pro-tool-get-import-duty.php†L15-L152】|
| QuickBooks Online Report 🌟 | `quickbooks_report` | Requests Profit & Loss, Balance Sheet, or custom QuickBooks Online reports with optional date ranges and accounting methods. **Pro addon tool**.【F:addons/pro/includes/src/Tools/class-wp-mcp-ai-pro-tool-get-quickbooks-report.php†L15-L214】|
### Marketing & analytics insights
| Tool | Slug | Summary |
| --- | --- | --- |
| Google Analytics Report 🌟 | `google_analytics_report` | Runs GA4 Analytics Data API queries with metrics, dimensions, date ranges, and aggregation controls to monitor site performance. **Pro addon tool**.【F:addons/pro/includes/src/Tools/class-wp-mcp-ai-pro-tool-get-google-analytics-report.php†L15-L158】|
| Google Business Insights | `get_google_business_insights` | Fetches Google Business Profile metrics for a location using OAuth tokens, time ranges, and timezone hints. **Pro addon tool**.【F:addons/pro/includes/src/Tools/class-wp-mcp-ai-pro-tool-get-google-business-insights.php†L15-L149】|
| Meta Social Insights | `get_facebook_instagram_insights` | Pulls Facebook Page or Instagram business metrics via the Graph API with selectable periods and metric sets. **Pro addon tool**.【F:addons/pro/includes/src/Tools/class-wp-mcp-ai-pro-tool-get-facebook-instagram-insights.php†L15-L146】|
| LinkedIn Insights | `get_linkedin_insights` | Queries LinkedIn organizational share statistics with optional timeframe and granularity filters. **Pro addon tool**.【F:addons/pro/includes/src/Tools/class-wp-mcp-ai-pro-tool-get-linkedin-insights.php†L15-L138】|
| TikTok Insights | `get_tiktok_insights` | Calls the TikTok Open API to return account performance metrics across configurable windows and granularities. **Pro addon tool**.【F:addons/pro/includes/src/Tools/class-wp-mcp-ai-pro-tool-get-tiktok-insights.php†L15-L136】|
| Get Cross-Platform Analytics 🌟 | `get_cross_platform_analytics` | **[NEW Jan 2026]** Unified social media metrics dashboard aggregating data from Facebook, Instagram, Twitter, LinkedIn, and YouTube. Provides engagement rates, follower growth, post performance, and comparative analytics across all platforms. Built-in 12-hour caching. **Pro addon tool** (623 lines).|
| Track Hashtag Performance 🌟 | `track_hashtag_performance` | **[NEW Jan 2026]** Comprehensive hashtag analysis tracking reach, engagement, impressions, and trend data across Facebook, Instagram, Twitter, LinkedIn, and YouTube. Identifies top-performing hashtags and provides optimization recommendations. **Pro addon tool** (586 lines).|
| Competitor Analysis 🌟 | `analyze_competitor_social` | **[NEW Jan 2026]** Track competitor social media metrics and benchmark performance against your profiles. Monitors follower growth, engagement rates, posting frequency, and content strategies across all major platforms. **Pro addon tool** (711 lines).|
| Influencer Identification 🌟 | `identify_influencers` | **[NEW Jan 2026]** Discover brand influencers and potential collaboration partners based on reach, engagement criteria, audience demographics, and content relevance. Searches across Facebook, Instagram, Twitter, LinkedIn, and YouTube. **Pro addon tool** (759 lines).|
### Publishing & outreach
| Tool | Slug | Summary |
| --- | --- | --- |
| Publish Meta Social Post 🌟 | `post_facebook_instagram` | Publishes Facebook Page or Instagram business posts through the Meta Graph API with message, caption, and media controls. **Pro addon tool**.【F:addons/pro/includes/src/Tools/class-wp-mcp-ai-pro-tool-post-facebook-instagram.php†L15-L170】|
| Publish Google Business Update 🌟 | `post_google_business_update` | Creates Google Business Profile local posts with summaries, language codes, and optional call-to-action links. **Pro addon tool**.【F:addons/pro/includes/src/Tools/class-wp-mcp-ai-pro-tool-post-google-business-update.php†L15-L168】|
| Publish LinkedIn Update 🌟 | `post_linkedin_update` | Sends LinkedIn UGC posts for members or organisations with optional share URLs via the LinkedIn Marketing API. **Pro addon tool**.【F:addons/pro/includes/src/Tools/class-wp-mcp-ai-pro-tool-post-linkedin-update.php†L15-L160】|
| Publish TikTok Video 🌟 | `post_tiktok_video` | Submits hosted video assets to TikTok’s Open API share endpoint with optional captions. **Pro addon tool**.【F:addons/pro/includes/src/Tools/class-wp-mcp-ai-pro-tool-post-tiktok-video.php†L15-L152】|
| Send Group Email | `send_group_email` | Orchestrates structured or free-form email campaigns with capability-based audience limits and logging hooks. [Full documentation](docs/features/tools/communication/send-group-email-usage.md).【F:includes/tools/class-wp-mcp-ai-tool-send-group-email.php†L16-L650】|
| Send Mailjet Email 🌟 | `send_mailjet_email` | Delivers transactional and marketing emails through Mailjet with sender defaults, CC/BCC routing, and response metadata. **Pro addon tool**.【F:addons/pro/includes/src/Tools/class-wp-mcp-ai-pro-tool-send-mailjet-email.php†L19-L405】|
| Send Telegram Message 🌟 | `send_telegram_message` | Posts formatted updates to Telegram chats or channels with capability filters and audit logging. **Pro addon tool**.【F:addons/pro/includes/src/Tools/class-wp-mcp-ai-pro-tool-send-telegram-message.php†L16-L232】|
| Send WhatsApp Message 🌟 | `send_whatsapp_message` | Sends WhatsApp Cloud API text messages with preview controls using phone-number specific access tokens. **Pro addon tool**.【F:addons/pro/includes/src/Tools/class-wp-mcp-ai-pro-tool-send-whatsapp-message.php†L15-L178】|
| Schedule Notify.lk SMS 🌟 | `schedule_notify_sms` | Queues Notify.lk SMS messages for future delivery using the official SDK and site cron orchestration. **Pro addon tool**.【F:addons/pro/includes/src/Tools/class-wp-mcp-ai-pro-tool-schedule-notify-sms.php†L15-L180】|
### Integrations & scheduling
| Tool | Slug | Summary |
| --- | --- | --- |
| Create Google Calendar Event | `create_google_calendar_event` | Builds calendar events with attendees, reminders, and timeout overrides using OAuth tokens or service accounts.【F:includes/tools/class-wp-mcp-ai-tool-create-google-calendar-event.php†L17-L378】|
| Search Gmail Messages | `search_gmail` | Performs delegated Gmail queries with optional label filters and pagination, returning normalised message metadata. **Pro addon tool**.【F:addons/pro/includes/src/Tools/class-wp-mcp-ai-pro-tool-search-gmail.php†L1-L200】|
| List JetEngine REST Routes | `list_jetengine_rest_routes` | Enumerates JetEngine REST endpoints with method, callback, and capability metadata for developers.【F:includes/tools/class-wp-mcp-ai-tool-list-jetengine-routes.php†L12-L151】|
| Invoke JetEngine REST Route | `invoke_jetengine_route` | Proxies JetEngine CRUD operations using the authenticated user context with REST/HTTP fallbacks.【F:includes/tools/class-wp-mcp-ai-tool-invoke-jetengine-route.php†L12-L133】|
| Run OpenAI External Action | `run_openai_external_action` | Triggers OpenAI Responses API workflows or assistants with payload sanitisation, timeout overrides, and structured errors.【F:includes/tools/class-wp-mcp-ai-tool-run-openai-external-action.php†L17-L211】|
### Operations & diagnostics
| Tool | Slug | Summary |
| --- | --- | --- |
| **Cron Management Suite** | | **AI agents can autonomously schedule, monitor, and manage WordPress background tasks** |
| Create Cron Job | `create_cron_job` | Schedules one-off or recurring WP-Cron events with duplicate detection and sanitised hooks/arguments. Agents can automate periodic maintenance, content publishing, or custom workflows by scheduling actions to run at specific times or intervals.【F:includes/tools/class-wp-mcp-ai-tool-create-cron-job.php†L16-L168】|
| List Cron Jobs | `list_cron_jobs` | Lists all scheduled WordPress cron jobs with details about schedule, next run time, and creator. Enables agents to provide visibility into scheduled automation tasks and audit what background processes are running.【F:includes/tools/class-wp-mcp-ai-tool-list-cron-jobs.php†L17-L141】|
| Get Cron Job | `get_cron_job` | Retrieves detailed information about a specific WordPress cron job by its job ID, including schedule interval details and execution metadata. Allows agents to inspect individual scheduled tasks for troubleshooting or reporting.【F:includes/tools/class-wp-mcp-ai-tool-get-cron-job.php†L17-L145】|
| Delete Cron Job | `delete_cron_job` | Deletes a scheduled WordPress cron job and removes it from both the plugin tracking and WP-Cron. Enables agents to cancel outdated or unnecessary automation tasks on behalf of operators.【F:includes/tools/class-wp-mcp-ai-tool-delete-cron-job.php†L17-L90】|
| **Cache Management** | | **AI agents can coordinate multi-layer cache invalidation** |
| Purge Cache | `purge_cache` | Master cache purge tool that coordinates multi-layer cache clearing (Cloudflare, Varnish, etc.) in the correct order. Agents can ensure content updates are properly reflected across all caching layers.【F:includes/tools/class-wp-mcp-ai-tool-purge-cache.php†L17-L150】|
| Purge Cloudflare Cache | `purge_cloudflare_cache` | Sends targeted or full-zone invalidations to Cloudflare with configurable timeouts and admin-only access controls.【F:includes/tools/class-wp-mcp-ai-tool-purge-cloudflare-cache.php†L17-L292】|
| Purge Varnish Cache | `purge_varnish_cache` | Purges the local Varnish cache with support for full-cache bans and specific URL purges. Agents can clear server-side caching to ensure immediate content updates.【F:includes/tools/class-wp-mcp-ai-tool-purge-varnish-cache.php†L17-L150】|
| **System Monitoring & Diagnostics** | | |
| Check Site Security | `check_site_security` | Checks if the WordPress site has security vulnerabilities that make it unsafe to use this AI plugin. Scans for common security issues and provides remediation guidance for administrators.【F:includes/tools/class-wp-mcp-ai-tool-check-site-security.php†L1-L200】|
| Check WP-CLI Status | `check_wp_cli` | Scans for the WordPress CLI binary, returning detected paths, version output, and environment warnings.【F:includes/tools/class-wp-mcp-ai-tool-check-wp-cli.php†L17-L309】|
| Count Tokens | `count_tokens` | Estimates token counts for text and messages using heuristic estimation (approximately 4 characters per token) for planning and budgeting purposes. Helps with capacity planning before sending requests to AI providers.【F:includes/tools/class-wp-mcp-ai-tool-count-tokens.php†L1-L200】|
| Get Site Summary | `get_site_summary` | Provides high-level site metadata, content counts, and admin contact details for context-aware assistants.【F:includes/tools/class-wp-mcp-ai-tool-get-site-summary.php†L12-L66】|
| Get MCP Environment Status | `get_environment_status` | Summarises WordPress versions, MCP defaults, assistant counts, and dependency warnings for incident response.【F:includes/tools/class-wp-mcp-ai-tool-get-environment-status.php†L12-L178】|
| Get Site Health Status | `get_site_health` | Runs WordPress Site Health diagnostics and returns grouped pass/warn/fail tests with remediation guidance.【F:includes/tools/class-wp-mcp-ai-tool-get-site-health.php†L12-L255】|
| Get System Logs | `get_system_logs` | Aggregates NV oOS logs, WordPress/PHP error logs, and plugin log files to aid in debugging workflows.【F:includes/tools/class-wp-mcp-ai-tool-get-system-logs.php†L12-L352】|
| Get Update Status | `get_update_status` | Reports pending core, plugin, and theme updates with version and download metadata for maintenance planning.【F:includes/tools/class-wp-mcp-ai-tool-get-update-status.php†L12-L182】|
| **Testing & Validation** | | |
| Probe Assistant Chat | `probe_chat` | Issues a chat probe against a published assistant to confirm sanitisation, configuration, and REST handling without consuming model tokens.【F:includes/tools/class-wp-mcp-ai-tool-probe-chat.php†L12-L178】|
| Probe Remote MCP REST | `probe_remote_mcp` | Reuses the remote connectivity tester to exercise `/assistants` and `/chat` on another site with optional bearer, guest, or nonce credentials.【F:includes/tools/class-wp-mcp-ai-tool-probe-remote-mcp.php†L12-L164】|
| **Mesh Networking** | | **Distributed compute pooling across WordPress sites** |
| Query Remote Site | `query_remote_site` | Executes chat requests on peer WordPress sites in a mesh network. Requires `manage_options` capability and mesh networking to be enabled. Coordinates server-to-server compute pooling with secure inter-site key authentication, enabling distributed AI workloads across trusted peers while maintaining user attribution and audit trails. Backend assistants use this tool to fan out work across the mesh on behalf of anonymous or authenticated users.【F:includes/tools/class-wp-mcp-ai-tool-query-remote-site.php†L1-L237】【F:docs/features/federation/mesh-compute-pooling.md†L1-L615】|
| Query Mesh (Intelligent Routing) | `query_mesh_intelligent` | Send a prompt to the mesh network with AI-powered peer selection and automatic failover. The system intelligently routes requests to the optimal peer site based on current load, response times, and task complexity. Provides resilient distributed compute with automatic retry logic.【F:includes/tools/class-wp-mcp-ai-tool-query-mesh-intelligent.php†L1-L300】|
| **Provider Dashboards** | | |
| Open OpenAI Logs | `open_openai_logs` | Returns dashboard shortcuts for reviewing OpenAI request logs in the provider console.【F:includes/tools/class-wp-mcp-ai-tool-open-openai-logs.php†L12-L66】|
| Open OpenAI Usage | `open_openai_usage` | Provides direct links to OpenAI usage dashboards so admins can audit consumption quickly.【F:includes/tools/class-wp-mcp-ai-tool-open-openai-usage.php†L12-L66】|
| **Authentication** | | |
| Generate Simple JWT Token | `generate_simple_jwt_token` | Generates a Simple JWT Login bearer token for the current user, enabling authenticated API access across sessions. Agents can help users obtain authentication tokens for headless WordPress integrations.【F:includes/tools/class-wp-mcp-ai-tool-generate-simple-jwt-token.php†L15-L120】|
### What the Cron Manager means to AI agents
The **Cron Management Suite** transforms AI assistants from reactive responders into proactive automation orchestrators. By providing full control over WordPress's background task scheduler, agents can:
**Autonomous Task Scheduling**
- Schedule content publishing workflows to go live at optimal times without human intervention
- Automate recurring maintenance tasks like cache clearing, database optimization, or backup operations
- Coordinate multi-step operations that span hours or days by chaining scheduled hooks
**Intelligent Monitoring & Self-Management**
- List and inspect all scheduled tasks to understand what automation is currently active
- Audit who created each task and when it's scheduled to run next
- Identify and remove outdated or redundant scheduled tasks to maintain system health
**Real-World Agent Workflows**
1. **Content Calendar Automation** - An agent helping with content strategy can schedule posts to publish at researched optimal engagement times, set up recurring social media cross-posts, and schedule follow-up email campaigns.
2. **Site Maintenance Orchestration** - When troubleshooting performance issues, agents can schedule off-peak cache purges, coordinate database cleanup tasks, and set up recurring health check notifications.
3. **Business Process Automation** - Agents can schedule recurring report generation, periodic data syncs with external systems, and automated backup verification checks.
**Technical Implementation**
The cron manager tracks all scheduled tasks in `wp_mcp_ai_cron_jobs` option with full audit trails including:
- Job ID for unique identification
- Hook name and sanitized arguments
- Schedule type (single-run or recurring interval)
- Creation timestamp and user attribution
- Next execution time for monitoring
Jobs are automatically pruned when they complete (single-run) or are manually removed (recurring), keeping the tracking database clean. All cron operations require `manage_options` capability, ensuring only authorized users can delegate automation authority to agents.【F:includes/class-wp-mcp-ai-cron-manager.php†L12-L280】
Each tool inherits the assistant context and authenticated user from the REST layer, making it easy to layer custom permissions or extend behaviour via the documented filters and actions.【F:includes/class-wp-mcp-ai-rest.php†L236-L360】【F:includes/class-wp-mcp-ai-rest.php†L1124-L1198】
Need per-tool prerequisites or capability callouts? Consult [`docs/reference/tools/tool-reference.md`](docs/reference/tools/tool-reference.md) for a detailed matrix of every bundled integration.
### Tool Status Labels
The Tools Manager page displays status labels beside tool names to indicate their development stage and stability:
| Status | Display Label | Description | Auto-Disable |
| --- | --- | --- | --- |
| **stable** | STA | Production-ready, fully tested tools safe for all environments | No |
| **beta** | BET | Testing phase, mostly stable but may have minor issues | No |
| **dev** | DEV | In active development, may have bugs or incomplete features | No |
| **experimental** | EXP | New features that may change significantly | No |
| **bug** | BUG | Known issues exist, use with caution | **Yes** |
| **deprecated** | DEP | Will be removed in future versions | No |
Status labels are displayed as **3-letter abbreviations** (e.g., "STA" for stable, "BET" for beta) to keep the UI compact.
**Important:** Tools marked with the `bug` status are **automatically disabled** when the plugin loads. This prevents problematic tools from being used until issues are resolved. Administrators can manually re-enable them from the Tools Manager if needed for testing.
Status labels are managed via the [`tool-status.txt`](docs/tool-status.txt) file in the repository. To assign a status label to a tool:
1. Open `docs/tool-status.txt` in a text editor
2. Add a line in the format: `tool_slug = status_label`
3. Save the file - changes appear immediately in the Tools Manager
Example:
```
create_post = stable
web_search = beta
generate_openai_image_validated = experimental
problematic_tool = bug
```
This file-based approach allows quick status updates without code changes, making it easy for maintainers to reflect tool maturity as development progresses. The automatic disabling of buggy tools provides an additional safety layer to prevent issues in production environments.
---
## 🗨 Front-end chat surfaces
NV oOS ships multiple ways to embed assistants on the front end:
- **Classic chat shortcode** – `[mcp_ai_chat]` renders the bundled interface with attachment uploads, tool invocation feedback, and optional guest access via `allow_guests="true"`. When guest mode is enabled, the shortcode provisions a temporary token and injects it into the JavaScript bootstrap so visitors without WordPress accounts can continue chatting while still respecting capability checks and attachment safety limits.【F:includes/class-wp-mcp-ai-shortcode.php†L132-L258】【F:includes/class-wp-mcp-ai-shortcode.php†L188-L226】
- **Floating chat bubble** ⭐ **NEW** – A configurable floating button that sits at a screen corner and opens a chat panel powered by the `[mcp_ai_chat]` shortcode. Available as both an **Elementor widget** and a **Gutenberg block**. Supports 4 position variants, 3 sizes, auto-open delay, session persistence, dark mode, and WCAG keyboard navigation.【F:includes/elementor/class-wp-mcp-ai-elementor-chat-bubble-widget.php†L1-L200】【F:includes/blocks/chat-bubble/block.json†L1-L50】
- **[Elementor](https://be.elementor.com/visit/?bta=229888&brand=elementor) widgets** – Drop the chat UI anywhere Elementor is active, pair it with intro/FAQ blocks, and surface dashboard telemetry without custom code. The chat widget mirrors the shortcode controls (including `allow_guests`), and companion widgets expose onboarding content, usage timers, provider quick links, and activity feeds for operational views.【F:includes/elementor/class-wp-mcp-ai-elementor-widget.php†L79-L138】【F:includes/class-wp-mcp-ai-elementor-integration.php†L48-L98】【F:includes/elementor/class-wp-mcp-ai-elementor-chat-intro-widget.php†L47-L140】【F:includes/elementor/class-wp-mcp-ai-elementor-chat-usage-timer-widget.php†L48-L226】【F:includes/elementor/class-wp-mcp-ai-elementor-dashboard-activity-feed-widget.php†L48-L167】
Guest tokens are honoured by the REST endpoints through the `X-WP-MCP-AI-Guest` header or `guest_token` parameter, allowing the chat shortcode and [Elementor](https://be.elementor.com/visit/?bta=229888&brand=elementor) widget to make authenticated requests on behalf of public visitors without exposing persistent credentials.【F:includes/class-wp-mcp-ai-rest.php†L289-L307】【F:includes/class-wp-mcp-ai-rest.php†L2088-L2104】
### Chat History Persistence
The chat interface automatically persists conversation history to the browser's localStorage, preventing data loss when users navigate away or refresh the page. Conversations are:
- **Automatically saved** after each user message and assistant response
- **Automatically restored** when returning to the chat page (within 24 hours)
- **Stored per assistant** so different assistant conversations remain separate
- **Server-side storage available with JetEngine** - See note below about optional JetEngine integration
#### Server-Side Chat Transcript Storage (Requires JetEngine)
⚠️ **Third-Party Plugin Required:** [JetEngine](https://crocoblock.com/plugins/jetengine/?ref=16658) (not included with NV oOS)
Without JetEngine, chat conversations are **only stored in browser localStorage** (client-side, 24-hour retention). To enable permanent server-side chat transcript archiving:
1. Install and activate the [JetEngine](https://crocoblock.com/plugins/jetengine/?ref=16658) plugin (third-party, paid plugin from Crocoblock)
2. Enable the **Custom Content Types** module in JetEngine settings
3. NV oOS will automatically provision the `ai_chat_transcripts` CCT for permanent storage
**What you get with JetEngine:**
- ✅ Permanent server-side chat transcript storage
- ✅ Cross-device conversation access
- ✅ Admin visibility into chat history
- ✅ Database-backed chat logs for compliance/auditing
**Without JetEngine:**
- ⚠️ Chat history only stored in browser localStorage
- ⚠️ Limited to 24-hour retention
- ⚠️ No cross-device synchronization
- ⚠️ Lost if browser data is cleared
See [docs/user-guides/chat/chat-history-persistence.md](docs/user-guides/chat/chat-history-persistence.md) for complete details on the persistence mechanism, data structure, and troubleshooting.
---
## 📦 Installation
> **ℹ️ Plugin Directory Status**
> This plugin is currently **pending approval** in the WordPress Plugin Directory. We are committed to maintaining high quality and security standards throughout the review process. You can install the plugin manually from our [GitHub repository](https://github.com/nvdigitalsolutions/mcp-ai-wpoos) or wait for the official WordPress Plugin Directory listing.
> **🚀 Getting Started Wizard**
> After activating the plugin, you'll be redirected to a **4-step setup wizard** that walks you through connecting an AI provider, choosing a use case, and creating your first assistant — all in under 2 minutes. The wizard creates fully-configured assistants with tools, system prompts, and tuned temperatures so your site is working out of the box. You can access the wizard any time at **NV oOS → Getting Started** or directly at `/wp-admin/admin.php?page=wp-mcp-ai-getting-started`.
### 🌱 Try It on Your PC
> **No live site. No API costs. No risk.** The primary way to test NV oOS is a one-command demo that boots WordPress and the Complete bundle locally via WordPress Playground and wires the chat to your **local Ollama** — no API key, no server, and no prompts leave your machine.
#### ⚡ Fastest: One Command (Playground + Local Ollama)
**One-time prerequisites:**
1. Install [Ollama](https://ollama.com/download) and pull a model:
```bash
ollama pull llama3.1:8b
```
2. Allow the local origin, then restart Ollama:
- **Windows:** `setx OLLAMA_ORIGINS "https://playground.wordpress.net,http://localhost,http://127.0.0.1"`, then quit Ollama from the system tray and relaunch it.
- **macOS / Linux:** `OLLAMA_ORIGINS="https://playground.wordpress.net,http://localhost,http://127.0.0.1" ollama serve`
Then run this command (requires [Node.js](https://nodejs.org/) 20+):
```bash
npx -y @wp-playground/cli@3.1.54 server --blueprint=https://raw.githubusercontent.com/nvdigitalsolutions/mcp-ai-wpoos/alpha-working/blueprints/ollama-demo.json --login
```
Open the printed local URL (e.g. `http://127.0.0.1:9400/ollama-test-lab/`). The first boot takes a few minutes while it downloads and installs the whole stack — after that you land on the **Ollama Test Lab**: a live status banner plus a chat that answers from your local model. Admin login: `admin` / `password`.
Full walkthrough, browser quick-preview link, and troubleshooting: **[docs/user-guides/playground-demo.md](docs/user-guides/playground-demo.md)**.
#### 🧰 Classic 3-Step Install (Local, Studio, XAMPP, etc.)
Prefer a traditional local WordPress install? Follow the full walkthrough on the NV Digital Solutions blog: **[How to Test NV oOS on Your Own PC Using Local + Downloading the Plugin →](https://nvdigitalsolutions.com/ai-llm/how-to-test-nv-oos-on-your-own-pc-using-local-downloading-plugin/)**
1. **Install a local WordPress environment** — [Local by WP Engine](https://localwp.com/) or [WordPress Studio](https://developer.wordpress.com/studio/) is the easiest option (one-click install, no server config). Alternatives: [XAMPP](https://www.apachefriends.org/), [MAMP](https://www.mamp.info/), or [DevKinsta](https://kinsta.com/devkinsta/).
2. **Download the NV oOS plugin zip** — grab the latest release from [GitHub Releases](https://github.com/nvdigitalsolutions/mcp-ai-wpoos/releases) (look for `mcp-ai-wpoos-x.x.x.zip`), or use the **Code → Download ZIP** button for the current development snapshot.
3. **Upload, activate, and run the wizard** — in your local WordPress dashboard go to **Plugins → Add New → Upload Plugin**, select the zip, activate it, and follow the [🚀 Getting Started Wizard](#-installation). For a free local AI model (no API key needed), install [LM Studio](https://lmstudio.ai/) and point the wizard at `http://localhost:1234`.
> **🗺 Single-file auto-installer (roadmap)** — A single cross-platform installer that bootstraps the entire stack automatically is on the roadmap. See the [App / Plugin Distribution Proposal](docs/project/proposals/NVOOS_APP_PLUGIN_DISTRIBUTION_PROPOSAL.md) for current status and the plan.
### Requirements
**Minimum Requirements:**
- WordPress 6.0+
- PHP 8.1+
- MySQL 5.7+ or MariaDB 10.3+
**Optional Requirements for Enhanced Features:**
- **Node.js 14+**: Required for image vectorization tools (`vectorize_image` tool)
- **PHP Functions**: `proc_open`, `proc_close`, `proc_terminate` (for Node.js integration and Process Service)
- These functions are often disabled on shared hosting for security
- Can be enabled on Cloudways via Application Settings (see [troubleshooting guide](docs/getting-started/installation-setup/deployment-troubleshooting.md))
- **JetEngine Plugin**: For CCT storage and advanced content management tools
- **WooCommerce**: For e-commerce integration tools
- **Elementor**: For visual page builder widgets
**Note**: The plugin works without optional requirements, but some features will be disabled. See [deployment troubleshooting](docs/getting-started/installation-setup/deployment-troubleshooting.md) for enabling disabled PHP functions.
### For Developers (GitHub Clone)
> **✅ Production-Ready Repository**
> This repository includes production-optimized vendor dependencies with classmap-authoritative autoloading configured by default in composer.json. You can clone and activate immediately without running composer. The `composer install` command is only needed if you want to update dependencies or add development tools.
> **⚡ Use a shallow clone**
> A full clone of this repository is ~10 GB due to its long history. Use `--depth 1` to download only the latest snapshot (~500 MB) — much faster and smaller. If you later need the full history, run `git fetch --unshallow`.
>
> ```bash
> git clone --depth 1 https://github.com/nvdigitalsolutions/mcp-ai-wpoos.git
> ```
If you're cloning from GitHub:
#### Option 1: Cloudways and Managed Hosting (Recommended)
For Cloudways and similar managed hosting platforms, clone directly into the WordPress plugins directory:
```bash
# SSH into your server
# Navigate to WordPress plugins directory
cd /home/master/applications/YOURAPP/public_html/wp-content/plugins/
# Clone the repository (production-ready, no composer needed!)
# Use --depth 1 for a fast shallow clone (recommended for production)
git clone --depth 1 https://github.com/nvdigitalsolutions/mcp-ai-wpoos.git
cd mcp-ai-wpoos
# Verify you're in the correct directory
pwd # Should show the plugins path
# Optional: Only needed for frontend asset rebuilding or development
# npm install && npm run build
# Optional: Only run if you need to update dependencies or add dev tools
# Note: Autoloader optimization is now configured by default in composer.json
# composer install --no-dev
```
**⚠️ Cloudways Important Notes:**
- Always clone directly into `/home/master/applications/YOURAPP/public_html/wp-content/plugins/`
- Do NOT clone elsewhere and then move/copy - this causes `getcwd() failed` errors
- Replace `YOURAPP` with your actual Cloudways application name
#### Option 2: Local Development or VPS
For local development or standard VPS hosting:
```bash
# Option A: Clone directly into WordPress plugins directory (recommended, production-ready!)
cd /path/to/wordpress/wp-content/plugins/
# Use --depth 1 for a fast shallow clone (recommended for production)
git clone --depth 1 https://github.com/nvdigitalsolutions/mcp-ai-wpoos.git
cd mcp-ai-wpoos
# Ready to activate! No composer or npm needed for production use.
# Option B: Clone and copy (also production-ready!)
# Use --depth 1 for a fast shallow clone (recommended for production)
git clone --depth 1 https://github.com/nvdigitalsolutions/mcp-ai-wpoos.git
cd mcp-ai-wpoos
cp -r . /path/to/wordpress/wp-content/plugins/mcp-ai-wpoos/
```
**For Development Only:**
```bash
# Only if you need to rebuild assets or modify dependencies:
npm install && npm run build
# Note: Autoloader optimization is now configured by default in composer.json
composer install --no-dev
```
#### Optional: Strip Dev Files for Production
If you are deploying via `git clone` to a **production server with anti-malware / EDR scanning**, the working tree will contain test fixtures that embed verbatim attack-payload literals (XSS canaries, SQL-injection samples, prompt-injection strings) used by the security test suite. These can occasionally trip signature-based scanners.
For a clean production tree, run the bundled strip script after cloning:
```bash
# Preview what would be removed
bin/strip-dev-files.sh --dry-run
# Remove tests/, docs/, bin/, .github/, .bmad/, .context/, examples/,
# phpunit.xml.dist, phpcs.xml.dist, dev configs, etc.
bin/strip-dev-files.sh
```
The script mirrors the exclusion list in `.distignore` (used for the WordPress.org SVN deploy) and the `export-ignore` rules in `.gitattributes` (used for GitHub-distributed ZIPs). It is idempotent and refuses to run on a working tree with uncommitted changes (override with `--force`).
> **Note:** Do not run this on a development checkout — it removes the test suite, docs, and build tooling. It is intended for deploy targets that only run the plugin.
#### Final Steps
1. Activate **Open Operator System Complete (NV oOS)** from WordPress admin
2. You now have the **complete version** with all ~1,692 tools (~353 base + ~1,339 Pro; live count via `WP_MCP_AI_Tool_Registry::get_tools()` is authoritative)
**What you get from the repository clone:**
- ✅ The full codebase — all ~1,692 built-in tools ready to use (~353 base + ~1,339 Pro; live count via `WP_MCP_AI_Tool_Registry::get_tools()` is authoritative)
- ✅ Single plugin activation (not separate base + pro)
- ✅ Pro features automatically available (no separate Pro plugin to install)
**Notes**:
- The repository includes `mcp-ai-wpoos-base.php` and `addons/pro/mcp-ai-wpoos-pro.php` which are used for building separate distributions but do NOT appear as separate plugins when cloning
- Only the main plugin file (`mcp-ai-wpoos.php`) has a plugin header in the repository
- The build script adds headers to the other files when creating standalone distributions
### Standard Installation
1. Upload `mcp-ai-wpoos.zip` to `/wp-content/plugins/`
2. Activate **NV oOS** from the WordPress admin
3. Go to **Settings → NV oOS**
4. Enter your OpenAI API key
5. Create a new “AI Assistant” in **AI Assistants**
6. Add `[mcp_ai_chat assistant="123"]` to a page or post
### Optional: JetEngine Integration
⚠️ **Third-Party Plugin (Not Included):** [JetEngine](https://crocoblock.com/plugins/jetengine/?ref=16658) is a paid plugin from Crocoblock
**JetEngine is completely optional** - NV oOS works perfectly without it. However, if you want server-side chat transcript storage:
1. Purchase and install [JetEngine](https://crocoblock.com/plugins/jetengine/?ref=16658) separately
2. Enable the **Custom Content Types** module in JetEngine settings
3. NV oOS will automatically provision the `ai_chat_transcripts` CCT for permanent chat storage
**What works WITHOUT JetEngine:**
- ✅ All core AI assistant features
- ✅ Chat interface and conversations
- ✅ ~300 base tools (more with optional third-party plugins)
- ✅ MCP server functionality (`/wp-json/mcp-ai/v1/`)
- ✅ Browser-based chat history (localStorage, 24 hours)
- ✅ OpenAI/Gemini/Anthropic/Ollama/Hugging Face/Cloudflare integrations
**What requires JetEngine:**
- ❌ Server-side chat transcript storage (chat history only in browser without it)
- ❌ 5 JetEngine-specific tools (see [🔌 Optional Tools & Dependencies](#-optional-tools--dependencies))
---
## 🔌 What You Lose Without Third-Party Plugins
NV oOS works perfectly with vanilla WordPress, but certain features require third-party plugins (sold separately). Here's exactly what you lose without each plugin:
### Without JetEngine (Crocoblock - Paid Plugin)
**Lost Features:**
- ❌ **AI metaboxes for JetEngine CPTs/Taxonomies** - No AI assistant integration on JetEngine edit screens
- ❌ **Research & Add pages** - No AI-powered content creation with automatic field mapping
- ❌ **Server-side chat transcript storage** - Chat history only stored in browser localStorage (24 hours)
- ❌ **Cross-device chat synchronization** - No database-backed conversation history
- ❌ **Admin chat history access** - Cannot view/audit conversations from admin panel
- ❌ **Assistant CCT synchronization** - Assistants only in WordPress CPT (MCP server still works perfectly)
**Lost Tools (5 tools):**
- `get_jetengine_items` - Query JetEngine custom post types
- `list_jetengine_rest_routes` - List JetEngine REST API routes
- `invoke_jetengine_route` - Execute JetEngine REST operations
- `get_jetformbuilder_forms` - List JetFormBuilder forms (also requires JetFormBuilder)
- `get_jetformbuilder_submissions` - Get form submissions (also requires JetFormBuilder)
**✅ Still Works:** All core features, MCP server, ~300 base tools, AI conversations
[Get JetEngine →](https://crocoblock.com/plugins/jetengine/?ref=16658)
---
### Without WooCommerce (Free Plugin)
**Lost Features:**
- ❌ **E-commerce automation** - Cannot create or manage products via AI
- ❌ **Order management** - Cannot query or analyze orders
- ❌ **Product catalog access** - Cannot search or update product data
**Lost Tools (3 tools):**
- `create_woo_product` - Build draft WooCommerce products with AI-generated descriptions, pricing, and images
- `get_woo_products` - Search and retrieve product catalog with pricing and stock status
- `get_woo_recent_orders` - Summarize recent orders with billing details and totals
**Use Cases Lost:** E-commerce content generation, order fulfillment assistance, product merchandising
[Get WooCommerce →](https://wordpress.org/plugins/woocommerce/)
---
### Without Elementor (Freemium Plugin)
**Lost Features:**
- ❌ **Template management** - Cannot list or reference Elementor templates via AI
- ❌ **Elementor widgets** - Cannot use pre-built chat/dashboard widgets (shortcodes still work)
**Lost Tools (2 tools):**
- `get_elementor_templates` - List Elementor library templates with status, type, and edit links
- `import_elementor_template_kit` - Import Elementor template kits
**Lost UI Components:**
- Elementor Chat Widget
- Elementor Chat Intro Widget
- Elementor Dashboard Widgets (Tool Matrix, User Capabilities, Activity Feed, etc.)
**✅ Still Works:** Standard `[mcp_ai_chat]` shortcode, all AI features
[Get Elementor →](https://be.elementor.com/visit/?bta=229888&brand=elementor)
---
### Without Rank Math SEO (Freemium Plugin)
**Lost Features:**
- ❌ **SEO analysis** - Cannot query SEO scores or optimization recommendations
- ❌ **Schema data access** - Cannot retrieve structured data for posts
**Lost Tools (1 tool):**
- `get_rankmath_seo` - Get SEO scores, focus keywords, robots metadata, and schema details for posts
**Use Cases Lost:** AI-powered SEO content optimization, SEO audit assistance
[Get Rank Math →](https://wordpress.org/plugins/seo-by-rank-math/)
---
### Without WPCode (Freemium Plugin)
**Lost Features:**
- ❌ **Code snippet management** - Cannot create or update code snippets via AI
- ❌ **Custom functionality automation** - Cannot automate adding hooks, filters, or custom code
**Lost Tools (1 tool):**
- `create_wpcode_snippet` - Create or update code snippets with validation and activation control
**Use Cases Lost:** AI-assisted custom development, automated code snippet generation
[Get WPCode →](https://wordpress.org/plugins/insert-headers-and-footers/)
---
### Without Simple JWT Login (Free Plugin)
**Lost Features:**
- ❌ **JWT token generation** - Cannot generate JWT bearer tokens for headless WordPress integrations
**Lost Tools (1 tool):**
- `generate_simple_jwt_token` - Generate JWT bearer tokens for authenticated API access
**Use Cases Lost:** Headless WordPress authentication, mobile app integration, SPA authentication
[Get Simple JWT Login →](https://wordpress.org/plugins/simple-jwt-login/)
---
### Summary: Third-Party Plugin Dependencies
| Plugin | Type | Tools Lost | Key Feature Lost |
|--------|------|------------|------------------|
| **JetEngine** | Paid (Crocoblock) | 5 | Server-side chat transcript storage |
| **WooCommerce** | Free | 3 | E-commerce automation |
| **[Elementor](https://be.elementor.com/visit/?bta=229888&brand=elementor)** | Freemium | 2 + Widgets | Elementor template integration |
| **Rank Math** | Freemium | 1 | SEO analysis |
| **WPCode** | Freemium | 1 | Code snippet management |
| **Simple JWT Login** | Free | 1 | JWT token generation |
**Total Impact:** Without these plugins, you lose **13 tools** but retain **~300 base tools** and all essential AI assistant functionality.
---
### Base Version (Default)
**NV oOS runs in Base Version mode by default**, providing ~300 essential tools that work with vanilla WordPress without requiring any third-party plugins:
**Base Version includes ~300 essential tools that work with vanilla WordPress:**
- Content management (search, save posts, attachments)
- AI media generation (images via OpenAI/Gemini, speech, transcription, video)
- Research tools (web search, weather, disaster alerts)
- Site operations (health checks, logs, cron jobs, cache management)
- WordPress-native email (via wp_mail)
- Image manipulation (resize, crop, rotate, convert, vectorize to SVG)
- Graphic editing (local operations and AI-powered transformations)
- Profession and assistant management
- GitHub integration tools
- Google Maps Platform tools
**Base Version excludes 31 tools requiring third-party plugins or external APIs:**
- **Third-party WordPress plugins** (13 tools) - See [🔌 What You Lose Without Third-Party Plugins](#-what-you-lose-without-third-party-plugins) for details
- WooCommerce tools (3)
- JetEngine/JetFormBuilder tools (5)
- Elementor tools (2)
- RankMath/WPCode/Simple JWT Login tools (3)
- **External API services** (18 tools) - Require API credentials
- Google services (5)
- Social media integrations (8)
- External messaging services (4)
- QuickBooks (1)
### Full Version Installation (Opt-in)
To enable the **Full Version** with all third-party integrations and external API tools, add this constant to your `wp-config.php` file:
```php
define( 'WP_MCP_AI_BASE_VERSION', false );
```
📖 See BASE-VERSION.md for the complete tool list and customization options.
**When to use Base Version:**
- Starting fresh with WordPress
- Testing or development environments
- Simpler installations without external dependencies
- Sites that don't need e-commerce or advanced integrations
- Don't want to purchase/install third-party plugins
**When to use Full Version:**
- Production sites with WooCommerce, JetEngine, or Elementor already installed
- Sites needing social media automation (requires API credentials)
- Advanced workflows requiring external APIs
- Need server-side chat transcript storage (requires JetEngine)
📖 **See detailed breakdown:** [🔌 What You Lose Without Third-Party Plugins](#-what-you-lose-without-third-party-plugins)
---
## 📚 Documentation
NV oOS includes comprehensive documentation covering all aspects of the plugin. **Documentation reorganized June 2026** — Unix-theory separation of concerns. All docs sorted into 12 purpose-driven directories with zero content loss.
### 📖 Documentation Hub
- **[Documentation Hub](docs/README.md)** ⭐ **Start here** - Central navigation with organized categories
- **[Documentation Index](docs/DOCUMENTATION_INDEX.md)** - Complete map of all 1,600+ documentation files
- **[Architecture Overview](docs/developer/architecture/ARCHITECTURE.md)** - System architecture (18 providers, ~1,768 tool classes, 36 REST controllers)
- **[Request Flow Walkthrough](docs/developer/architecture/REQUEST-FLOW-WALKTHROUGH.md)** - End-to-end chat request lifecycle trace
- **[Quick Reference Guide](docs/QUICK_REFERENCE.md)** - Fast access to common tasks and commands
### Essential References
- **[Tool Reference](docs/reference/tools/tool-reference.md)** - All ~1,692 tools documented (~353 base + ~1,339 Pro; live count via `WP_MCP_AI_Tool_Registry::get_tools()` is authoritative)
- **[REST API Documentation](docs/reference/api/rest-api.md)** - Complete API reference with examples
- **[Testing & Quality Report](docs/developer/testing-docs/TESTING_AND_QUALITY_REPORT.md)** - Test results and code quality analysis
### 📦 Archive
- **[Historical Documentation](docs/history/archive/2025/README.md)** — 50+ archived files from 2024-2025 development
- **[Docs Archive](docs/history/archive/)** - Consolidated implementation history and superseded documentation
### For New Users
- **🚀 [Getting Started Wizard](#-installation)** ⭐ NEW — 4-step guided setup that connects your AI provider, selects a use case, and creates a ready-to-use assistant in under 2 minutes. 8 presets available: Content Creator, Customer Support, E-commerce, SEO & Research, Developer Copilot, Media & Creative Studio, Site Administrator, General Purpose.
- **[Use Cases & Quickstart Guides](docs/getting-started/USE_CASES_AND_QUICKSTARTS.md) ⭐ NEW** - Comprehensive guide covering 7 major use cases with step-by-step quickstarts
- [5-Minute Quick Start](docs/getting-started/QUICK_START_5_MINUTES.md) - Get started immediately: from zero to first chat
- [Setup Checklist](docs/getting-started/installation-setup/mcp-ai-plugin-setup-checklist.md) - Step-by-step installation and configuration
- [Remote Client Quickstart](docs/getting-started/quick-starts/remote-client-quickstart.md) - Connect Claude Desktop, LM Studio, or other MCP clients
- [Best Practices](docs/developer/best-practices/BEST_PRACTICES.md) - Recommended usage patterns and optimization tips
### For Developers
- **[Testing & Quality Report](docs/developer/testing-docs/TESTING_AND_QUALITY_REPORT.md)** - Test suite results (2,106 tests, 73.4% pass rate), code quality analysis, security audit
- [Code Review Master](docs/developer/best-practices/CODE-REVIEW-MASTER.md) - Comprehensive code quality analysis (95/100 score)
- [Action Items](docs/history/2025/summaries/ACTION_ITEMS.md) - Prioritized development tasks (180+ hours)
- [Authentication Guide](docs/reference/api/mcp-server-authentication.md) - Authentication methods and security
- [MCP JSON-RPC 2.0 Endpoint](docs/reference/api/mcp-endpoint.md) - Model Context Protocol implementation
### For Administrators
- [Deployment Troubleshooting](docs/getting-started/installation-setup/deployment-troubleshooting.md) - Common issues and solutions
- [Multisite Support](docs/getting-started/installation-setup/multisite-support.md) - WordPress multisite configuration
- [Rate Limit Protection](docs/features/performance/rate-limit-protection.md) - API rate limiting setup
- [Mesh Routing Guide](docs/features/federation/mesh-routing-guide.md) - Intelligent compute routing across sites and providers
- [Federation & Discovery](docs/features/federation/federation-discovery.md) - Decentralized AI capability network with peer discovery and well-known endpoints
### Performance & Optimization
- [Message Bundling](docs/user-guides/chat/message-bundling-feature.md) - Client-side message optimization
- [High Token Tool Handling](docs/features/tools/presets/high-token-tool-handling.md) - Agentic loop token management
- [Job Notification System](docs/features/async-jobs/job-notification-system.md) - Real-time async job updates
- [Chat Performance Optimizations](docs/features/chat/chat-performance-optimizations.md) - Complete performance guide
- [Mesh Routing Guide](docs/features/federation/mesh-routing-guide.md) - Intelligent compute routing across sites and providers
### Historical Documentation
- **[Archive Directory](docs/history/archive/)** - 95+ historical documents organized by category:
- `implementations/` - Implementation summaries and technical details
- `phases/` - Development phase documents
- `fixes/` - Bug fix summaries and issue resolutions
- `features/` - Feature documentation
- `code-reviews/` - Code review reports
- `testing/` - Test infrastructure documentation
---
## ⚙ Configuration Checklist (Action Items)
Complete these after installation to unlock every integration point:
- [ ] **Add your OpenAI API key** in **Settings → NV oOS → OpenAI API Key** so API calls are authorised.
- [ ] **Add your Gemini API key** in **Settings → NV oOS → Gemini API Key** if you plan to route assistants through Gemini.
- [ ] **Confirm or override the default model** via **Settings → NV oOS → Default Model** (`gpt-4.1` ships as the default).
- [ ] **Set a default Gemini model** under **Settings → NV oOS → Default Gemini Model** when Gemini is enabled.
- [ ] **Choose the default provider** from **Settings → NV oOS → Default Provider** so new assistants know whether to use OpenAI or Gemini by default.
- [ ] **Adjust the request timeout** under **Settings → NV oOS → Request Timeout** (minimum 5 s, default 30 s) to match your hosting environment.
- [ ] **Select a default assistant** with **Settings → NV oOS → Default Assistant** so REST and shortcode requests have a fallback.
- [ ] **Decide on logging** with **Settings → NV oOS → Enable Logging** when you need verbose diagnostics.
- [ ] **Monitor token usage** in **Settings → NV oOS → Token Usage Statistics** to track API consumption across users, providers, and models for billing and budget management.
- [ ] **Choose your uninstall behaviour** via **Settings → NV oOS → Remove Data on Uninstall** if this site should purge assistants and settings during cleanup.
- [ ] **Configure Crawl4AI access** in **Settings → NV oOS → Tools** when you want the Crawl4AI tool to be available to assistants.
- [ ] **Review attachment MIME overrides** in **Settings → NV oOS → Attachments** before enabling file uploads for end users.
- [ ] **Review Send Group Email permissions** in **Settings → NV oOS → Tools** to choose the capability and recipient cap for the group email automation.【F:includes/admin/class-wp-mcp-ai-admin-settings.php†L348-L359】【F:includes/admin/class-wp-mcp-ai-admin-settings.php†L938-L953】
- [ ] **Connect Gmail** under **Settings → NV oOS → Tools → Connections → Gmail** to enable Gmail search tools with OAuth 2.0. See [Google OAuth Setup Guide](docs/getting-started/installation-setup/google-oauth-setup.md) for complete configuration steps.
- [ ] **Connect QuickBooks Online** under **Settings → NV oOS → QuickBooks Company ID / API Key** so the bundled reporting tool can fetch finance statements for authorised operators.【F:includes/admin/class-wp-mcp-ai-admin-settings.php†L906-L955】
- [ ] **Configure Mailjet credentials** in **Settings → NV oOS → Mailjet API Key / Secret / From Email / From Name** before enabling Mailjet-powered tools or Elementor widgets that send email on behalf of assistants.【F:includes/admin/class-wp-mcp-ai-admin-settings.php†L1008-L1054】
- [ ] **Enable Federation & Discovery** (Optional) in **Settings → NV oOS → Federation & Discovery** to publish your site's AI capabilities via `/.well-known/ai-peer` and optionally run a directory service for peer discovery. Configure regions, data tags, and rate limits to control how your site participates in the decentralized AI network.【F:docs/features/federation/federation-discovery.md†L1-L511】【F:FEDERATION-IMPLEMENTATION-SUMMARY.md†L1-L381】
- [ ] **Configure Root Security Key** (Optional) by adding `define( 'WP_MCP_AI_ROOT_SECURITY_KEY', 'your-secure-key' );` to wp-config.php. This provides an additional security layer that can be enabled during emergency shutdown to require authentication before re-initializing the plugin.【F:docs/features/security/root-security-key.md†L1-L511】
- [ ] **Enable Pro Dashboard** (Optional) by adding `define( 'WP_MCP_AI_PRO_DASHBOARD_ENABLED', true );` to wp-config.php. This activates the dedicated Pro Dashboard with ISO/IEC 27001 compliance monitoring, reporting, and management tools. See [Pro Dashboard Documentation](docs/operations/compliance/iso27001/PRO-DASHBOARD-IMPLEMENTATION.md) for details.
## 🧠 Language Model Providers (OpenAI, Gemini, Anthropic, Baseten, DeepSeek, OpenRouter, Kimi, DigitalOcean, NVIDIA NIM, Ollama, LM Studio, Hugging Face, Cloudflare)
A dedicated router transparently forwards chat completions to the active provider, allowing each request to target OpenAI, Gemini, Anthropic, DeepSeek, OpenRouter, Baseten, Kimi, DigitalOcean, NVIDIA NIM, a local Ollama instance, LM Studio, Hugging Face, or Cloudflare Worker AI while sharing the same assistant UX.【F:includes/class-wp-mcp-ai-language-model-router.php†L12-L86】 Configure the required API keys, default models, and the global default provider in **Settings → NV oOS** so new assistants inherit sensible defaults and administrators can switch providers without code changes.【F:includes/admin/class-wp-mcp-ai-admin-settings.php†L124-L333】【F:includes/admin/class-wp-mcp-ai-admin-settings.php†L505-L530】 Assistants can still override provider, model, and generation parameters on a per-post basis.
**Privacy & Terms:** All AI providers have specific terms and privacy policies:
- **OpenAI**: [Terms](https://openai.com/policies/terms-of-use) | [Privacy](https://openai.com/privacy)
- **Google Gemini**: [Terms](https://ai.google.dev/terms) | [Privacy](https://ai.google.dev/privacy)
- **Anthropic**: [Terms](https://www.anthropic.com/legal/consumer-terms) | [Privacy](https://www.anthropic.com/legal/privacy)
- **NVIDIA NIM**: [Terms](https://www.nvidia.com/en-us/data-center/products/nvidia-ai-enterprise/eula/) | [Privacy](https://www.nvidia.com/en-us/about-nvidia/privacy-policy/)
- **Cloudflare**: [Terms](https://www.cloudflare.com/terms/) | [Privacy](https://www.cloudflare.com/privacypolicy/)
- **Hugging Face**: [Terms](https://huggingface.co/terms-of-service) | [Privacy](https://huggingface.co/privacy)
- **Ollama/LM Studio**: Self-hosted (no external data transmission)
- **Baseten**: [Terms](https://www.baseten.co/terms-and-conditions/) | [Privacy](https://www.baseten.co/privacy-policy/)
### LM Studio Support
**LM Studio with Function Calling** - Full support for OpenAI-compatible function calling with local LM Studio instances:
- OpenAI-compatible message structure preserved for tool calls
- Tools/functions can be invoked by LM Studio models (e.g., qwen/qwen3-coder-30b)
- Streaming automatically disabled when tools are present for reliable execution
- Full backward compatibility with non-tool scenarios
- Connect via JSON-RPC endpoint (recommended) or SSE streaming
- See [LM Studio setup guide](#lm-studio-setup) for configuration details
### Provider Priority List & Automatic Fallback
The plugin includes an intelligent provider priority system that automatically tries alternative providers when the primary one fails or is unavailable. In **Settings → NV oOS**, you can:
- **Drag and drop** providers to set your preferred order
- **Automatic fallback** - if the first provider fails, the system tries the next one
- **Visual management** - see all available providers (OpenAI, Gemini, Anthropic, Baseten, DeepSeek, OpenRouter, Kimi, DigitalOcean, NVIDIA NIM, Ollama, LM Studio, Hugging Face, Cloudflare) in one sortable list
- **Flexible prioritization** - adjust based on cost, performance, or availability needs
The first provider in the list serves as the default. If any provider returns an error, the router automatically attempts the next provider in the list until one succeeds. This ensures maximum uptime and resilience without manual intervention. All fallback attempts are logged for debugging and monitoring.
### Local AI with Ollama
The Ollama provider enables privacy-focused, cost-free AI processing by connecting to a local Ollama or LM Studio instance running on your server or development machine. This is ideal for:
- **Privacy-sensitive deployments** where data must stay on-premises
- **Development and testing** without incurring API costs
- **Custom or fine-tuned models** not available through cloud providers
- **Air-gapped environments** without internet access
To configure Ollama:
1. Install [Ollama](https://ollama.ai) on your server or local machine
2. Pull a model (e.g., `ollama pull llama2`)
3. Navigate to **Settings → NV oOS → Ollama Configuration**
4. Enter your Ollama endpoint URL (default: `http://localhost:11434`)
5. Click "Test Connection" to verify connectivity
6. Click "Fetch Models" to see available models
7. Select a model from the list or manually enter a model name
8. Set "Default Provider" to "Ollama (Local AI)" if you want it as the system default
The Ollama client supports the standard chat completion flow and automatically normalizes responses to match the OpenAI format for downstream compatibility. Note that some advanced features like tool calling may vary depending on the specific Ollama model you're using.
### OpenAI model coverage
The plugin ships with presets for OpenAI’s current Responses, Reasoning, Audio, and Image APIs so site owners can choose the right model for each workflow. Token windows describe the maximum request size (messages, attachments, and tool payloads) the OpenAI API will accept for that model, while output limits reflect the largest single response the service will stream back. Leave a safety margin below each ceiling so assistants can add system instructions, tool calls, and knowledge snippets without hitting provider limits.
| Capability | Model | Max context tokens | Max output tokens | Notes |
| --- | --- | --- | --- | --- |
| Responses (flagship) | `gpt-5.2` | 400,000 | 128,000 | Latest flagship multimodal model with 400K context window (Dec 2025). Ideal for large documents and complex workflows. |
| Responses (pro reasoning) | `gpt-5.2-pro` | 400,000 | 128,000 | Advanced reasoning variant with enhanced capabilities for mission-critical tasks requiring maximum accuracy. |
| Responses (high throughput) | `gpt-5.2-instant` | 400,000 | 128,000 | High-volume optimized variant for customer support and content generation at scale. |
| Responses (deep analysis) | `gpt-5.2-thinking` | 400,000 | 128,000 | Deeper analysis variant with reasoning time dial for multi-step analysis and research tasks. |
| Responses (general) | `gpt-4.1` | 128,000 | 16,384 | Flagship multimodal model that balances quality and latency for production chat, tool, and multimodal calls. |
| Responses (cost optimised) | `gpt-4.1-mini` | 128,000 | 16,384 | Budget-friendly 4.1 variant recommended for day-to-day assistants and background automations. |
| Responses (advanced) | `gpt-4o` | 128,000 | 16,384 | Previous generation multimodal model with strong reasoning capabilities. |
| Responses (legacy) | `gpt-4o-mini` | 128,000 | 16,384 | Lower-latency 4o tier that keeps the larger context window while reducing cost for iterative workflows. |
| Reasoning | `o1-preview` | 128,000 | 32,768 | Deliberate reasoning model suited to multi-step planning and analysis; expect slower responses while it “thinks”. |
| Reasoning (fast) | `o1-mini` | 128,000 | 32,768 | Lighter o1 variant that trades some reasoning depth for responsiveness in operational assistants. |
#### Media and multimodal defaults
| Capability | Model | Size or duration limits | Notes |
| --- | --- | --- | --- |
| Image generation | `gpt-image-2` (default) / `gpt-image-1.5` / `gpt-image-1` / `dall-e-3` | Up to 2048×2048 output (square) or 2048×1152 / 1152×2048 (16:9 / 9:16) for `gpt-image-2`; proportional 1024 / 512 variants for older models | `gpt-image-2` ("Images 2.0") is the default as of v1.1.13 — native 2K resolution, multi-image coherency, and accurate multilingual text rendering. Older models remain selectable. Respect OpenAI's safety filters when prompting. |
| Text-to-speech | `gpt-4o-mini-tts` | Up to ~4,096 input tokens per request | Generates natural-sounding speech in multiple voices; longer scripts should be chunked into multiple calls. |
| Speech-to-text | `gpt-4o-mini-transcribe` | Optimised for recordings ≤ 90 minutes | Handles multilingual transcription and translation; large files are automatically chunked client-side before upload. |
OpenAI regularly revises token policies and media limits, so review the [model specification dashboard](https://platform.openai.com/docs/models) before rolling out new assistants or increasing attachment budgets. Updating your defaults in **Settings → NV oOS** keeps every assistant aligned with the latest provider guidance.【F:includes/admin/class-wp-mcp-ai-admin-settings.php†L36-L105】【F:includes/admin/class-wp-mcp-ai-admin-settings.php†L2298-L2398】
## 🧱 ChatKit Integration
The [ChatKit](https://github.com/nvdigitalsolutions/chatkit) module now ships with the core NV oOS plugin, so no separate add-on installation is required. Once enabled it self-registers through ChatKit’s filter and action APIs as soon as both plugins load, exposing the `mcp-ai/v1` REST namespace while advertising chat, tool invocation, attachment download, and guest token support without any manual bootstrapping. Return `false` from the `wp_mcp_ai_chatkit_is_available` filter if you need to disable the automatic registration for bespoke environments.【F:includes/class-wp-mcp-ai-chatkit-integration.php†L30-L204】【F:includes/class-wp-mcp-ai-rest.php†L16-L2104】
From the ChatKit dashboard configure the **NV oOS** integration and supply at least one assistant ID so ChatKit knows which conversation to join. Optional fields let you override the system prompt or preload tool shortcut payloads for operators; capability checks inherit the `wp_mcp_ai_chat_capability` filter, so you can align ChatKit access with the same policies used for shortcodes or REST calls.【F:includes/class-wp-mcp-ai-chatkit-integration.php†L182-L210】【F:mcp-ai-wpoos.php†L25-L72】
Consult [`docs/developer/integration/chatkit-integration.md`](docs/developer/integration/chatkit-integration.md) for a full configuration walkthrough, JSON examples for shortcut presets, and notes on extending the definition via filters.
## 🌐 Crawl4AI Integration
Administrators with `manage_options` capabilities can run the **Run Crawl4AI Job** tool without any external service: when no Crawl4AI endpoint is configured the plugin performs the crawl directly on the WordPress server using the built-in HTTP client, extracts headings and text as Markdown, and records the raw HTML and response metadata for the assistant.【F:includes/tools/class-wp-mcp-ai-tool-run-crawl4ai-job.php†L32-L745】 Errors for individual URLs are captured in the response metadata so partial crawls still return useful context. When a remote Crawl4AI endpoint is configured the request now returns immediately with a task token while WP-Cron powered background polling captures the final payload and makes it available to the assistant UI once the crawl finishes.【F:includes/crawler/class-wp-mcp-ai-crawler.php†L1-L214】【F:assets/js/chat.js†L1-L2200】
Configure remote endpoints or API keys under **Settings → NV oOS → Tools** to tailor how the Crawl4AI integration runs across environments.【F:includes/admin/class-wp-mcp-ai-admin-settings.php†L248-L521】
Supplying a Crawl4AI base URL (and optional API key) switches the tool back to proxying crawl jobs to the remote Crawl4AI REST API, preserving backwards compatibility with existing deployments.【F:includes/tools/class-wp-mcp-ai-tool-run-crawl4ai-job.php†L206-L339】【F:includes/admin/class-wp-mcp-ai-admin-settings.php†L248-L521】 Local environments can still feed a custom endpoint to the integration through the `WP_MCP_AI_CRAWL4AI_BASE_URL` or `CRAWL4AI_BASE_URL` environment variable when you want to test against a dedicated Crawl4AI service.【F:mcp-ai-wpoos.php†L54-L96】
## 📡 Job Notification System
NV oOS includes a general-purpose infrastructure for real-time notifications on async WordPress jobs, providing SSE streaming and webhook support for external integrations.【F:docs/features/async-jobs/job-notification-system.md†L1-L100】
### Architecture
```
Async Job → WordPress Action → Job Notifier → [SSE | Webhooks]
↓ ↓
Frontend External
```
### Automatic Crawl4AI Integration
The system automatically hooks into Crawl4AI jobs via the `wp_mcp_ai_crawl4ai_job_completed` action, providing real-time status updates as crawls progress. No additional code is needed—Crawl4AI jobs automatically trigger notifications.【F:includes/crawler/class-wp-mcp-ai-crawler.php†L1-L214】
### Frontend SSE Subscription
JavaScript clients can subscribe to job status updates using Server-Sent Events:
```javascript
const jobId = 'crawl_abc123';
const eventSource = new EventSource(
`/wp-json/mcp-ai/v1/jobs/${jobId}/stream?max_duration=300&poll_interval=2`
);
eventSource.addEventListener('status', (e) => {
const status = JSON.parse(e.data);
console.log('Job status:', status.status, status.progress);
updateProgressBar(status.progress);
});
eventSource.addEventListener('complete', (e) => {
const data = JSON.parse(e.data);
console.log('Job completed:', data.final_status);
eventSource.close();
});
```
### Webhook Registration
External systems can receive HTTP callbacks when jobs complete:
```php
WP_MCP_AI_Job_Notifier::register_webhook(
'crawl_abc123',
'https://example.com/webhook',
array( 'completed', 'failed' )
);
```
➡️ See [docs/features/async-jobs/job-notification-system.md](docs/features/async-jobs/job-notification-system.md) for complete implementation details.
## 🧊 Elementor Widgets
Sites running [Elementor](https://be.elementor.com/visit/?bta=229888&brand=elementor) automatically register a suite of MCP blocks so you can assemble onboarding pages, operational dashboards, and standalone chat layouts without writing markup.【F:includes/class-wp-mcp-ai-elementor-integration.php†L12-L98】 The integration only boots when Elementor is present, so non-Elementor installs avoid any overhead.【F:includes/class-wp-mcp-ai-elementor-integration.php†L29-L46】
### Chat surfaces and companion blocks
- **NV oOS Chat** – Renders the assistant interface with the same controls exposed by the `[mcp_ai_chat]` shortcode, including the `allow_guests` toggle for minting temporary visitor tokens.【F:includes/elementor/class-wp-mcp-ai-elementor-widget.php†L17-L138】
- **NV oOS Chat Bubble** ⭐ **NEW** – Floating chat bubble that sits at a configurable screen corner and opens a chat panel powered by the existing `[mcp_ai_chat]` shortcode. Also available as a **Gutenberg block** (`wp:mcp-ai-wpoos/chat-bubble`). 5 control sections: Chat Settings, Bubble Settings (position/size/animation/tooltip/badge/auto-open), Panel Settings, Bubble Style, Panel Style. BEM CSS with 4 positions, 3 sizes, bounce/pulse animations, dark mode, full-screen mobile (<480px), `prefers-reduced-motion`, WCAG focus states. Public API at `window.wpMcpAiChatBubble`.【F:includes/elementor/class-wp-mcp-ai-elementor-chat-bubble-widget.php†L1-L200】【F:includes/blocks/chat-bubble/block.json†L1-L50】
- **NV oOS Chat Intro** – Adds a configurable hero block above the conversation with headings, talking points, and an optional call-to-action button to guide visitors before they engage the model.【F:includes/elementor/class-wp-mcp-ai-elementor-chat-intro-widget.php†L47-L190】
- **NV oOS Chat FAQ** – Surfaces a repeater-driven FAQ list alongside the chat so product teams can document policies and best practices in context.【F:includes/elementor/class-wp-mcp-ai-elementor-chat-faq-widget.php†L47-L150】
- **NV oOS Usage & Timer** – Combines a focus timer with per-user token totals, gracefully handling logged-out visitors, disabled tracking, and empty usage histories.【F:includes/elementor/class-wp-mcp-ai-elementor-chat-usage-timer-widget.php†L48-L340】
### Operations dashboards
- **NV oOS Tool Matrix** – Pulls the tool registry, groups integrations by focus area, and highlights the required capability for each assistant tool so administrators can plan enablement safely. The Send Group Email row now mirrors the capability and recipient limit configured in the MCP settings so editorial policies stay front-of-mind.【F:includes/elementor/class-wp-mcp-ai-elementor-dashboard-tool-matrix-widget.php†L48-L440】
- **NV oOS User Capability Snapshot** – Summarises the signed-in operator’s profile, common capabilities, JetEngine access, and multisite memberships to support governance reviews. It also surfaces the configured Send Group Email capability and limit so administrators immediately know whether the current user can trigger bulk mail jobs.【F:includes/elementor/class-wp-mcp-ai-elementor-dashboard-user-capability-widget.php†L48-L392】
- **NV oOS Theme Preview** – Renders a mock conversation using the saved chat color tokens and optionally displays a legend of every branding token for quick QA during rollouts.【F:includes/elementor/class-wp-mcp-ai-elementor-dashboard-theme-preview-widget.php†L48-L198】
- **NV oOS Provider Quick Links** – Reuses the OpenAI usage/log tools to populate external billing and telemetry shortcuts that open in new tabs for rapid debugging.【F:includes/elementor/class-wp-mcp-ai-elementor-dashboard-provider-links-widget.php†L48-L166】
- **NV oOS Activity Feed** – Streams the latest MCP log entries (tool runs, chat interactions, and optional provider requests), collapsing raw context into expandable JSON blocks for deeper analysis.【F:includes/elementor/class-wp-mcp-ai-elementor-dashboard-activity-feed-widget.php†L48-L210】
## 🧮 Usage Tracking
### Privacy-First Analytics (v1.2.0+)
The plugin includes **optional, privacy-first activation tracking** to help us understand plugin usage and improve development priorities. This feature is:
**Privacy Features:**
- ✅ **No PII collected** - No personal information or identifiable data
- ✅ **Site URLs hashed** - Non-reversible SHA-256 hash with WordPress salts
- ✅ **No IP storage** - IP addresses are not logged or stored
- ✅ **Local dev excluded** - Automatically disabled for localhost and common dev domains
- ✅ **Opt-out available** - Easy to disable via settings or filter hook
- ✅ **GDPR compliant** - Meets all privacy regulations
- ✅ **Fully transparent** - All code is open source and documented
**Data Collected:**
- Plugin variant (complete, base, pro, or core)
- Plugin version number
- WordPress version
- PHP version
- Site locale (language)
- Multisite status
- Hashed site identifier (non-reversible)
- Timestamp
**How to Opt Out:**
1. **Via Settings**: Settings → NV oOS → General → Log Management → Disable Activation Tracking
2. **Via Filter Hook**:
```php
add_filter( 'wp_mcp_ai_enable_usage_tracking', '__return_false' );
```
**Full Privacy Details**: See [EXTERNAL_SERVICES.md](docs/reference/EXTERNAL_SERVICES.md#plugin-analytics-service) for complete documentation.
---
The plugin records aggregate token usage per user, provider, and model whenever responses include usage metadata, simplifying internal reconciliation or billing workflows. Usage data is stored as user meta and automatically purged when accounts are deleted, and hooks are exposed for custom reporting pipelines.【F:includes/class-wp-mcp-ai-usage-tracker.php†L12-L119】
### Token Usage Management Dashboard
Administrators with `manage_options` capability can view comprehensive token usage statistics in **Settings → NV oOS**:
**Global Statistics (All Users):**
- Total requests across all users
- Total tokens consumed (prompt + completion)
- Prompt tokens used
- Completion tokens generated
- Cached tokens (for providers supporting prompt caching)
- Reset all usage data button (with confirmation)
**Individual User Statistics:**
- Your personal token consumption
- Per-user breakdown of requests and tokens
- Reset personal usage data button
**Detailed Breakdown:**
- Usage by provider (OpenAI, Gemini, Anthropic, NVIDIA NIM, Ollama, LM Studio, Hugging Face, Cloudflare)
- Usage by specific model (e.g., `gpt-4.1-mini`, `gemini-2.0-flash`)
- Request counts per provider/model combination
- Last used timestamp for each model
- Comprehensive table view with all metrics
The usage tracking system automatically:
- Records usage from all API responses that include usage metadata
- Aggregates data by user, provider, and model
- Updates in real-time as conversations occur
- Supports the **Open OpenAI Usage** tool for quick access to provider dashboards
- Provides AJAX-powered reset functionality for administrators
## 🧷 Attachment MIME Controls
Administrators can override the default image and file MIME allowlists used by the chat uploader. The settings screen accepts one MIME type per line, and the attachment helper merges the overrides with its defaults before enforcing them on upload and shortcode configuration.【F:includes/admin/class-wp-mcp-ai-admin-settings.php†L225-L669】【F:includes/class-wp-mcp-ai-message-attachments.php†L503-L559】 Leave the fields empty to fall back to the bundled safe defaults.
## ⚡ Message Bundling
NV oOS implements client-side message bundling to optimize API usage and reduce server load. When enabled, messages sent within an 800ms window are automatically grouped into a single API request, reducing costs and improving performance for users who send multiple messages in quick succession.【F:docs/user-guides/chat/message-bundling-feature.md†L1-L80】
### How It Works
1. User sends a message → Displayed immediately in the chat UI
2. 800ms timer starts → System waits for additional messages
3. More messages arrive → Timer resets with each new message
4. Timer expires → All queued messages sent together in one request
### Visual Feedback
- **"Preparing to send…"** - Messages are being queued during the bundling window
- **"Sending…"** - Bundled messages are being transmitted to the server
### Benefits
- **Reduced API costs** - Fewer requests mean lower costs for pay-per-request APIs
- **Lower server load** - Fewer requests to process and respond to
- **Better mobile experience** - Ideal for users who type in short bursts
- **Backward compatible** - Server code unchanged, same payload format
### Configuration
Message bundling is enabled by default and requires no configuration. To disable for debugging:
```javascript
window.wpMcpAiChatDebugMode = true;
```
➡️ See [docs/user-guides/chat/message-bundling-feature.md](docs/user-guides/chat/message-bundling-feature.md) for configuration options and implementation details.
## 🎯 Agentic Loop Token Management
NV oOS includes intelligent handling for tools that return large responses, preventing token overflow errors during agentic loops (where the AI automatically calls multiple tools).【F:docs/features/tools/presets/high-token-tool-handling.md†L1-L80】
### The Problem
Tools like `run_crawl4ai_job` can return 100,000+ tokens of content. In agentic loops, each API call includes all previous messages, causing token counts to grow rapidly and exceed model limits (e.g., gpt-4.1-mini's 200k TPM limit).
### The Solution: Three-Tier Strategy
#### Tier 1: Token Limit Detection
- Estimates total tokens before each API call
- Checks against model's TPM (Tokens Per Minute) limit
- Prevents requests that would exceed limits
#### Tier 2: Automatic Model Switching
- When limits exceeded, auto-switches to fallback model
- Default fallback: Gemini 2.0 Flash (1-2 million token capacity)
- Preserves full context without data loss
- Transparent to the user
#### Tier 3: Message Truncation
- If even fallback model can't handle tokens
- Truncates older messages from conversation
- Always preserves system prompts and recent context
- Logs what was truncated for debugging
### Configuration
Automatic model switching is enabled by default. Configure fallback model under **Settings → NV oOS**:
```php
// Default fallback model
'fallback_model' => 'gemini-2.0-flash-exp'
```
➡️ See [docs/features/tools/presets/high-token-tool-handling.md](docs/features/tools/presets/high-token-tool-handling.md) for complete technical details and examples.
## 🔄 Chat Performance Optimizations
NV oOS includes several performance optimizations to enhance the chat experience:
- **Message bundling** - Reduces API calls by grouping rapid user inputs
- **Token budget management** - Prevents API limit overruns with safety margins【F:docs/features/performance/tpm-limit-validation.md†L1-L50】
- **Chat history persistence** - LocalStorage (24h) + optional JetEngine CCT storage【F:docs/user-guides/chat/chat-history-persistence.md†L1-L50】
- **Automatic model switching** - Seamlessly handles token overflow scenarios
- **Rate limit protection** - Intelligent retry with exponential backoff【F:docs/features/performance/rate-limit-protection.md†L1-L50】
➡️ See [docs/features/chat/chat-performance-optimizations.md](docs/features/chat/chat-performance-optimizations.md) for detailed performance tuning guide.
## 🌐 Mesh Compute Routing
NV oOS includes **intelligent mesh compute routing** that automatically distributes AI workload across multiple sites OR multiple providers using AI-powered decision-making. This feature works in two modes:
1. **Multi-Site Mesh**: Distribute load across multiple WordPress installations
2. **Single-Site Multi-Provider**: Balance load across OpenAI, Gemini, Anthropic, NVIDIA NIM, Hugging Face, Cloudflare, and Ollama on one site
Both modes use the same AI-powered routing engine to optimize for cost, performance, and reliability.
### Key Capabilities
- **AI-Optimized Routing** - Analyzes prompt complexity and routes to optimal provider/site
- **Cost Optimization** - Use GPT-4o-mini for simple queries, GPT-4o for complex tasks
- **Automatic Failover** - Switch providers on rate limits or outages
- **Compute Hubs** - Designate powerful servers for heavy workloads
- **Rate Limit Management** - Auto-switch to alternative providers when limits hit
- **Privacy Control** - Route sensitive data to local Ollama instances
### Quick Start Examples
**Single-Site Setup** (No mesh required):
- Configure multiple AI providers (OpenAI + Gemini + Anthropic + Hugging Face + Cloudflare + Ollama)
- Set assistant routing strategy to "AI Optimized"
- Save 90% on costs by routing simple queries to cheaper models
**Multi-Site Setup** (Distributed compute):
- Enable mesh networking on all sites
- Designate compute hubs with larger models
- Automatic load balancing across peer sites
- Cross-server compute pooling for Cloudways, SiteGround, etc.
➡️ See [docs/features/federation/mesh-routing-guide.md](docs/features/federation/mesh-routing-guide.md) for complete setup guide, routing strategies, and use cases.
➡️ See [docs/features/federation/mesh-compute-pooling.md](docs/features/federation/mesh-compute-pooling.md) for architecture and authentication details.
## 🔗 Federation & Discovery System
NV oOS includes a **decentralized AI capability network** that allows WordPress sites to publish their capabilities and discover peer sites. Think of it as "npm for AI tools" — sites can advertise what they offer and find complementary capabilities from trusted peers.
### Overview
The Federation & Discovery system provides three deployment modes:
1. **Publisher Mode**: Publish your site's capabilities via `/.well-known/ai-peer`
2. **Directory Mode**: Run a discovery service for peer registration and search
3. **Consumer Mode**: Query directories to find and use peer capabilities
### Quick Start
**Enable Federation (Publisher Mode):**
1. Navigate to **Settings → NV oOS → Federation & Discovery**
2. Check **Enable federation**
3. Configure regions (e.g., `us, eu, ap`) and data tags (e.g., `no_pii, gdpr_ok`)
4. Your capabilities are now published at `https://yoursite.com/.well-known/ai-peer`
**Enable Directory Service (Optional):**
1. In the same settings section, check **Enable directory service**
2. Your directory API is now available at `https://yoursite.com/wp-json/ai-dir/v1`
3. Automatic hourly health checks verify registered peers
### Key Features
- 📡 **Well-Known Endpoints** - Standards-based capability publishing
- 🔍 **Peer Discovery** - Search by capability, region, and data policy
- ✅ **Health Monitoring** - Automatic cron-based peer verification
- 🏆 **Smart Ranking** - Scores peers by region, latency, and policy match
- 🔐 **JWKS Verification** - Built-in security with public key discovery
- ⚙️ **Conditional Loading** - Zero overhead when disabled
### API Endpoints
**Directory REST API (`/wp-json/ai-dir/v1`):**
- `POST /peers/register` - Register a new peer
- `GET /peers` - List all peers with health status
- `GET /peers/{id}` - Get peer details
- `GET /search` - Search peers by capability/region/policy
- `POST /reverify/{id}` - Manually trigger health check
- `POST /report/{id}` - Report peer issues
**Well-Known Endpoints:**
- `GET /.well-known/ai-peer` - Your site's capability manifest
- `GET /.well-known/jwks.json` - Public keys for verification
### Use Cases
**Private Organization Network:**
- Multiple WordPress sites within one organization
- Share AI capabilities across internal sites
- Central directory for discovery
- Private peer network with secure authentication
**Public Directory Service:**
- Community-run capability discovery
- Accept registrations from external sites
- Provide search API for consumers
- Build an ecosystem marketplace
**Capability Consumer:**
- Query public directories for needed capabilities
- Integrate with mesh router for automatic peer selection
- No need to publish your own capabilities
- Access specialized tools from the network
### Configuration Options
- **Regions**: Geographic locations (e.g., `us, eu, ap, global`)
- **Data Tags**: Compliance policies (e.g., `no_pii, gdpr_ok, hipaa_like`)
- **QPS Limit**: Queries per second (default: 5)
- **Burst Capacity**: Simultaneous requests (default: 10)
➡️ **Complete Documentation:** [docs/features/federation/federation-discovery.md](docs/features/federation/federation-discovery.md)
➡️ **Implementation Summary:** FEDERATION-IMPLEMENTATION-SUMMARY.md
## 🕵 Code Review
The 2025-10-31 internal review confirms the hardening of the group email automation (header filtering and attachment caps) and the case-sensitive variable handling in the OpenAI external action tool, and only flags a low-severity performance concern around guest token transient churn for public chat embeds. These findings have been consolidated into the master code review document. One follow-up action item recommends re-using or rate-limiting guest tokens to keep the options table tidy on cache-less hosts.
➡️ See [docs/developer/best-practices/CODE-REVIEW-MASTER.md](docs/developer/best-practices/CODE-REVIEW-MASTER.md) for the complete code quality assessment.
## 🔒 MCP Server Authentication
Remote MCP assistants should authenticate with Auth0-issued bearer tokens (`Authorization: Bearer YOUR_TOKEN`) whose audience and scope align with the values configured under **Settings → NV oOS**. Same-origin experiences (the dashboard editor and shortcode UI) continue to rely on the `X-WP-Nonce` header tied to the logged-in WordPress session. Review [docs/reference/api/mcp-server-authentication.md](docs/reference/api/mcp-server-authentication.md) for a complete setup guide plus a breakdown of the structured error responses returned on failure, and keep the [deployment troubleshooting checklist](docs/getting-started/installation-setup/deployment-troubleshooting.md) handy when diagnosing capability or credential regressions.
**MCP transports (v1.1.55+):** `POST /wp-json/mcp-ai/v1/mcp` speaks JSON-RPC 2.0 over **Streamable HTTP** by default. Legacy **HTTP+SSE** clients (SSE-only `Accept: text/event-stream` or `?stream=true`) get a credential-bound session handshake from `GET /mcp` and receive responses as `event: message` on the GET stream — enable with `WP_MCP_AI_LEGACY_SSE_ENABLED`. JSON-RPC **errors return HTTP 200** with the `{"jsonrpc","id","error"}` envelope so agent SDKs that drop non-2xx bodies relay tool errors instead of hanging; auth/permission failures keep real HTTP statuses. Assistant credential headers may be sent as `Authorization: Bearer cred_xxxxx.SECRET` or raw `Authorization: cred_xxxxx.SECRET`. Tool-call traffic is governed by the settings-driven tool rate limiter (credential tokens exempt by default), and GET/HEAD discovery probes never consume the request quota. See [`docs/developer/implementation-plan-mcp-agent-compat.md`](docs/developer/implementation-plan-mcp-agent-compat.md) and [`docs/developer/legacy-sse-transport-plan.md`](docs/developer/legacy-sse-transport-plan.md) for the full rationale.
### Using NV oOS as an MCP server
1. **Install the plugin and create assistants.** Each WordPress instance that activates NV oOS exposes an MCP-ready assistant directory backed by the `ai_assistant` custom post type, so every published assistant becomes available to remote clients once credentials are issued.【F:includes/assistants/class-wp-mcp-ai-assistant-cpt.php†L460-L620】
2. **Configure the REST and connector settings.** Populate the Auth0, model provider, and optional integration credentials under **Settings → NV oOS** so the REST controller can advertise the correct namespace URLs and enforce bearer tokens per your tenant, scope, and provider defaults.【F:includes/admin/class-wp-mcp-ai-admin-settings.php†L36-L118】
3. **Expose the MCP directory endpoints.** The REST layer publishes `/assistants`, `/chat`, `/tools`, and an SSE-compatible `/sse` handshake inside the `wp-json/mcp-ai/v1` namespace, automatically scoping responses to the authenticated assistant or returning every assistant the caller may read.【F:includes/class-wp-mcp-ai-rest.php†L234-L703】 Hand-held clients can subscribe to the streaming directory event or call the JSON routes directly using the base URLs returned in the directory payload.【F:includes/class-wp-mcp-ai-rest.php†L653-L703】
4. **Register any additional tools.** Extend the server’s capabilities by hooking into `wp_mcp_ai_register_tools` and loading custom tool classes; registered slugs flow through the assistant directory and tool execution endpoint without extra wiring.【F:includes/class-wp-mcp-ai-tool-registry.php†L75-L195】
5. **Verify the deployment before sharing credentials.** Run `wp mcp-ai remote https://example.com/wp-json/mcp-ai/v1 --token=YOUR_TOKEN` from any WP-CLI environment to confirm authentication, assistant scope, and chat probes succeed before you hand tokens to operators or client teams.【F:includes/class-wp-mcp-ai-cli-command.php†L137-L220】
### Operating multiple MCP deployments
Provision a separate WordPress site (or network site) for each MCP server you need, activate NV oOS, and repeat the configuration steps above with environment-specific Auth0 audiences, scopes, and provider keys. Because the assistant directory response includes the resolved REST base and namespace metadata, MCP clients can be pointed at different deployments simply by swapping the base URL and the bearer credential minted for that site’s assistants.【F:includes/admin/class-wp-mcp-ai-admin-settings.php†L48-L118】【F:includes/class-wp-mcp-ai-rest.php†L653-L703】
Sites that enable the Simple JWT Login integration can now reuse those bearer tokens alongside Auth0 credentials. The plugin validates tokens with Simple JWT Login’s native services, falls back to manual JWT decoding when the dependency cannot resolve a user, and automatically scopes REST requests to the assistant encoded in the token so cross-assistant hops are blocked with actionable errors.【F:includes/class-wp-mcp-ai-simple-jwt-login-integration.php†L47-L214】【F:includes/integrations/class-wp-mcp-ai-integration-simple-jwt.php†L240-L378】【F:includes/class-wp-mcp-ai-rest.php†L2769-L2808】
## 🌐 Connecting Remote MCP Clients
NV oOS works seamlessly with popular MCP clients including Claude Desktop, LM Studio, and ChatGPT connectors. Each client connects to your WordPress site via the MCP REST API at `/wp-json/mcp-ai/v1` and can access assistants, execute tools, and interact with your WordPress data remotely.
**SSE Support:** All MCP endpoints support Server-Sent Events (SSE) for real-time streaming. Enable SSE in your client configuration for better response times and real-time updates. See the [SSE Streaming Support](#-sse-streaming-support) section for details.
### Quick Start
1. **Generate an assistant credential** from any published assistant's **API Credentials** meta box
2. **Copy the token** (format: `cred_xxxxx.SECRET`) — shown only once!
3. **Configure your MCP client** with your site's base URL and the credential
4. **Test the connection** using the provided test script or WP-CLI command
### Claude Desktop setup
Claude Desktop supports MCP servers through a JSON configuration file. Add your WordPress site:
```json
{
"mcpServers": {
"wordpress-site": {
"url": "https://your-site.com/wp-json/mcp-ai/v1",
"headers": {
"Authorization": "Bearer cred_xxxxx.SECRET"
},
"sse": true
}
}
}
```
See the complete [Claude Desktop setup guide](docs/getting-started/installation-setup/remote-client-setup.md#claude-desktop-setup) and [example configurations](assets/examples/claude-desktop-config.json) for multi-assistant deployments.
### LM Studio Setup
**⚠️ Having SSE content-type errors?** Use the JSON-RPC endpoint instead!
LM Studio can connect using **two methods**:
#### Method 1: JSON-RPC (Recommended - No SSE)
Use this if you're getting `SSE error: Invalid content type, expected "text/event-stream"`:
```json
{
"servers": [
{
"id": "wordpress-mcp",
"name": "WordPress Site",
"url": "https://your-site.com/wp-json/mcp-ai/v1/mcp",
"auth": {
"type": "bearer",
"token": "cred_xxxxx.SECRET"
},
"timeout": 30000
}
]
}
```
**Configure in LM Studio:**
- **Server Name:** WordPress Site
- **URL:** `https://your-site.com/wp-json/mcp-ai/v1/mcp`
- **Auth Type:** Bearer Token
- **Token:** `cred_xxxxx.SECRET`
- **Do NOT enable SSE**
#### Method 2: SSE Streaming (Optional)
If you want to use SSE for real-time updates:
- **Base URL:** `https://your-site.com/wp-json/mcp-ai/v1`
- **Enable SSE:** ✓ (checked)
- **SSE Endpoint:** `/sse`
See the complete [LM Studio setup guide](docs/getting-started/installation-setup/remote-client-setup.md#lm-studio-setup) and example configurations:
- [lmstudio-mcp-without-sse.json](assets/examples/lmstudio-mcp-without-sse.json) - Recommended
- [lmstudio-config.json](assets/examples/lmstudio-config.json) - With SSE
### ChatGPT connector setup
⚠️ **Note:** ChatGPT connectors currently require Auth0 authentication. Assistant-issued credentials are not yet supported by OpenAI's ChatGPT platform.
To connect via ChatGPT:
1. Configure Auth0 in **Settings → NV oOS**
2. Generate an Auth0 access token with the configured audience
3. Add the MCP server in ChatGPT's connector settings
See the [ChatGPT connector guide](docs/getting-started/installation-setup/remote-client-setup.md#chatgpt-connector-setup) for detailed Auth0 setup steps.
### Testing your connection
Use the built-in test script to verify connectivity:
```bash
./bin/test-remote-connection.sh \
-u https://your-site.com/wp-json/mcp-ai/v1 \
-t cred_xxxxx.SECRET
```
Or use WP-CLI:
```bash
wp mcp-ai remote https://your-site.com/wp-json/mcp-ai/v1 \
--token=cred_xxxxx.SECRET
```
Expected output confirms the server is reachable and lists available assistants.
### Complete documentation
For comprehensive setup guides, troubleshooting, and advanced configurations, see:
- **[MCP Client Configurations](docs/reference/api/mcp-client-configurations.md)** – **⭐ NEW:** Complete guide for all MCP clients (LM Studio, Claude Desktop, Cursor, Continue.dev, Cline, OpenAI)
- **[Remote Client Setup Guide](docs/getting-started/installation-setup/remote-client-setup.md)** – Step-by-step instructions for Claude Desktop, LM Studio, and ChatGPT
- **[MCP Server Authentication](docs/reference/api/mcp-server-authentication.md)** – Authentication methods and credential management
- **[REST API Reference](docs/reference/api/rest-api.md)** – Endpoint documentation and payload examples
- **[Example Configurations](assets/examples/)** – Ready-to-use config files for all major MCP clients
---
## 🎫 Token Management UI
**NV oOS 1.0.0 introduces a centralized Token Manager** for managing all external agent access tokens across your assistants. Access it via **NV oOS → Token Manager** in the admin menu.
### Features
- **Centralized Control** - Manage all assistant credentials in one place
- **Security Best Practice** - Tokens shown only once after creation (cannot be retrieved later)
- **Lifecycle Management** - Create, view, revoke, and delete credentials
- **Audit Trail** - Track who created/revoked each token and when
- **Metadata Display** - See creation date, status (active/revoked), associated assistant
- **Bulk Visibility** - View credentials across all assistants at a glance
### How It Works
The Token Manager follows industry standards similar to GitHub Personal Access Tokens, Stripe API keys, and Auth0 credentials:
1. **Create Token** - Generate new credentials from the assistant editor
2. **Copy Immediately** - Token shown once and cannot be retrieved later
3. **Use in MCP Clients** - Configure external applications (Codex CLI, MCP clients, custom integrations)
4. **Revoke When Needed** - Disable compromised tokens without deleting audit history
5. **Delete When Done** - Permanently remove tokens and all metadata
### Security Notes
- Tokens are hashed before storage (only hash stored, never plaintext)
- Requires `manage_options` capability
- All actions logged with user attribution
- Revoked tokens cannot be reactivated (must create new)
- HTTPS strongly recommended for token transmission
### Usage Example
```bash
# In assistant editor: Create credential → Copy token immediately
# Token format: cred_[YOUR_PREFIX].[YOUR_SECRET_KEY_HERE]
# Example format only - never share real tokens!
# Configure MCP client (e.g., Codex CLI)
export WPOOS_BEARER_TOKEN="your_token_here"
codex chat --assistant 123 "Hello world"
# Later: Revoke from Token Manager UI if compromised
# Or: Delete entirely when integration removed
```
⚠️ **Security Warning:** The examples above use placeholder tokens. Never share real tokens publicly or commit them to version control.
### Access Requirements
- **Capability:** `manage_options` (administrators only)
- **Menu Location:** NV oOS → Token Manager
- **REST API:** `/wp-json/mcp-ai/v1/token-manager/*`
For complete documentation, see [Token Management Guide](docs/features/performance/token-management.md).
---
## 🤖 ChatGPT Connector
OpenAI’s ChatGPT connector beta currently authenticates exclusively through Auth0. Because NV oOS issues its own assistant-scoped bearer credentials, you can connect LM Studio, Claude Desktop, and other MCP-aware clients today, while ChatGPT support will require either Auth0 bridging or native bearer support from OpenAI. We’ll update this section as soon as ChatGPT adds compatibility with first-party tokens.【F:docs/reference/api/mcp-server-authentication.md†L22-L46】
## 🛰 REST API Endpoints
All front-end chat surfaces ultimately call the MCP REST namespace at `/wp-json/mcp-ai/v1`, which exposes dedicated endpoints for chat completions and direct tool execution. Both routes share the same authentication rules described above: supply an Auth0 bearer token, a plugin-issued assistant credential, or a WordPress REST nonce for same-origin requests. Guest tokens issued by the shortcode or Elementor widget continue to be honoured when `allow_guests="true"` is enabled.【F:includes/class-wp-mcp-ai-rest.php†L230-L322】【F:includes/class-wp-mcp-ai-rest.php†L289-L343】【F:includes/class-wp-mcp-ai-rest.php†L1288-L1336】
- **`GET /assistants`** – Returns a directory of accessible assistants with provider defaults, tool counts, capability metadata, and implementation details so remote clients can choose which assistant to call. Credential tokens are automatically scoped to their issuing assistant while Auth0 tokens and REST nonces surface every published assistant the caller can read.【F:includes/class-wp-mcp-ai-rest.php†L238-L666】 The endpoint also supports Server-Sent Events for MCP clients that expect streaming discovery payloads, emitting a single `directory` event with cache-busting headers before closing the stream.【F:includes/class-wp-mcp-ai-rest.php†L1690-L1772】
- **`GET /sse`** – Mirrors the assistant directory response but forces a Server-Sent Events handshake so MCP clients that negotiate `/sse` subscriptions receive the streaming `directory` payload without additional query parameters.【F:includes/class-wp-mcp-ai-rest.php†L400-L715】
- **`POST /chat`** – Normalises structured `messages`, injects assistant defaults, auto-enables the Submit Document Prompt tool when uploads are present, and forwards the request through the language model router. Responses include the assistant ID and the raw provider payload so clients can stream or render messages as needed.【F:includes/class-wp-mcp-ai-rest.php†L230-L322】【F:includes/class-wp-mcp-ai-rest.php†L931-L1095】
- **`POST /tools`** – Executes a specific registered tool outside of a chat turn. The endpoint enforces assistant tool allowlists, scopes credential-based requests to the issuing assistant, merges assistant defaults (such as external action identifiers), and returns the tool result with execution metadata.【F:includes/class-wp-mcp-ai-rest.php†L264-L322】【F:includes/class-wp-mcp-ai-rest.php†L1162-L1321】
See [docs/reference/api/rest-api.md](docs/reference/api/rest-api.md) for payload examples, attachment handling rules, and troubleshooting tips when integrating custom clients.
## 🌊 SSE Streaming Support
NV oOS includes comprehensive Server-Sent Events (SSE) support for real-time streaming responses, enabling faster perceived response times and better user experience.
### What is SSE?
Server-Sent Events provide unidirectional server-to-client streaming over HTTP, allowing the server to push updates as they become available rather than waiting for the complete response.
**Benefits:**
- ⚡ **Faster perceived response time** - Users see content immediately as it's generated
- 🔄 **Real-time updates** - Progressive loading for long-running operations
- 📶 **Connection keep-alive** - Prevents timeouts during lengthy responses
- 🎯 **Better UX** - ChatGPT-style typing effect for AI responses
### SSE-Enabled Endpoints
#### 1. Assistant Directory Streaming (`GET /assistants`)
Stream the assistant directory for MCP clients expecting SSE handshakes:
```bash
curl -H "Accept: text/event-stream" \
https://your-site.com/wp-json/mcp-ai/v1/assistants
```
The endpoint emits a single `directory` event with all accessible assistants, then closes the connection.
#### 2. Dedicated SSE Endpoint (`GET /sse`)
Force SSE mode for MCP clients that specifically probe the `/sse` endpoint:
```bash
curl https://your-site.com/wp-json/mcp-ai/v1/sse
```
This mirrors the `/assistants` response but always uses SSE format, ensuring compatibility with LM Studio and Claude Desktop.
#### 3. Job Status Streaming (`GET /jobs/{job_id}/stream`)
Subscribe to real-time updates for async operations like Crawl4AI jobs:
```javascript
const eventSource = new EventSource(
`/wp-json/mcp-ai/v1/jobs/${jobId}/stream?max_duration=300&poll_interval=2`
);
eventSource.addEventListener('status', (e) => {
const status = JSON.parse(e.data);
console.log('Progress:', status.progress + '%');
});
eventSource.addEventListener('complete', (e) => {
console.log('Job finished:', e.data);
eventSource.close();
});
```
### SSE Configuration
#### Enable POST Method for SSE (LM Studio Compatibility)
By default, SSE uses the standard GET method. For clients with SSE bugs (like LM Studio), enable POST support:
1. Go to **Settings → NV oOS → Assistant Settings**
2. Enable **"Enable POST Method on SSE Endpoint"**
3. Save settings
⚠️ **Note:** Standard SSE specification uses GET. Only enable POST if you experience client compatibility issues.
### Modern SSE Features (2024-2025)
The SSE implementation includes current best practices:
- **Automatic reconnection** with `retry:` directive (3-second interval)
- **Event IDs** for tracking reconnection state
- **HTTP/2 compatibility** for multiplexing
- **Proper CORS headers** for cross-origin requests
- **Cache-Control directives** to prevent proxy buffering
- **Heartbeat messages** to keep connections alive
### Frontend Integration
Enable SSE streaming in your JavaScript client:
```javascript
// Request streaming in chat
const response = await fetch('/wp-json/mcp-ai/v1/chat', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Accept': 'text/event-stream',
'X-WP-Nonce': wpMcpAi.nonce
},
body: JSON.stringify({
assistant_id: 123,
messages: [{ role: 'user', content: 'Hello' }],
stream: true
})
});
// Process SSE stream
const reader = response.body.getReader();
const decoder = new TextDecoder();
let buffer = '';
while (true) {
const { done, value } = await reader.read();
if (done) break;
buffer += decoder.decode(value, { stream: true });
const events = buffer.split('\n\n');
buffer = events.pop();
for (const event of events) {
if (event.startsWith('data: ')) {
const data = JSON.parse(event.substring(6));
// Update UI with streaming chunk
updateChatUI(data);
}
}
}
```
### Documentation
For complete SSE implementation details, configuration options, and troubleshooting:
- **[SSE Streaming Guide](docs/features/streaming/ENABLE-SSE-STREAMING.md)** - Complete implementation guide with code examples
- **[MCP and SSE](docs/reference/api/MCP-AND-SSE.md)** - Understanding SSE benefits for MCP protocol
- **[Job Notification System](docs/features/async-jobs/job-notification-system.md)** - Real-time job status via SSE
- **[REST API Reference](docs/reference/api/rest-api.md)** - SSE endpoint specifications
## 📝 MCP JSON-RPC 2.0 Endpoint
NV oOS implements a dedicated `/mcp` endpoint that follows the **Model Context Protocol specification version 2024-11-05** using JSON-RPC 2.0 for bidirectional communication with AI assistants and tools.【F:docs/reference/api/mcp-endpoint.md†L1-L80】
**MCP Version:** 2024-11-05
**Compliance:** Full MCP 2024-11-05 — all 11 protocol methods, OAuth 2.1, Streamable HTTP, JSON-RPC batching, tool annotations, session management
### What's New in MCP 2024-11-05
The latest specification is **fully implemented**:
- **OAuth 2.1 Security**: PKCE, token rotation, mandatory HTTPS
- **Streamable HTTP Transport**: Better reconnection and bidirectional communication
- **JSON-RPC Batching**: Efficient parallel task processing (up to 20 messages per batch)
- **Tool Annotations**: `readOnlyHint`, `destructiveHint`, `idempotentHint`, `openWorldHint` metadata
- **Progress Notifications**: Descriptive status updates during tool execution
- **Completions**: Argument autocompletion for tools and prompts
- **Session Management**: State recovery via `Mcp-Session-Id` header (1h TTL)
- **Logging**: Client-controlled log verbosity via `logging/setLevel`
- **Cancellation**: Request cancellation via `notifications/cancelled`
### Endpoint URL
```
POST /wp-json/mcp-ai/v1/mcp
```
### JSON-RPC 2.0 Format
All requests must use standard JSON-RPC 2.0 format:
```json
{
"jsonrpc": "2.0",
"id": "unique-request-id",
"method": "initialize",
"params": {}
}
```
### Supported Methods
- **`initialize`** - Initialize MCP connection and retrieve server capabilities
- **`ping`** - Server liveness check
- **`tools/list`** - List available tools with annotations for the authenticated assistant
- **`tools/call`** - Execute a specific tool with progress notifications support
- **`resources/list`** - List available resources (knowledge files, etc.) with metadata
- **`resources/read`** - Read resource content by URI with MIME-typed responses
- **`prompts/list`** - List available prompt shortcuts
- **`prompts/get`** - Get full prompt content with system instructions and argument values
- **`completion/complete`** - Argument autocompletion (enum/boolean for tools, slug matching for prompts)
- **`logging/setLevel`** - Client-controlled log verbosity (8 standard levels)
- **`notifications/cancelled`** - Cancel a pending request
### Authentication (OAuth 2.1 Enhanced)
The MCP endpoint uses enhanced authentication aligned with MCP 2024-11-05 security standards:
- WordPress Nonce (`X-WP-Nonce` header)
- Bearer Tokens (`Authorization: Bearer <token>`) with rotation support
- Assistant Credentials (generated from assistant editor, OAuth 2.1 compliant)
- Auth0 JWT (for enterprise authentication)
- Session Management (`Mcp-Session-Id` header for reconnection)
### Error Handling
**Enhanced Error System** (Phase 3):
- **Severity Levels**: CRITICAL, ERROR, WARNING, INFO, DEBUG for categorized logging
- **User-Friendly Messages**: Automatic translation of technical errors into actionable guidance
- **Recovery Suggestions**: Built-in troubleshooting steps for common failure scenarios
- **Centralized Error Handler**: Consistent error creation with automatic logging
- **Comprehensive Logging**: Track errors, tool executions, and chat interactions
- **Sensitive Data Protection**: Automatic redaction of API keys and tokens in logs
See [Error Handling Documentation](docs/developer/best-practices/ERROR_HANDLING.md) for detailed usage.
**MCP Standard Error Codes**:
- **-32700**: Parse error (invalid JSON)
- **-32600**: Invalid Request (malformed JSON-RPC)
- **-32601**: Method not found
- **-32603**: Internal error
### Use Cases
| Scenario | Use Endpoint | Method | MCP 2024-11-05 Feature |
|----------|--------------|--------|------------------------|
| Remote MCP client connection | `/mcp` | POST | OAuth 2.1, Sessions |
| Real-time streaming responses | `/sse` | GET | Traditional SSE |
| Streamable HTTP (new) | `/mcp` | POST | Bidirectional streaming |
| Standard chat interface | `/chat` | POST | N/A |
| Direct tool execution | `/tools` | POST | Tool annotations |
### Learn More
➡️ **Complete MCP Documentation:**
- [MCP Endpoint Reference](docs/reference/api/mcp-endpoint.md) - Complete method documentation and 2024-11-05 features
- [MCP and SSE Explained](docs/reference/api/MCP-AND-SSE.md) - Understanding transport layers and protocol updates
- [MCP Server Authentication](docs/reference/api/mcp-server-authentication.md) - OAuth 2.1 and security enhancements
- [MCP Client Configurations](docs/reference/api/mcp-client-configurations.md) - Connect LM Studio, Claude Desktop, etc.
- [Official MCP Specification 2024-11-05](https://modelcontextprotocol.info/specification/2024-11-05/)
---
## 🛠 Assistant Editor Overview
Assistant posts ship with dedicated controls that map directly to runtime behaviour:
- **Available Tools** – Choose which registered tools (core, WooCommerce, JetEngine, or custom) the model may invoke. Dependency-aware notices explain why certain tools are unavailable, and you can now disable the pre-built prompt shortcuts that tools normally contribute.
- **Quick Tool Selection Presets** – one-click presets group the current live registry by use-case (🤖 Agentic Workflow, 🛒 E-commerce, ⚕️ Healthcare, 💬 Communication, 💻 Development, 📋 Registration & Compliance, and more). Click a preset to add its tools to the current selection; click again to remove them. Combine multiple presets freely. Use **✓ Select All** / **✗ Clear All** for bulk actions. Implemented in `includes/helpers/class-wp-mcp-ai-tool-presets-helper.php`.
- **Model Defaults** – Provide assistant-specific overrides for the OpenAI model, temperature (0–2), and system prompt applied to every conversation.
- **Base Knowledge** – Attach Media Library items that are chunked, truncated, and streamed as memory context, and optionally store an external **Vector Store ID** to coordinate retrieval workflows.
- **Prompt Shortcuts** – Capture labelled prompts with optional descriptions and tool affinities; they render as accessible quick actions in the chat UI so operators can seed conversations instantly.【F:includes/assistants/class-wp-mcp-ai-assistant-cpt.php†L893-L1048】【F:includes/class-wp-mcp-ai-shortcode.php†L430-L693】【F:assets/js/chat.js†L600-L666】
If an API or shortcode request omits the `assistant` parameter, the plugin automatically uses the default assistant configured in the global settings.
## 📊 Assistant Storage: CPT vs CCT
NV oOS uses a **Custom Post Type (CPT)** as the primary storage for AI assistants, with automatic synchronization to a **JetEngine Custom Content Type (CCT)** when JetEngine is available.
### Storage Architecture
- **CPT (`mcp_ai_assistant`)**: The authoritative source for all assistant data
- Full-featured WordPress editor with 14 meta fields
- Supports credentials, shortcuts, memory files, and advanced features
- Always available in both Base and Full versions
- Primary REST endpoint: `/wp-json/mcp-ai/v1/`
- **CCT (`assistants`)**: Synchronized secondary storage (Full Version only)
- Receives automatic updates when CPT is saved
- 7 basic fields: title, description, provider, model, system_prompt, temperature, tools
- Available via JetEngine REST endpoint: `/wp-json/jet-cct/assistants`
- Ideal for JetEngine-based integrations and queries
### Automatic Synchronization (v1.0.0+)
When you save an assistant through the WordPress admin:
1. **CPT is updated** with all settings
2. **CCT is automatically synced** (if JetEngine is active)
3. **Link is maintained** via `_wp_mcp_ai_cct_item_id` meta
4. **Deletion cascades** - removing CPT also removes linked CCT item
**What gets synced:** Basic configuration (title, description, provider, model, system_prompt, temperature, tools)
**What's CPT-only:** Advanced features (credentials, shortcuts, memory files, role rules, vector store, external actions)
### When to Use Each Endpoint
**Use CPT endpoint (`/wp-json/mcp-ai/v1/`)** for:
- Chat, tools, and directory interactions
- Full assistant configuration access
- Credential-based authentication
- Primary integration scenarios
**Use CCT endpoint (`/wp-json/jet-cct/assistants`)** for:
- JetEngine-specific queries and filters
- Building JetEngine relations
- Integrating with JetEngine dashboards
- Querying basic assistant metadata
➡️ **[Read the complete CPT vs CCT guide](docs/developer/architecture/integrations/assistant-storage-cpt-vs-cct.md)** for detailed comparisons, code examples, and migration information.
## ⚡ Assistant Tool Shortcuts
Every assistant exposes a **Prompt Shortcuts** meta box so editors can curate prewritten instructions, scope them to registered tools, and add operator-facing descriptions that appear as tooltips and screen reader hints in the chat UI.【F:includes/assistants/class-wp-mcp-ai-assistant-cpt.php†L893-L1048】【F:includes/class-wp-mcp-ai-shortcode.php†L430-L693】【F:assets/js/chat.js†L600-L666】 The shortcode merges these custom prompts with each tool’s declared shortcut tasks and always appends a safe fallback so assistants remain usable even without bespoke entries.【F:includes/class-wp-mcp-ai-shortcode.php†L430-L693】
Developers can extend or replace these prompts with filters such as `wp_mcp_ai_assistant_custom_tool_shortcuts` and `wp_mcp_ai_default_tool_shortcut`, letting sites tailor default quick actions per assistant or environment.【F:includes/class-wp-mcp-ai-shortcode.php†L444-L692】
➡️ [Read the full guide to assistant prompt shortcuts.](docs/getting-started/first-steps/assistant-tool-shortcuts.md)
## 🧠 Agent Skills
**Agent Skills** ([agentskills.io](https://agentskills.io/specification)) are reusable, portable behaviour packages that extend any assistant without touching its system prompt. Each skill is a `SKILL.md` file — a standard Markdown document with a small YAML frontmatter block — that lives in `wp-content/uploads/mcp-ai-skills/{skill-name}/SKILL.md`. When an assistant loads a skill, its instructions are automatically injected into the conversation context so the model knows exactly when and how to use that capability.
### 67 Pre-Built Skills (Base Plugin)
The **base plugin** ships with 67 pre-built skills that are automatically installed to `wp-content/uploads/mcp-ai-skills/` on first activation. No Pro add-on is required — they are available on every install out of the box. The skills include 24 general-purpose tools (document handling, design, testing), 22 WordPress developer skills (security, APIs, plugin patterns), 21 design-* skills (analytics through video creation), and the bundled mcp-ai-wpoos-plugin skill.
| Skill slug | What it does |
|---|---|
| `algorithmic-art` | Generates algorithmic art with p5.js, seeded randomness, and interactive parameters |
| `brand-guidelines` | Applies Anthropic's official brand colours and typography to any artifact |
| `canvas-design` | Creates beautiful visual art in PNG/PDF documents using design philosophy |
| `doc-coauthoring` | Guides users through a structured co-authoring workflow for documentation |
| `docx` | Creates, reads, edits, and manipulates Word `.docx` files |
| `frontend-design` | Produces distinctive, production-grade frontend interfaces with high design quality |
| `internal-comms` | Drafts all kinds of internal communications (memos, announcements, updates) |
| `mcp-builder` | Guides creation of high-quality MCP (Model Context Protocol) servers |
| `pdf` | Handles any PDF task — creation, reading, editing, and form filling |
| `pptx` | Handles any `.pptx` PowerPoint file as input or output |
| `skill-creator` | Creates, modifies, and measures the performance of other skills |
| `slack-gif-creator` | Creates animated GIFs optimised for Slack with design best practices |
| `theme-factory` | Applies consistent visual themes to slides, docs, and other artifacts |
| `ui-ux-pro-max` | Comprehensive UI/UX design system with component libraries, color palettes, typography scales, and stack-specific guidelines (React, Vue, Angular, Laravel, etc.) |
| `web-artifacts-builder` | Builds elaborate multi-component HTML artifacts for Claude.ai |
| `webapp-testing` | Tests local web applications using Playwright browser automation |
| `xlsx` | Handles any spreadsheet file as primary input or output |
### How Skills Are Loaded
Skills are selected per-assistant via the **Skills** meta box in the assistant editor. Whichever skills are checked, their combined instructions are prepended to the system prompt under an `# Active Skills` heading at inference time. This means skills are composable — you can combine `pdf` + `xlsx` + `doc-coauthoring` on a single document-specialist assistant.
Skills are stored as plain text files and can be customised in-place. The original bundled content can be restored at any time from **Settings → Advanced → Skill Management → Force Reinstall Bundled Skills**.
### Managing Skills
**Base plugin** — Skill management is available under **Settings → Advanced → Skill Management**:
- View installed skills and their metadata
- Refresh the skill index
- Install or force-reinstall the 16 bundled skills
**Pro add-on** — The dedicated **Skill Manager** admin page (`Assistants → Skill Manager`) adds:
- Upload a `SKILL.md` file or a ZIP archive containing a skill directory
- Install a skill from a remote URL
- Inline CodeMirror editor to create or edit `SKILL.md` content directly in the browser
- Delete / uninstall skills
### SKILL.md Format
```yaml
---
name: my-skill
description: One-line description of what this skill does.
compatibility: claude-3-5-sonnet, claude-3-opus
---
# My Skill
Detailed instructions for the model go here in standard Markdown.
Use headings, lists, code blocks — whatever best conveys the behaviour.
```
The `name` field (max 64 chars) becomes the skill's slug. The `description` field (max 1 024 chars) is shown in the admin UI. The `compatibility` field is optional and informational.
➡️ See [Agent Skills reference](docs/features/agent-skills.md) for the complete specification, filters, and developer API.
---
## 👔 Professional & Team Layers
NV oOS includes an enterprise-grade **template system** for rapid assistant deployment through **Professions** and **Teams**. Instead of manually configuring each assistant from scratch, administrators can:
1. **Select from ~311 pre-built professional templates** spanning 12 industry categories
2. **Create custom profession templates** with reusable configurations
3. **Deploy entire teams** of specialized assistants with one click
4. **Test everything from the backend** before exposing to end users
### 🎓 Professional Templates
Professions are reusable assistant templates with pre-configured:
- **Role descriptions** and expertise areas
- **Default tools** curated for each profession
- **Knowledge bases** with industry-specific best practices
- **AI model defaults** (provider, model, temperature)
- **Warnings and disclaimers** for professional contexts
**Available Categories (~311 professions across 12 categories):**
Methodology note: the current sanity check counts 311 profession knowledge documents; runtime availability can vary with seeders, filters, and installed features.
- 🌾 Agriculture & Natural Resources
- 🎨 Art, Media & Entertainment
- 💼 Business & Finance
- 🎓 Education
- 🏥 Healthcare & Medicine
- ⚖️ Law & Public Safety
- 🔬 Science & Engineering
- 🍽️ Service Industry
- 💻 Technology
- 🔧 Trades & Manual Labor
- 🚚 Transportation
- 📋 Miscellaneous
**Example Professions:**
- Software Developer, Web Developer, Data Scientist
- Accountant, Financial Advisor, Marketing Consultant
- Registered Nurse, Physician, Pharmacist
- Attorney, Paralegal, Mediator
- Content Writer, Graphic Designer, Social Media Manager
- And ~180 more, depending on active seeders and installed features...
### Creating Assistants from Templates
Navigate to **AI Assistants → Add New** to browse the visual profession grid:
1. **Browse by category** or search for a specific role
2. **Click "Create"** on any profession to open a customization modal
3. **Customize** the assistant name and AI settings (or use defaults)
4. **Deploy** your configured assistant instantly
Each profession template includes:
- Pre-written system prompts with role-specific expertise
- Curated tool selections appropriate for the profession
- Industry knowledge bases and best practices
- Recommended model settings for optimal performance
### 👥 Team Deployments
Teams group multiple professionals for coordinated workflows. Deploy an entire team of specialists with one click:
**Pre-Built Teams:**
- **Engineering Team** - Software, Mechanical, Electrical, Civil Engineers
- **Pharmaceutical Development Team** - Pharmacist, Researcher, Clinical Pharmacologist, Regulatory Affairs
- **Research & Data Science Team** - Data Scientist, Research Scientist, Statistician, Computer Scientist
- **Marketing & Growth Team** - Marketing Consultant, Content Creator, Graphic Designer, Business Consultant
**Team Features:**
- **Centralized configuration** - Set provider, model, and temperature for all team members
- **One-click deployment** - Creates all team member assistants simultaneously
- **Consistent settings** - Team defaults override individual profession defaults
- **Custom teams** - Create your own teams with any combination of professions
Navigate to **Teams → Add Team** to deploy a pre-configured team or create custom team combinations.
### 🧪 Backend Testing
Test assistants, professions, and teams directly from the WordPress admin **before** deploying to end users:
#### Test Assistant (Admin → AI Assistants → Test Assistant)
- **Full feature parity** with frontend chat interfaces
- **All tools enabled** including sensitive/restricted tools (admin-only)
- **File upload support** with complete MIME type configuration
- **Transcript saving** for debugging and analysis
- **Tool shortcuts** pre-loaded from assistant configuration
- **Streaming responses** with real-time feedback
#### Test Profession (Admin → Professions → Test Profession)
- **Preview profession templates** before creating assistants
- **Validate role descriptions** and expertise areas
- **Test default tool selections** in live conversations
- **Verify knowledge base** content and accuracy
- **Assess AI model performance** with profession-specific tasks
#### Test Team (Admin → Teams → Test Team)
- **Test entire teams** before deployment
- **Validate team member coordination** and role separation
- **Verify shared settings** propagate correctly
- **Multi-assistant conversations** to test team dynamics
- **Performance benchmarking** across team members
**Security Note:** All test pages require `manage_options` capability and are restricted to WordPress administrators. Sensitive tools are enabled in test environments because administrators already have full site access.
**Documentation:**
- [Test Assistant Feature Enhancements](docs/user-guides/assistants/test-assistant-enhancements.md) - Complete testing capabilities guide
- [Dynamic Assistant Creation System](docs/history/archive/2026/VISUAL_GUIDE_DYNAMIC_ASSISTANTS.md) - Visual guide to profession and team architecture
### Custom Professions & Teams
Administrators can create custom profession templates and teams:
**Create Custom Profession:**
1. Navigate to **Professions → Add New**
2. Set title, description, and category
3. Define expertise areas and role description
4. Select default tools from the registry
5. Add knowledge base content
6. Configure AI model defaults
7. Publish for use in assistant creation
**Create Custom Team:**
1. Navigate to **Teams → Add New**
2. Set team name and description
3. Select profession members from your library
4. Configure team-wide defaults (provider, model, temperature)
5. Publish to enable one-click team deployment
### Benefits
**For Organizations:**
- ✅ Rapid assistant deployment without manual configuration
- ✅ Consistent configurations across similar roles
- ✅ Template library grows with your organization
- ✅ Share profession templates across sites
- ✅ Professional-grade assistant quality out of the box
**For Administrators:**
- ✅ Test everything safely from the backend
- ✅ No coding required for template-based assistants
- ✅ Visual template selection interface
- ✅ Reusable configurations reduce errors
- ✅ Full control over custom templates
**For Developers:**
- ✅ JSON-based knowledge base system
- ✅ Extensible via filters and hooks
- ✅ WordPress standard CPT architecture
- ✅ REST API access for profession and team data
- ✅ Automated seeding from knowledge base files
---
## 🔑 Assistant API credentials
Administrators can issue per-assistant access tokens from the **API Credentials** meta box that appears on every assistant edit screen. Tokens are only available to users with the `manage_options` capability, surface the credential history in a table, and expose one-click revoke and delete actions for rapid cleanup.【F:includes/assistants/class-wp-mcp-ai-assistant-cpt.php†L483-L595】 When you click **Generate Credential** the plugin produces a single-use token in the form `cred_xxxxx.SECRET`, hashes the secret server-side, and records the issuer so you have an audit trail of who created each credential.【F:includes/class-wp-mcp-ai-credentials.php†L94-L135】
Remote integrations can authenticate by sending that token in the standard `Authorization: Bearer` header—no Auth0 dependency required. The REST layer validates the credential, emits structured errors when a token is revoked or malformed, and scopes the request to the assistant that issued the token so clients cannot hop between assistants without an explicit credential for each one.【F:includes/class-wp-mcp-ai-rest.php†L316-L444】【F:includes/class-wp-mcp-ai-rest.php†L1282-L1321】【F:includes/class-wp-mcp-ai-credentials.php†L242-L297】
---
## 🐳 Local Development with Docker
Spin up a disposable WordPress instance that mounts the plugin source directly into the container:
```bash
docker compose up -d
```
- WordPress will be available at [http://localhost:8000](http://localhost:8000).
- The plugin source in this repository is mounted to `/var/www/html/wp-content/plugins/mcp-ai-wpoos` inside the container, so edits on your machine are reflected immediately.
- The MySQL service is provisioned with the `wordpress` database, user, and password (`wordpress` / `wordpress`).
Visit the site in your browser to complete the standard WordPress installation flow, using the database credentials above when prompted. When you're finished developing, stop the stack with `docker compose down`.
### 🔁 Codex environment startup script
If you are working inside an OpenAI Codex environment, add `bin/codex-startup.sh` to your workspace start-up tasks so a fresh WordPress install is provisioned automatically for every session — no Docker required.
```bash
bin/codex-startup.sh
```
The script performs the following steps:
- Downloads WP-CLI locally (if necessary) and uses it to fetch the latest WordPress core files into `.codex-wordpress/wordpress`.
- Installs the [SQLite Database Integration](https://wordpress.org/plugins/sqlite-database-integration/) plugin so WordPress can run without a MySQL server.
- Symlinks this repository into the new install's `wp-content/plugins/mcp-ai-wpoos` directory.
- Installs Composer development dependencies (when available) and provisions the WordPress test suite so `composer run test` works immediately.
- Runs `wp core install`, activates the **NV oOS** plugin, enables pretty permalinks, and sets a default site tagline.
- Boots a development server on port `8000` via `wp server` and logs output to `.codex-wordpress/wp-server.log`.
Default credentials:
| Setting | Value |
| --- | --- |
| Site URL | `http://localhost:8000` |
| Admin user | `admin` |
| Admin password | `password` |
| Admin email | `admin@example.com` |
Override any of these values by exporting the environment variables `WORDPRESS_URL`, `WORDPRESS_TITLE`, `WORDPRESS_ADMIN_USER`, `WORDPRESS_ADMIN_PASSWORD`, `WORDPRESS_ADMIN_EMAIL`, or `WORDPRESS_PORT` before running the script.
---
## 🧑💻 Development Tooling
Install the PHP development dependencies (including PHP_CodeSniffer, the WordPress Coding Standards ruleset, and PHPUnit) with:
```bash
bin/setup-dev.sh
```
The script runs `composer install` and makes the following Composer scripts available:
| Purpose | Command |
| --- | --- |
| WordPress coding standards lint | `composer run lint` |
| PHP compatibility checks (PHP 8.1–8.4) | `composer run lint:compat` |
| Auto-fix coding standards violations | `composer run format` |
| Generate the translation template | `composer run pot` |
| Install the WordPress unit test scaffolding | `composer run test:install` |
| Execute the PHPUnit suite | `composer run test` |
These commands automatically resolve the bundled `vendor/bin` tools (such as `phpcs`, `phpcbf`, and `phpunit`), so a global installation is no longer required.
> [!NOTE]
> The `test:install` script prefers the Composer-provided `wp-phpunit/wp-phpunit` package for the WordPress test suite. Run `composer install` before invoking it, especially on networks where `develop.svn.wordpress.org` is inaccessible.
### NPM Dependencies & Bundling
For details on how NPM dependencies are managed and bundled for both the base plugin and Pro addon, see [DEPENDENCIES_BUNDLING.md](docs/project/releases/DEPENDENCIES_BUNDLING.md).
**Quick Reference:**
- Base plugin dependencies: `@microsoft/fetch-event-source`, `dompurify`, `marked`, `ky`, `chart.js`, `@neplex/vectorizer`, `@langchain/*`, `@mlc-ai/web-llm`
- Build commands: `npm run build:js`, `npm run install:chartjs`, `npm run install:vectorizer`, `npm run build:js:pro`
- Pro addon has separate `addons/pro/package.json` for Pro-specific dependencies
---
## 📦 NPM Packages
Twenty-three standalone browser-utility packages have been extracted from the oOS chat UI and published to the NPM registry under the `@nvdigitalsolutions` scope. Each package is independently usable in any JavaScript/TypeScript project (no WordPress required).
| Package | Description | Dependencies |
|---------|-------------|--------------|
| [`nvoos-storage`](packages/nvoos-storage/) | Async JSON via Web Worker — prevents main-thread blocking for large data | Zero |
| [`nvoos-markdown`](packages/nvoos-markdown/) | XSS-safe markdown renderer with configurable allowed-tags profile | `marked`, `dompurify` |
| [`nvoos-events`](packages/nvoos-events/) | SSE client with POST support + mitt-compatible job event bus | `@microsoft/fetch-event-source` |
| [`nvoos-http-client`](packages/nvoos-http-client/) | HTTP client with automatic retry, exponential backoff, and request hooks | `ky` |
| [`nvoos-clipboard`](packages/nvoos-clipboard/) | `copyTextToClipboard()` with Clipboard API / `execCommand` fallback | Zero |
| [`nvoos-offline-sync`](packages/nvoos-offline-sync/) | IndexedDB offline-first sync with automatic server sync on reconnect | Zero |
| [`nvoos-slash-commands`](packages/nvoos-slash-commands/) | Slash command system with fuzzy-search autocomplete and execution engine | Zero |
| [`nvoos-audio`](packages/nvoos-audio/) | Browser audio I/O: TTS, STT, translation, voice chat with VAD | Zero |
| [`nvoos-dom-batcher`](packages/nvoos-dom-batcher/) | `requestAnimationFrame` DOM batcher, scroll batcher, and UI utilities for streaming UIs | Zero |
| [`nvoos-api`](packages/nvoos-api/) | Typed REST API client — endpoint builders, request helpers, and payload constructors | Zero |
| [`nvoos-attachments`](packages/nvoos-attachments/) | File attachment helpers: type detection, validation, normalisation, segment builders | Zero |
| [`nvoos-chat-bubble`](packages/nvoos-chat-bubble/) | Floating chat bubble widget — accessibility, sessionStorage, badge notifications, MutationObserver | Zero |
| [`nvoos-chat-memory`](packages/nvoos-chat-memory/) | Promise-based REST client for AI chat memory bridge (wake-up, recall, store, audit, preferences) | Zero |
| [`nvoos-chat-memory-ui`](packages/nvoos-chat-memory-ui/) | Chat memory drawer UI — side panel for viewing, editing, scoping, and exporting long-term AI memories | Zero |
| [`nvoos-client-tools`](packages/nvoos-client-tools/) | Browser-native AI tool registry (summarize, sentiment, translate, embed, image, audio) using Transformers.js | Zero |
| [`nvoos-cron-status`](packages/nvoos-cron-status/) | SSE-first cron/job status monitor with REST polling fallback | Zero |
| [`nvoos-llm-worker`](packages/nvoos-llm-worker/) | Web Worker manager for non-blocking LLM operations | Zero |
| [`nvoos-model-loader`](packages/nvoos-model-loader/) | Progressive AI model loading UI with 4-stage progress tracking | Zero |
| [`nvoos-sse-client`](packages/nvoos-sse-client/) | TypeScript-native SSE connection manager with lifecycle tracking, per-connection status, automatic cleanup | Zero |
| [`nvoos-transcription`](packages/nvoos-transcription/) | MediaRecorder-based audio recording + tool-call transcription pipeline for AI chat surfaces | Zero |
| [`nvoos-transformers-client`](packages/nvoos-transformers-client/) | HuggingFace Transformers.js task wrapper (summarization, sentiment, NER, translation, QA, embeddings) | Zero |
| [`nvoos-types`](packages/nvoos-types/) | Canonical TypeScript type definitions — AI providers, chat messages, tool execution, SSE streaming, attachments, history, memory, agents, WordPress global augmentations | Zero |
| [`nvoos-vad`](packages/nvoos-vad/) | Browser Voice Activity Detection (VAD) using the Web Audio API | Zero |
### Installation
```bash
# Tier 1 — Core utilities
npm install @nvdigitalsolutions/nvoos-storage
npm install @nvdigitalsolutions/nvoos-markdown marked dompurify
npm install @nvdigitalsolutions/nvoos-events @microsoft/fetch-event-source
npm install @nvdigitalsolutions/nvoos-types
# Tier 2 — Extended browser utilities
npm install @nvdigitalsolutions/nvoos-http-client ky
npm install @nvdigitalsolutions/nvoos-clipboard
npm install @nvdigitalsolutions/nvoos-offline-sync
npm install @nvdigitalsolutions/nvoos-sse-client
npm install @nvdigitalsolutions/nvoos-api
npm install @nvdigitalsolutions/nvoos-attachments
# Tier 3 — Chat UI utilities
npm install @nvdigitalsolutions/nvoos-slash-commands
npm install @nvdigitalsolutions/nvoos-audio
npm install @nvdigitalsolutions/nvoos-dom-batcher
npm install @nvdigitalsolutions/nvoos-chat-bubble
npm install @nvdigitalsolutions/nvoos-chat-memory
npm install @nvdigitalsolutions/nvoos-chat-memory-ui
npm install @nvdigitalsolutions/nvoos-cron-status
npm install @nvdigitalsolutions/nvoos-vad
npm install @nvdigitalsolutions/nvoos-transcription
# Tier 4 — AI runtime utilities
npm install @nvdigitalsolutions/nvoos-client-tools
npm install @nvdigitalsolutions/nvoos-llm-worker
npm install @nvdigitalsolutions/nvoos-model-loader
npm install @nvdigitalsolutions/nvoos-transformers-client
```
### Publishing
Two GitHub Actions workflows handle NPM publishing automatically:
| Workflow | Trigger | Tag pattern |
|----------|---------|-------------|
| `.github/workflows/npm-publish.yml` | Push tag or `workflow_dispatch` | `v*.*.*` |
| `.github/workflows/npm-publish-alpha.yml` | Push tag or `workflow_dispatch` | `v*.*.*-alpha.*` |
**Setup** — only one secret is required: add an `NPM_TOKEN` to the repository at *Settings → Secrets and variables → Actions*.
**Adding a new package**: update the `PACKAGES` environment variable in both workflow files and place the package directory under `packages/`.
See [`packages/README.md`](packages/README.md) for a full package listing and API overview, and [`packages/QUICK_START.md`](packages/QUICK_START.md) for usage examples.
---
## 🧪 Testing & QA
- `composer run test` executes the PHPUnit suite bundled with `wp-phpunit/wp-phpunit` and Yoast’s polyfills, covering REST, tooling, and helper contracts.【F:composer.json†L16-L23】
- Run `composer run test:install` once per environment to provision the WordPress test scaffolding before the first test pass.【F:composer.json†L16-L23】
- For offline or air-gapped environments, use `./bin/package-vendor-dev.sh` to create a downloadable test framework package (~140 MB), then `./bin/install-vendor-dev.sh` to deploy it without requiring composer or internet access.
### Coding standards & static analysis
- Enforce the WordPress Coding Standards with `composer run lint`; auto-fix what you can with `composer run format`.【F:composer.json†L16-L23】
- Validate cross-version compatibility (PHP 8.1–8.4) via `composer run lint:compat` prior to release builds.【F:composer.json†L16-L23】
### Manual smoke tests
- Follow the scenarios in [## ✅ Manual QA Scenarios](#-manual-qa-scenarios) after significant changes to chat flows, tool execution, or authentication wiring.
- For logging-centric debugging, enable logging in the NV oOS settings and reference the retrieval commands in [🪵 Logging](#-logging).
---
## ⚙ CI/CD Pipelines
The repository runs ~30 automated GitHub Actions workflows on every push and PR:
| Workflow | Purpose |
|----------|---------|
| `phpunit.yml` | PHPUnit test suite (PHP 8.1, MySQL 8.0) |
| `javascript-tests.yml` | Jest-based JS test suite |
| `php-linting.yml` | PHPCS + PHP compatibility (7.4–8.3) |
| `security.yml` | Dependency vulnerability scanning |
| `security-regression.yml` | Security regression tests |
| `build-spa-addons.yml` | Build all SPA addon ZIPs |
| `build-canvas-addon.yml` | Canvas addon ZIP build |
| `build-comic-reader-addon.yml` | Comic Reader addon ZIP build |
| `build-nvoos-graphify*.yml` | Graphify standalone plugin builds (3 workflows) |
| `npm-publish.yml` / `npm-publish-alpha.yml` | NPM package publishing (stable + alpha) |
| `release.yml` | GitHub Release automation |
| `chat-parity-check.yml` | Cross-provider chat parity testing |
| `qa-e2e.yml` | End-to-end QA tests |
| `spa-a11y.yml` | WCAG 2.1 AA accessibility checks |
| `spa-bundle-size.yml` | SPA bundle size monitoring |
| `link-check.yml` | Documentation link validation |
| `cloud-worker-tests.yml` | Cloud Worker integration tests |
| `post-deploy-health.yml` | Post-deployment health checks |
| `sync-nvoos-*.yml` | Monorepo subtree sync to standalone repos (9 workflows) |
| `stale.yml` | Stale issue/PR management |
| `auto-label.yml` | Automated PR labeling |
| `project-automation.yml` | GitHub project board automation |
---
## 💬 Frontend Shortcode
Embed a published assistant anywhere on the site with the shortcode. Replace `123` with the post ID of the assistant you created under **AI Assistants**.
```html
[mcp_ai_chat assistant="123"]
```
### How it works
- The shortcode renders a lightweight chat UI that talks to the plugin's REST API endpoints.
- Scripts and styles are enqueued automatically and include REST nonces plus the selected assistant ID.
- Responses are displayed inline, including tool invocation feedback when the model requests a registered tool.
### Requirements
- The assistant post must be **published** and, by default, the current user must have the `edit_posts` capability (matching the REST permission check). Add `allow_guests="true"` to the shortcode when you want anonymous visitors to participate in the chat.
- An OpenAI API key and default model must be configured in **Settings → NV oOS**.
### Tips
- Omit the `assistant` attribute to fall back to the default assistant configured in the settings screen.
- Multiple shortcodes can be added to the same page; each chat instance maintains its own conversation context on the client.
- Use `allow_guests="true"` to expose the chat UI to logged-out visitors. Each render issues a short-lived guest token that authorises REST requests without a WordPress login.
- REST interactions rely on the `[wp_rest]` nonce, so caching plugins should avoid caching pages for logged-in editors running the chat.
### Elementor widget
- Elementor sites automatically gain an **NV oOS Chat** widget that mirrors the shortcode controls, including the optional assistant selector and the guest access toggle.【F:includes/elementor/class-wp-mcp-ai-elementor-widget.php†L17-L109】
- Leaving the assistant control blank falls back to the default assistant configured in the plugin settings, and enabling **Allow Guests** injects the same temporary tokens used by the shortcode flow.【F:includes/elementor/class-wp-mcp-ai-elementor-widget.php†L45-L110】【F:includes/class-wp-mcp-ai-shortcode.php†L132-L224】
- The Elementor chat widget can surface everything saved on the assistant post—model defaults, knowledge files, prompt shortcuts, and assigned tools—so you can build documentation and dashboards without copying values manually.【F:includes/elementor/class-wp-mcp-ai-elementor-widget.php†L95-L845】
---
## 🧵 REST Chat Payloads & Attachments
The `/wp-json/mcp-ai/v1/chat` endpoint accepts rich, multi-part messages. Each message object still requires a `role`, but the
`content` may now be either a plain string or an array of structured segments that map to OpenAI's multimodal contract.
```json
{
"assistant_id": 123,
"messages": [
{
"role": "user",
"content": [
{ "type": "text", "text": "Describe this photo" },
{ "type": "input_image", "attachment_id": 456, "detail": "high" }
]
}
],
"options": {
"response_format": { "type": "json_schema", "json_schema": { "name": "caption" } }
}
}
```
### Supported segment types
- `text` – Free-form text (`text` property). Strings supplied directly to `content` are automatically wrapped in this format. For backwards compatibility, existing `input_text` payloads sent to the REST API are still accepted and normalised to the new schema.
- `input_image` – Reference an uploaded WordPress attachment (`attachment_id`) or provide a remote `url`. Optional `detail`
hints (`low`, `auto`, `high`) and `caption` fields are preserved. *(Fixed in v1.0.0: Chat client attachments now properly processed)*
- `input_file` – Reference an uploaded attachment that should be streamed to the model. *(Fixed in v1.0.0: Chat client file attachments now properly processed)*
The REST controller validates attachment ownership/permissions, enforces a default 5 MB size cap (filterable via
`wp_mcp_ai_max_attachment_bytes`), and only allows safe MIME types by default. Text and structured data formats include
Markdown, CSV/TSV, HTML, JSON/JSONL/NDJSON, and XML; binary documents cover PDFs and Microsoft Word/PowerPoint/Excel variants;
and audio/video uploads accept AAC/FLAC/M4A/MP3/OGG/OPUS/WAV/WEBM plus MP4 or QuickTime sources. 【F:includes/class-wp-mcp-ai-message-attachments.php†L642-L709】
Whenever attachments are present, the plugin automatically inlines the asset data when sending requests to OpenAI's Responses API.
Image segments are converted to data URLs and file segments include the base64-encoded payload alongside the original filename,
so integrators do not need to upload assets manually before invoking a model.
REST requests that include attachments automatically gain access to the bundled **Submit Document Prompt** tool so the files reach OpenAI even when the assistant has the tool disabled in its configuration.【F:includes/class-wp-mcp-ai-rest.php†L22-L29】【F:includes/class-wp-mcp-ai-rest.php†L963-L991】
Assistant memory files configured on the post (`memory_files`) are also promoted to structured `text` segments on the
system channel, retaining the existing chunking/truncation safeguards.
Need to relax or tighten the allowed file types? Administrators can override the image and file MIME lists directly in **Settings → NV oOS → Attachments**, and the same values are used by shortcode-driven chat surfaces (including the Elementor widget) when building upload restrictions.【F:includes/admin/class-wp-mcp-ai-admin-settings.php†L225-L267】【F:includes/class-wp-mcp-ai-message-attachments.php†L456-L565】【F:includes/class-wp-mcp-ai-shortcode.php†L197-L218】 When JSON Lines support is enabled in the allowlist the plugin also registers `.jsonl` and `.ndjson` extensions with WordPress so uploads succeed without additional filters.【F:mcp-ai-wpoos.php†L236-L272】
Assistants can also query existing knowledge files with the **Search Attachments** tool, which reuses `WP_MCP_AI_Message_Attachments::user_can_access_attachment()` so only publicly accessible or user-owned media is returned alongside download URLs and file metadata for the model to reuse.【F:includes/tools/class-wp-mcp-ai-tool-search-attachments.php†L15-L207】【F:includes/class-wp-mcp-ai-message-attachments.php†L480-L575】
---
## 🔐 JetEngine Capability Reference
When the plugin interacts with JetEngine objects it defers to the capabilities enforced by JetEngine’s own REST handlers and editor interfaces. Use the following table to review the specific capability checks that gate each object type:
| Object / Context | Capability string(s) | Notes |
| --- | --- | --- |
| Custom Post Type editor & REST endpoints | `manage_options` | Editing built-in post types and all CPT REST endpoints require the user to have `manage_options`. |
| Custom Taxonomy editor & REST endpoints | `manage_options` | Built-in taxonomy edits and every taxonomy REST endpoint enforce the `manage_options` capability. |
| Relation management UI & REST endpoints | `manage_options` | Creating, editing, listing, or deleting relations through the admin REST handlers requires `manage_options`. |
| Relation REST access settings (`rest_get_access`, `rest_post_access`) | Stored capability string or `'public'` (default `manage_options`) | The public REST controller checks a capability stored in relation args; if blank or `'public'` the request is allowed, otherwise `current_user_can( $cap )` is enforced. Newly created relations default `rest_post_access` to `manage_options` in the editor UI. |
| Relation object type “Posts” | `edit_post`, `delete_post` | Editing or deleting related post items requires the corresponding post capability for the specific post ID. |
| Relation object type “Taxonomy Terms” | `edit_term`, `delete_term` | Term relations check the matching term capabilities for the targeted term ID. |
| Relation object type “Mix → Users” | `edit_users` (for edits); deletion disallowed | Editing user relations needs `edit_users`; deletions are explicitly forbidden (returns `false`). Other mix objects defer to filters for capability checks. |
| Relation object type “Custom Content Types (CCT)” | Configured capability (defaults to `manage_options`) | Relation checks defer to the CCT’s `user_has_access()`, which in turn checks `current_user_can( $this->user_cap() )`; the capability defaults to `manage_options` unless overridden in the CCT settings or filters. |
---
## 🛰 JetEngine REST API Reference
- 📄 Review the full endpoint catalogue in [`docs/reference/api/jet-engine-rest-routes.md`](docs/reference/api/jet-engine-rest-routes.md) for route paths, callbacks, and required parameters.
- 🤖 When JetEngine is active, assistants can invoke the **List JetEngine REST Routes** tool to retrieve the same metadata directly inside a conversation (requires a user with the `manage_options` capability).
---
## 🪵 Logging
- Enable or disable logging from **Settings → NV oOS → Enable Logging**.
- When logging is enabled the plugin records:
- Chat requests and responses processed by the REST API.
- Tool executions (including permission denials).
- Errors returned from the OpenAI API and internal validation.
- Log entries are written via PHP's `error_log()` and can be filtered with `wp_mcp_ai_log_entry` to route them elsewhere.【F:includes/class-wp-mcp-ai-logger.php†L16-L137】
- Recent errors and activity snapshots are also persisted in the `wp_mcp_ai_recent_errors` (50 entries) and `wp_mcp_ai_recent_activity` (100 entries) options for dashboards and widgets, keeping autoload disabled to avoid bloating frontend requests.【F:includes/class-wp-mcp-ai-logger.php†L611-L662】
- Retrieve those rolling buffers quickly with WP-CLI when debugging production incidents:
```bash
wp option get wp_mcp_ai_recent_errors --format=json
wp option get wp_mcp_ai_recent_activity --format=json
```
---
## 🧾 JetEngine REST Endpoint Report Helper
Use the JetEngine report helper to surface the CRUD coverage matrix that was compiled during the REST endpoint audit. The helper exposes the underlying endpoint metadata as a structured array so you can reuse it in documentation, dashboards, or custom checks.
```php
$report = wp_mcp_ai_get_jetengine_endpoint_report();
foreach ( $report['coverage'] as $resource => $operations ) {
printf( "%s supports: %s\n", ucfirst( $resource ), implode( ', ', array_keys( array_filter( $operations ) ) ) );
}
if ( empty( $report['missing'] ) ) {
echo "All CRUD operations are covered.";
}
```
The helper is filterable via:
- `wp_mcp_ai_jetengine_endpoint_routes` – Adjust the source routes before the coverage matrix is derived.
- `wp_mcp_ai_jetengine_endpoint_coverage` – Modify the generated CRUD coverage.
- `wp_mcp_ai_jetengine_missing_operations` – Override the derived list of missing operations per resource.
Each filter receives the full data set so you can extend or replace the output when JetEngine adds new endpoints or when your project needs to surface additional metadata.
---
## 🔌 Optional Tools & Dependencies
**NV oOS works perfectly with vanilla WordPress** - you don't need any third-party plugins for core functionality.
However, certain features require third-party plugins (sold separately). The plugin automatically detects which plugins are active and enables the corresponding tools:
### Plugin Detection & Tool Loading
- **JetEngine** (5 tools) – Server-side chat transcripts, JetEngine content access, JetFormBuilder integration
- **WooCommerce** (3 tools) – E-commerce automation, product/order management
- **Elementor** (1 tool + widgets) – Template management, pre-built chat widgets
- **Rank Math SEO** (1 tool) – SEO analysis and schema data access
- **WPCode** (1 tool) – Code snippet management and automation
**📖 See the complete breakdown:** [🔌 What You Lose Without Third-Party Plugins](#-what-you-lose-without-third-party-plugins)
### How It Works
1. Each tool description in the admin UI shows which plugin it requires
2. Tools are automatically hidden when their dependency is missing
3. Administrators see informational notices explaining unavailable tools
4. No errors occur - the plugin gracefully handles missing dependencies
---
## ✅ Manual QA Scenarios
The project currently relies on manual verification. Run these checks after updating the plugin:
1. **Baseline (no optional plugins)**
- Deactivate WooCommerce and JetEngine.
- Load the AI Assistant edit screen and confirm only core tools appear. No PHP notices or fatal errors should occur.
- Visit the WordPress dashboard to confirm the informational notices explain why optional tools are disabled.
2. **WooCommerce enabled**
- Activate WooCommerce.
- Reload the Assistant editor and ensure the WooCommerce Orders and Products tools appear and can be selected.
- Trigger each tool (e.g., via an assistant conversation) and confirm recent orders and product summaries return without errors.
3. **JetEngine enabled**
- Activate JetEngine.
- Confirm the JetEngine Items tool appears for assistants and returns data for a configured JetEngine post type.
4. **Tool call retry resilience**
- Initiate a chat conversation that triggers a tool call (for example, request an operation that requires either WooCommerce tool).
- After the tool output appears, send a follow-up message that prompts the assistant to continue without invoking another tool.
- Confirm the follow-up succeeds without a JavaScript console error referencing a missing `tool_call_id`.
Document the results of each scenario when preparing releases to ensure optional integrations remain stable.
---
## 🧩 Hooks & Filters
Use the following hooks to extend the plugin:
| Hook | Type | Description |
| --- | --- | --- |
| `do_action( 'wp_mcp_ai_before_chat_request', $assistant_id, $messages, $options, $request )` | Action | Fires before a chat request is sent to OpenAI. |
| `do_action( 'wp_mcp_ai_after_chat_response', $assistant_id, $response, $request )` | Action | Fires after a chat response is received. |
| `apply_filters( 'wp_mcp_ai_chat_options', $options, $assistant_config, $request )` | Filter | Modify the OpenAI request options before dispatch. |
| `apply_filters( 'wp_mcp_ai_chat_capability', $capability, $assistant_id, $context )` | Filter | Adjust the capability required to use the chat shortcode and REST endpoints (defaults to `edit_posts`). Return `'public'` or an empty value to allow any visitor. |
| `do_action( 'wp_mcp_ai_before_tool_execution', $tool_slug, $arguments, $context )` | Action | Runs immediately before a tool executes. |
| `apply_filters( 'wp_mcp_ai_tool_output', $result, $tool_slug, $arguments, $context )` | Filter | Inspect or transform tool output before it is returned. |
| `do_action( 'wp_mcp_ai_after_tool_execution', $tool_slug, $arguments, $context, $result )` | Action | Runs after a tool completes execution. |
| `apply_filters( 'wp_mcp_ai_log_entry', $entry, $type, $message, $context )` | Filter | Intercept or redirect logging output. |
| `apply_filters( 'wp_mcp_ai_onboarding_presets', $presets )` | Filter | Add, remove, or modify onboarding wizard use-case presets. Each preset defines tools, system prompt, temperature, and assistant name. |
| `do_action( 'wp_mcp_ai_onboarding_presets_seeded', $created, $preset_keys )` | Action | Fires after the onboarding wizard creates assistant CPT posts from selected presets. `$created` maps preset keys to post IDs. |
---
## 🧰 WP-CLI Commands
Manage the NV oOS environment from the command line when WP-CLI is available.
| Command | Description |
| --- | --- |
| `wp mcp-ai status` | Summarises WordPress core details, PHP version, and NV oOS supported plugin coverage. |
| `wp mcp-ai remote <base>` | Probes a remote MCP REST namespace (such as `https://example.com/wp-json/mcp-ai/v1`) by loading the assistant directory and issuing a lightweight `POST /chat` probe, reporting connectivity, assistant counts, and token scope metadata. |
| `wp mcp-ai plugins list` | Lists optional dependencies (WooCommerce, JetEngine, etc.) with install and activation state. |
| `wp mcp-ai plugins activate <slug>` | Activates a supported plugin; pass `--network` on multisite installations. |
| `wp mcp-ai plugins deactivate <slug>` | Deactivates a supported plugin; pass `--network` on multisite installations. |
| `wp mcp-ai chat <message>` | Sends a one-shot chat message to an assistant via the language model router. Accepts `--assistant`, `--model`, `--provider`, `--temperature`, `--max-tokens`, `--stream`, and `--format` flags. |
| `wp mcp-ai memory recall` | Recalls agent memory entries. Use `--assistant` to scope operations. |
| `wp mcp-ai thread list` | Lists chat threads. Use `--assistant` to filter. Also supports `get` and `delete` subcommands with `--thread-id`. |
| `wp mcp-ai provider list` | Lists all AI providers with enabled/disabled status. Also supports `test <slug>` and `models <slug>` subcommands. |
| `wp mcp-ai cron list` | Lists scheduled cron jobs tracked by NV oOS. Also supports `run <job-id>` and `delete <job-id>` subcommands. |
| `wp mcp-ai transcript list` | Lists transcripts eligible for mining. Use `--assistant` to filter. Also supports `mine` subcommand for batch mining. |
| `wp mcp-ai approval list` | Lists pending human-in-the-loop approval items. Accepts `--format` flag. Also supports `approve` and `reject` subcommands with `--item-id`. |
| `wp mcp-ai tool list` | Lists all registered tools with status and capability. Accepts `--status`, `--format`, and `--fields` flags. Also supports `enable <slug>`, `disable <slug>`, and `call <slug> --args='{"…":…}'`. |
| `wp mcp-ai assistant list` | Lists all AI assistants. Accepts `--status` and `--format` flags. |
| `wp mcp-ai credential list` | Lists API credentials configured for an assistant. |
| `wp mcp-ai slash list` | Lists registered slash commands. Also supports `execute <command>` and `help <command>`. |
| `wp mcp-ai settings get` | Retrieves all NV oOS settings. |
| `wp mcp-ai cache clear` | Clears the NV oOS object cache. |
| `wp mcp-ai security posture` | Security posture score with every signal. Also supports `audit`, `purge-audit`, `gate`, and `keys`. |
| `wp mcp-ai model list --provider=<slug>` | Lists catalog models per provider. Also supports `suggestions` and `discover`. |
> **Full reference:** see [`docs/operations/wp-cli.md`](docs/operations/wp-cli.md) for the
> complete Base + Pro + addon command tree, capability matrix, and scripting
> patterns.
`wp mcp-ai remote` accepts additional flags so you can mirror the authentication mode used by your deployment while exercising TLS and timeout controls:
- `--token=<token>` – Include an Auth0 access token or assistant-issued credential via the `Authorization` header.
- `--guest-token=<token>` – Attach a guest token when testing public chat surfaces that rely on the `X-WP-MCP-AI-Guest` header.
- `--nonce=<nonce>` – Supply a WordPress REST nonce for same-origin checks.
- `--assistant-id=<id>` – Hint which assistant to load when the directory endpoint supports scoped tokens.
- `--timeout=<seconds>` – Override the default 15-second timeout when probing slow networks.
- `--verify-ssl=<boolean>` – Toggle certificate validation (defaults to `true`).
- `--user-agent=<agent>` – Send a custom user agent instead of the built-in `WP-MCP-AI-Remote-Tester/<version>` signature.
Filter `wp_mcp_ai_supported_plugins` to expose additional managed dependencies to the CLI helpers.
Each hook receives sanitized data and respects the current user's permissions and multisite membership.
---
## 🆘 Getting Help & Support
### Documentation Resources
Start with the comprehensive documentation before seeking additional support:
1. **[Quick Reference Guide](docs/QUICK_REFERENCE.md)** - Fast answers to common questions and tasks
2. **[Documentation Index](docs/DOCUMENTATION_INDEX.md)** - Navigate all 1,600+ documentation files
3. **[Troubleshooting Guide](docs/getting-started/installation-setup/deployment-troubleshooting.md)** - Solutions to common issues
4. **[REST API Reference](docs/reference/api/rest-api.md)** - Complete API documentation
### Before Reporting Issues
When encountering problems, please:
- [ ] Check the [troubleshooting guide](docs/getting-started/installation-setup/deployment-troubleshooting.md)
- [ ] Enable logging in Settings → NV oOS to capture detailed errors
- [ ] Review the [common issues section](#common-issues) below
- [ ] Search [existing GitHub issues](https://github.com/nvdigitalsolutions/mcp-ai-wpoos/issues)
- [ ] Test with a default assistant to isolate configuration issues
### Common Issues
#### npm EACCES Permission Error (package-lock.json)
If you get `EACCES: permission denied, open '.../package-lock.json'` when running `npm install`:
**This means you do NOT need to run `npm install`.**
The plugin distributes pre-built minified assets (`.min.js`/`.min.css` files) so `npm install` is **never required** for production use. You only need npm if you are a developer modifying JavaScript source files.
**Solutions:**
- **If installing from ZIP**: Simply upload and activate the plugin. No npm commands needed.
- **If cloning the repository for production use**: Activate the plugin as-is. The pre-built assets in the repository are ready for production.
- **If you need to rebuild assets** (development only): Run npm on a development machine where you have write access, then deploy the built files.
If you must run npm in a restricted directory (e.g., during CI or scripted deployments), use:
```bash
npm install --no-package-lock
```
#### npm/Composer Install Error After Cloning
If you get `ENOENT: no such file or directory, uv_cwd` (npm) or `getcwd() failed` (composer) errors:
**For Cloudways Users (Most Common):**
These errors occur when you try to run npm or composer from a directory that has been moved, deleted, or no longer exists. This commonly happens when you clone outside the WordPress plugins directory and then move/copy files while your shell session is still in the original location.
**Solution: Always clone directly into the plugins directory:**
```bash
# SSH into your Cloudways server
cd /home/master/applications/YOURAPP/public_html/wp-content/plugins/
# Clone directly (replace YOURAPP with your application name)
git clone https://github.com/nvdigitalsolutions/mcp-ai-wpoos.git
cd mcp-ai-wpoos
# Verify you're in the right place
pwd # Should show the full plugins path
# NOTE: npm install is NOT required for production use.
# Activate the plugin in WordPress admin - it is ready to use.
# Only run composer if you need to update PHP dependencies (development only):
# composer install --no-dev
```
**For Local Development or VPS:**
1. **Ensure you're in the correct directory** - Run `pwd` to verify you're in the `mcp-ai-wpoos` directory
2. **Do not run commands from a moved/deleted directory** - If you moved files, open a new terminal session in the new location
3. **Production workflow** (no npm or composer needed):
```bash
# Clone the repository
git clone https://github.com/nvdigitalsolutions/mcp-ai-wpoos.git
# Copy to WordPress plugins directory
cp -r mcp-ai-wpoos /path/to/wordpress/wp-content/plugins/
# Plugin is ready to activate - no build step required.
```
4. **Development workflow** (only if you need to rebuild JS/CSS assets):
```bash
# Clone the repository on your development machine (not the server)
git clone https://github.com/nvdigitalsolutions/mcp-ai-wpoos.git
cd mcp-ai-wpoos
# Install dev dependencies and rebuild assets
npm install && npm run build
composer install --no-dev
# Deploy built files to the server
```
5. **Alternative: Clone directly into WordPress** - This avoids copy/move issues:
```bash
cd /path/to/wordpress/wp-content/plugins/
git clone https://github.com/nvdigitalsolutions/mcp-ai-wpoos.git
# Activate the plugin - it is production-ready without any npm or composer commands.
```
#### Chat Not Working
1. Verify OpenAI API key is configured in Settings → NV oOS
2. Ensure assistant is published
3. Check user has `edit_posts` capability or add `allow_guests="true"` to shortcode
4. Enable logging and check browser console for errors
#### Tool Execution Failures
1. Verify tool is enabled for the assistant
2. Check required dependencies are installed (WooCommerce, JetEngine, etc.)
3. Ensure user has necessary capabilities
4. Review tool-specific requirements in [tool reference](docs/reference/tools/tool-reference.md)
#### Remote Client Connection Issues
1. Verify credentials are correct and not expired
2. Test with [remote client quickstart guide](docs/getting-started/quick-starts/remote-client-quickstart.md)
3. Use WP-CLI command: `wp mcp-ai remote <url> --token=<token>`
4. Review [authentication documentation](docs/reference/api/mcp-server-authentication.md)
### Reporting Issues
When creating a GitHub issue, please include:
- **Plugin version** (found in WordPress admin)
- **WordPress version** and PHP version
- **Error messages** from logs (enable logging in settings)
- **Steps to reproduce** the issue
- **Expected behavior** vs actual behavior
- **Screenshots** if applicable
Create issues at: https://github.com/nvdigitalsolutions/mcp-ai-wpoos/issues
### Contributing
We welcome contributions! Please see:
- [CONTRIBUTING.md](CONTRIBUTING.md) - Contribution guidelines
- **[MASTER_CONSOLIDATION_2025.md](docs/history/2025/summaries/MASTER_CONSOLIDATION_2025.md) ⭐ START HERE** - Complete consolidation of ALL fixes, summaries, and code reviews (98/100 score)
- [CONSOLIDATION_MAP.md](docs/history/2025/summaries/CONSOLIDATION_MAP.md) - Detailed map showing what was consolidated from where
- [CODE-REVIEW-MASTER.md](docs/developer/best-practices/CODE-REVIEW-MASTER.md) - Code quality standards with historical reviews
- [ACTION_ITEMS.md](docs/history/2025/summaries/ACTION_ITEMS.md) - Current development priorities
### Documentation
Comprehensive documentation is available:
- **[MASTER_CONSOLIDATION_2025.md](docs/history/2025/summaries/MASTER_CONSOLIDATION_2025.md) ⭐ PRIMARY REFERENCE** - Single source of truth for all 2025 work
- **[CONSOLIDATION_MAP.md](docs/history/2025/summaries/CONSOLIDATION_MAP.md)** - Navigation guide and source document mapping
- **[DOCUMENTATION_INDEX.md](docs/DOCUMENTATION_INDEX.md)** - Complete documentation index (535+ files)
- **[CODE-REVIEW-MASTER.md](docs/developer/best-practices/CODE-REVIEW-MASTER.md)** - Master code review (98/100)
- **[TESTING_AND_QUALITY_REPORT.md](docs/developer/testing-docs/TESTING_AND_QUALITY_REPORT.md)** - Testing & quality analysis
**For Historical Reference:**
- [CONSOLIDATED_BUGS_AND_FIXES.md](docs/history/2025/summaries/CONSOLIDATED_BUGS_AND_FIXES.md) - All bugs and fixes (superseded by MASTER_CONSOLIDATION_2025.md)
- [CONSOLIDATED_SESSION_SUMMARIES.md](docs/history/2025/summaries/CONSOLIDATED_SESSION_SUMMARIES.md) - Development history (superseded by MASTER_CONSOLIDATION_2025.md)
### Security Vulnerabilities
For security issues, please review our [Security Policy](SECURITY.md) and report vulnerabilities responsibly.
**Do not** create public GitHub issues for security vulnerabilities.
### Community & Updates
- **GitHub Repository:** https://github.com/nvdigitalsolutions/mcp-ai-wpoos
- **Maintained by:** [NV Digital Solutions](https://nvdigitalsolutions.com/)
- **License:** GPLv3 or later
---
## ❤ Sponsor & Support
NV oOS is free and open source, and it stays that way because of the community. If the plugin saves you time or helps your site run more smoothly, here are the ways you can support the project:
### 💖 Financial Support
| Option | Details |
|--------|---------|
| **GitHub Sponsors** | Monthly or one-time sponsorship of the NV Digital Solutions organization. Sponsorship directly funds long-term maintenance, documentation, and new features. → [github.com/sponsors/nvdigitalsolutions](https://github.com/sponsors/nvdigitalsolutions) |
| **NV oOS Pro / Complete** | Buy the commercial Pro addon (or the Complete bundle: base + Pro). It adds ~1,300 tools — multi-agent orchestration, CRM, project management, vault/secret management, and more — on top of the free base plugin. → [nvdigitalsolutions.com/wpoos](https://nvdigitalsolutions.com/wpoos) |
| **Sponsor button** | The **Sponsor** button on the GitHub repository (powered by [`.github/FUNDING.yml`](.github/FUNDING.yml)) links to the options above. |
### 🙌 Free Ways to Help
- ⭐ **Star the repository** — it helps more people discover the project.
- 🐛 **Report bugs & request features** — quality issues make the project better; see [Reporting Issues](#reporting-issues).
- 🤝 **Contribute** — code, docs, tests, or translations; start with [CONTRIBUTING.md](CONTRIBUTING.md).
- 💬 **Spread the word** — tell other WordPress site owners about NV oOS.
---
## 📄 License
NV oOS ships under a **three-tier license model**:
| Component | License |
|-----------|---------|
| **Base plugin** (root + `includes/`) | [GPL-3.0-or-later](LICENSE) |
| `addons/algorave/` | **AGPL-3.0-or-later** (bundles `@strudel/web` AGPL-3.0) |
| `addons/pro/`, `addons/graphify/`, `addons/embedded/`, `addons/cornerstone3d/`, `addons/canvas/`, `addons/cloud-worker/`, `addons/fantasy-football/` | **Proprietary** — © NV Digital Solutions, all rights reserved |
The base plugin's GPL-3 grant is in [LICENSE](LICENSE). Bundled third-party
dependencies retain their upstream licenses; see [`CREDITS.md`](CREDITS.md)
for the full attribution index.
---
**Thank you for using Open Operator System!**
This server cannot be deployed
Maintenance
ActivityActive
ResponsivenessNo recent community issues