Skip to content

Comments

feat: Enhance MCP server capabilities and improve root management#1

Merged
modesty merged 1 commit intomasterfrom
scratch/initRoots
Aug 17, 2025
Merged

feat: Enhance MCP server capabilities and improve root management#1
modesty merged 1 commit intomasterfrom
scratch/initRoots

Conversation

@modesty
Copy link
Owner

@modesty modesty commented Aug 17, 2025

  • Implemented support for Root capability to replace the cwd in session, including handling roots/list requests and notifications for root changes.
  • Updated package version to 0.0.12.
  • Added requestRootsFromClient method to handle root requests from the client and manage responses.
  • Improved logging for root updates and added validation for root URIs.
  • Enhanced ToolsManager to avoid duplicate root updates and log details about the update process.
  • Updated CLI command tools to only log changes when roots are actually updated.
  • Refactored tests to cover new root management features and ensure proper handling of notifications and requests.
  • Improved error handling for invalid response formats when requesting roots.

@modesty modesty merged commit 007931b into master Aug 17, 2025
1 check passed
@modesty modesty deleted the scratch/initRoots branch January 6, 2026 00:33
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.

1 participant