docs: clarify that MCP tools require glob patterns to disable (#6306)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>pull/6333/head
parent
896d18ab3f
commit
05a9e7ce7a
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue