Skip to content

Commit 2e4a704

Browse files
committed
Disable by default doc-search tool
1 parent 7f334fe commit 2e4a704

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/McpServer/McpConfig.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ final class McpConfig extends InjectableConfig
2828
'enable' => true,
2929
],
3030
'docs_tools' => [
31-
'enable' => true,
31+
'enable' => false,
3232
],
3333
'custom_tools' => [
3434
'enable' => true,

src/McpServer/McpServerBootloader.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public function init(EnvironmentInterface $env): void
8282
'enable' => (bool) $env->get('MCP_CONTEXT_OPERATIONS', !$isCommonProject),
8383
],
8484
'docs_tools' => [
85-
'enable' => (bool) $env->get('MCP_DOCS_TOOLS_ENABLED', true),
85+
'enable' => (bool) $env->get('MCP_DOCS_TOOLS_ENABLED', false),
8686
],
8787
'prompt_operations' => [
8888
'enable' => (bool) $env->get('MCP_PROMPT_OPERATIONS', false),

0 commit comments

Comments
 (0)