Skip to content

Commit c1d29ac

Browse files
authored
fix: exclude global search from mcp tools by default (#679)
1 parent 80b6385 commit c1d29ac

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

config/restify.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
use Binaryk\LaravelRestify\Http\Middleware\AuthorizeRestify;
44
use Binaryk\LaravelRestify\Http\Middleware\DispatchRestifyStartingEvent;
5+
use Binaryk\LaravelRestify\MCP\Tools\GlobalSearchTool;
56
use Binaryk\LaravelRestify\Repositories\ActionLogRepository;
67

78
return [
@@ -295,7 +296,7 @@
295296
],
296297
'resources' => [
297298
'exclude' => [
298-
// Resource classes to exclude from discovery
299+
GlobalSearchTool::class,
299300
],
300301
'include' => [
301302
// Additional resource classes to include

0 commit comments

Comments
 (0)