rust-sdk/crates
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Peter 61ffba84b5
fix: sort list_all() output in ToolRouter and PromptRouter for deterministic ordering (#665)
ToolRouter::list_all() and PromptRouter::list_all() iterate over a
HashMap, which returns items in non-deterministic order. Since list_all()
backs the tools/list and prompts/list MCP protocol responses, this causes
MCP clients to receive differently-ordered results across calls and
process restarts, leading to intermittent tool discovery failures.

Sort the output alphabetically by name to guarantee stable ordering.
2026-02-17 09:37:17 -05:00
..
rmcp fix: sort list_all() output in ToolRouter and PromptRouter for deterministic ordering (#665) 2026-02-17 09:37:17 -05:00
rmcp-macros fix: align task response types with MCP spec (#658) 2026-02-13 17:56:44 -05:00