feat: fire McpToolsRegistering in MCP boot
Ensures tool handlers are registered when serving MCP HTTP requests, not just in artisan console context. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
0323243c9a
commit
f2c0c5f225
1 changed files with 3 additions and 0 deletions
|
|
@ -43,5 +43,8 @@ class Boot extends ServiceProvider
|
|||
{
|
||||
// Fire McpRoutesRegistering event for lazy-loaded modules
|
||||
LifecycleEventProvider::fireMcpRoutes();
|
||||
|
||||
// Fire McpToolsRegistering so modules can register tool handlers
|
||||
LifecycleEventProvider::fireMcpTools();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue