Quellcode durchsuchen

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

Co-authored-by: Aiden Cline <[email protected]>
Alice Alexandra Moore vor 1 Monat
Ursprung
Commit
05a9e7ce7a
1 geänderte Dateien mit 10 neuen und 2 gelöschten Zeilen
  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
 #### 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
 - `?` matches exactly one character
 - All other characters match literally
 - 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
 ## Examples