From c7c3296572b1d4985324a2044d0d867af587b44f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=A1=E9=A3=8E?= <1795771535y@gmail.com> Date: Mon, 1 Jun 2026 09:13:51 +0800 Subject: [PATCH] fix: MCP search results include only MCP providers (#36871) Co-authored-by: LL201314-II --- web/app/components/tools/mcp/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/components/tools/mcp/index.tsx b/web/app/components/tools/mcp/index.tsx index a9012d0652..c634085c54 100644 --- a/web/app/components/tools/mcp/index.tsx +++ b/web/app/components/tools/mcp/index.tsx @@ -23,7 +23,7 @@ const MCPList = ({ const filteredList = useMemo(() => { return list.filter((collection) => { if (searchText) - return Object.values(collection.name).some(value => (value as string).toLowerCase().includes(searchText.toLowerCase())) + return collection.type === 'mcp' && Object.values(collection.name).some(value => (value as string).toLowerCase().includes(searchText.toLowerCase())) return collection.type === 'mcp' }) as ToolWithProvider[] }, [list, searchText])