Skip to content

Conversation

@chughtapan
Copy link
Owner

  • Replace notification-based roots with synchronous roots/set method
  • Move roots from ClientCapabilities to ServerCapabilities
  • Remove roots/list and notifications/roots/list_changed
  • Add client-to-server roots/set request that returns EmptyResult

🤖 Generated with Claude Code

Tapan Chugh and others added 3 commits September 29, 2025 23:22
- Replace notification-based roots with synchronous roots/set method
- Move roots from ClientCapabilities to ServerCapabilities
- Remove roots/list and notifications/roots/list_changed
- Add client-to-server roots/set request that returns EmptyResult

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Add support for clients to query the current roots from the server.

- Add ListRootsRequest interface for client → server query
- Add ListRootsResult interface for server response with roots array
- Add ListRootsRequest to ClientRequest union
- Add ListRootsResult to ServerResult union

This completes the roots protocol where:
- Clients set roots via SetRootsRequest (already existed)
- Clients query roots via ListRootsRequest (new)
- Server stores roots and returns them via ListRootsResult (new)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants