Description
The search filter in the MCP servers grid (GridCardsMcpServers) only matches against name and package, but does not match against title. Since the server card displays the title as the primary label (and the title is often more human-readable than the internal name), users searching for a server by what they see on screen may not find it.
Current behavior
In renderer/src/features/mcp-servers/components/grid-cards-mcp-server.tsx, the filter logic checks:
const name = mcpServer.name?.toLowerCase() || ''
const image = mcpServer.package?.toLowerCase() || ''
if (!name.includes(searchTerm) && !image.includes(searchTerm)) {
return false
}
Only name and package are searched. The title field (which is the user-facing display name) is ignored.
Expected behavior
The search filter should also match against mcpServer.title so that typing the display name of a server finds it.
Steps to reproduce
- Run a server that has a
title different from its name
- Search for the server using its title text
- The server card is not shown in the results
Description
The search filter in the MCP servers grid (
GridCardsMcpServers) only matches againstnameandpackage, but does not match againsttitle. Since the server card displays the title as the primary label (and the title is often more human-readable than the internal name), users searching for a server by what they see on screen may not find it.Current behavior
In
renderer/src/features/mcp-servers/components/grid-cards-mcp-server.tsx, the filter logic checks:Only
nameandpackageare searched. Thetitlefield (which is the user-facing display name) is ignored.Expected behavior
The search filter should also match against
mcpServer.titleso that typing the display name of a server finds it.Steps to reproduce
titledifferent from itsname