stacklok / stacklok/toolhive-studio
MCP servers listed in source order instead of alphabetical when aggregating registries
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 167
- Forks
- 24
- Avg merge
- 11h 32m
- Merged PRs (30d)
- 91
Description
Summary
When connecting the ToolHive UI 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.
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
- Connect ToolHive UI to a registry server that aggregates multiple registries (e.g., the demo sandbox registry)
- Observe the ordering of MCP servers in the list
- Note that servers are grouped by source rather than sorted alphabetically across all sources
🤖 Generated with Claude Code
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the ToolHive UI's MCP server list and reproduce the ordering with the demo sandbox registry or another registry server that aggregates multiple registries. Trace how aggregated results are ordered, then verify that the displayed list is sorted alphabetically across all source registries rather than grouped by source.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 72/100