| @@ -34,8 +34,12 @@ | ||
| 34 | 34 | }); |
| 35 | 35 | |
| 36 | 36 | $app = new Application($file); |
| 37 | 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(); | |
| 41 | + | |
| 38 | 42 | register_activation_hook($file, function ($network_wide) use ($app) { |
| 39 | 43 | ($app->make(ActivationHandler::class))->handle($network_wide); |
| 40 | 44 | }); |
| 41 | 45 | |