What features would you like to see added?
MCP servers are listed in the order the /api/mcp/servers and /api/mcp/tools responses return them. That order is neither alphabetical nor stable from the user's point of view, and with more than a handful of servers it's hard to find one. I'd like every MCP server list sorted by the name it displays, case-insensitive, with numbers compared by value (server-2 before server-10).
More details
Two places build these lists, and sorting in both covers every one of them:
client/src/hooks/MCP/useMCPServerManager.ts: availableMCPServers feeds the MCP Settings panel (MCPBuilderPanel → MCPServerList), the chat MCP dropdown (MCPSelect) and the MCP submenu in the tools dropdown (MCPSubMenu). Sort by config.title || serverName, which is the label MCPServerCard and MCPServerMenuItem show.
client/src/components/SidePanel/Agents/Tools/items/catalog.ts: buildCatalog iterates mcpServersMap in insertion order. That map is the tools response followed by configured servers without tools (AgentPanelContext.tsx), so even a sorted server response comes out unsorted here. Sorting the MCP items by name fixes both the agent's attached-tools list and the Tools marketplace dialog. deriveSelectedItems only sorts by kind, and its sort is stable, so the order carries through.
Sorting server-side isn't enough because of the tools-less servers appended in AgentPanelContext.
Which components are impacted by your request?
UI
Pictures
No response
Code of Conduct
What features would you like to see added?
MCP servers are listed in the order the
/api/mcp/serversand/api/mcp/toolsresponses return them. That order is neither alphabetical nor stable from the user's point of view, and with more than a handful of servers it's hard to find one. I'd like every MCP server list sorted by the name it displays, case-insensitive, with numbers compared by value (server-2beforeserver-10).More details
Two places build these lists, and sorting in both covers every one of them:
client/src/hooks/MCP/useMCPServerManager.ts:availableMCPServersfeeds the MCP Settings panel (MCPBuilderPanel→MCPServerList), the chat MCP dropdown (MCPSelect) and the MCP submenu in the tools dropdown (MCPSubMenu). Sort byconfig.title || serverName, which is the labelMCPServerCardandMCPServerMenuItemshow.client/src/components/SidePanel/Agents/Tools/items/catalog.ts:buildCatalogiteratesmcpServersMapin insertion order. That map is the tools response followed by configured servers without tools (AgentPanelContext.tsx), so even a sorted server response comes out unsorted here. Sorting the MCP items by name fixes both the agent's attached-tools list and the Tools marketplace dialog.deriveSelectedItemsonly sorts by kind, and its sort is stable, so the order carries through.Sorting server-side isn't enough because of the tools-less servers appended in
AgentPanelContext.Which components are impacted by your request?
UI
Pictures
No response
Code of Conduct