Просмотр исходного кода

docs: clarify that MCP tools require glob patterns to disable (#6306)

Co-authored-by: Aiden Cline <[email protected]>
Alice Alexandra Moore 1 месяц назад
Родитель
Сommit
05a9e7ce7a
1 измененных файлов с 10 добавлено и 2 удалено
  1. 10 2
      packages/web/src/content/docs/mcp-servers.mdx

+ 10 - 2
packages/web/src/content/docs/mcp-servers.mdx

@@ -354,12 +354,20 @@ If you have a large number of MCP servers you may want to only enable them per a
 
 #### Glob patterns
 
-The glob pattern uses simple regex globbing patterns.
+The glob pattern uses simple regex globbing patterns:
 
-- `*` matches zero or more of any character
+- `*` matches zero or more of any character (e.g., `"my-mcp*"` matches `my-mcp_search`, `my-mcp_list`, etc.)
 - `?` matches exactly one character
 - All other characters match literally
 
+:::note
+MCP server tools are registered with server name as prefix, so to diable all tools for a server simply use:
+```
+"mymcpservername_*": false
+```
+:::
+
+
 ---
 
 ## Examples