Skip to content

Conversation

@cwlbraa
Copy link
Contributor

@cwlbraa cwlbraa commented Jul 9, 2025

impl is as minimal as possible. tested via echo {json} | timeout 5 cu stdio, still need to test with actual vscode.

currently only used to facilitate better error messages on repo.Open, but with dynamic tools we can also use the roots to provide better tool descriptions.

@cwlbraa cwlbraa requested review from aluzzardi and grouville July 9, 2025 21:57
@cwlbraa cwlbraa changed the title add mcp roots support, currently only facilitating repo open error messages Initial MCP Roots support Jul 9, 2025
Copy link
Contributor

@aluzzardi aluzzardi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, left minor nits

Signed-off-by: Connor Braa <[email protected]>
@cwlbraa
Copy link
Contributor Author

cwlbraa commented Jul 11, 2025

tested this with vscode and i can't get to the error path at all because agent mode auto-injects the root dirs into the context, so this may be useless for right now.

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.

3 participants