Laravel Package Version
0.2.0
Laravel Version
12
PHP Version
8.3
Database Driver & Version
No response
Description
Including the MCP web routes causes the allowed memory size running artisan optimize.
Steps To Reproduce
After including the ai.php file with a web route:
MCP::web('/mcp', MyServer::class);
run the optimize command:
The allowed memory size error should breaks the process.