[FEATURE] Sort and group MCP tools in /mcp dialog

Resolved 💬 2 comments Opened Apr 9, 2026 by KTCrisis Closed May 22, 2026

Problem

When an MCP server exposes many tools (e.g. 50+ tools), the /mcp tool list is displayed as a flat, unsorted list. This makes it hard to find specific tools or understand what's available at a glance.

Proposed solution

  1. Sort tools alphabetically by default in the /mcp tool viewer
  2. Group tools by prefix — many MCP servers use naming conventions like filesystem_*, database_*, api_*. Displaying them as collapsible groups would greatly improve readability
  3. Optional: search/filter within the tool list

Context

MCP servers that aggregate multiple backends behind a single server can expose dozens of tools. Without sorting or grouping, the list becomes unusable for quick reference.

Current behavior

  • Tools displayed in arbitrary order
  • No grouping or hierarchy
  • No search/filter capability

Expected behavior

  • Tools sorted alphabetically (or grouped by prefix)
  • Collapsible groups for namespaced tools (e.g. filesystem_*filesystem group)
  • Optional search box for large tool sets

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗