diff --git a/packages/data-provider/src/config.ts b/packages/data-provider/src/config.ts index 4b2ed757437..b013b631fc1 100644 --- a/packages/data-provider/src/config.ts +++ b/packages/data-provider/src/config.ts @@ -863,7 +863,11 @@ export type ToolApprovalMode = z.infer; * just describes the surface. * * Conventions: - * - All list entries are matched as globs (`*`). Use `mcp:server:*` to scope + * - All list entries are matched as globs (`*`). MCP tool keys are + * `${rawToolName}${Constants.mcp_delimiter}${serverName}` (e.g. + * `create_issue_mcp_github`; the server segment is the `normalizeServerName()` + * form, and a raw tool name may itself contain the delimiter), so use + * `*${Constants.mcp_delimiter}` (i.e. `*_mcp_`) to scope * a rule to every tool from a single MCP server. * - `deny` always wins, including under `bypass`. * - `enabled: false` is a LibreChat-only kill switch that disables the entire