Skip to content

MCP servers listed in source order instead of alphabetical when aggregating registries #486

@danbarr

Description

@danbarr

Summary

When connecting to a registry server that aggregates multiple registries, the MCP servers are not listed in pure alphabetical order. Instead, they are listed in source order first, then alphabetical within each source. This produces a confusing ordering for users who expect a single unified alphabetical list.

Same issue as stacklok/toolhive-studio#1956.

Expected behavior

MCP servers should be listed in alphabetical order regardless of which underlying registry they originate from.

Actual behavior

Servers are grouped by their source registry, with alphabetical ordering only applied within each group. This means you get clusters of servers from one registry followed by clusters from another, rather than a single sorted list.

Steps to reproduce

  1. Connect to a registry server that aggregates multiple registries (e.g., the demo sandbox registry)
  2. Observe the ordering of MCP servers in the list
  3. Note that servers are grouped by source rather than sorted alphabetically across all sources

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions