| @@ -28,11 +28,17 @@ | ||
| 28 | 28 | add_action('fluentform/global_menu', $renderNotice); |
| 29 | 29 | add_action('fluentform/after_form_menu', $renderNotice); |
| 30 | 30 | }); |
| 31 | 31 | } |
| 32 | + | |
| 33 | + fluentform_maybe_disable_contaminated_pro(); | |
| 32 | 34 | }); |
| 33 | 35 | |
| 34 | 36 | $app = new Application($file); |
| 37 | + | |
| 38 | + // Boot the MCP server (Abilities API tools + endpoint). Self-guards: ships | |
| 39 | + // off, and its Abilities/adapter hooks fire only when those systems exist. | |
| 40 | + \FluentForm\App\Modules\MCP\MCPInit::boot(); | |
| 35 | 41 | |
| 36 | 42 | register_activation_hook($file, function ($network_wide) use ($app) { |
| 37 | 43 | ($app->make(ActivationHandler::class))->handle($network_wide); |
| 38 | 44 | }); |