Repository navigation
v0.4.3
Sprout's MCP server is now safer and easier to point at the right project, especially in Claude Code. These fixes came from connecting it to Claude Code and using it for real.
Fixed
- A client open in your home folder no longer gets it mapped. Claude Code started in
~told Sprout that was its open folder, and Sprout believed it: it walked about 780,000 files and listed folders like.sshto the agent. A home folder or/is now refused, however the server got there, with what to do instead. A folder you give on the command line (sprout mcp /path) is still served. (#94) - The server follows your client when the client says its open folder changed. A folder given on the command line stays put. (#94)
- Errors say which folder is being served when a file isn't found, so a wrong folder is obvious instead of looking like a missing file. (#94)
- "uses" reasons name methods too: a file that calls
r.probe(), whereprobeis declared in another file on a type from elsewhere in the package, now hasprobein its reason. The dependency graph itself is unchanged. (#94)
New
rooton every MCP tool: the project's absolute path, for when the agent works in a project other than the folder its client has open. It's treated as untrusted input, so it must be:- a project folder (with
.gitor a manifest likego.mod); - not a hidden folder;
- not
~or/; - inside the folder you gave
sprout mcp, if you gave one. (#94)
- a project folder (with
Also
- CI syntax-checks the fish and PowerShell completion scripts (#87, thanks @AnushreeKasturi).
- The README's Scripting section documents the JSON output of
deps,dependents,impact,contextandtour, with a CI example (#91, thanks @aliyasyeddd, in her first contribution).
Install: brew install sprout-devlabs/tap/sprout · scoop bucket add sprout https://github.com/Sprout-DevLabs/scoop-bucket; scoop install sprout · .deb/.rpm/.apk below · go install github.com/Sprout-DevLabs/sprout@v0.4.3 · or curl -fsSL https://sprout-devlabs.github.io/sprout-web/install.sh | sh