MCP for coding agents
sprout mcp [root] speaks the Model Context Protocol over stdio. Agents get a map of the project in one call, instead of spending their context on ls -R, grep and reading files one by one. The root defaults to the directory the server starts in.
Set it up
Section titled “Set it up”Claude Code
claude mcp add sprout -- sprout mcpCursor, Claude Desktop and other clients
{ "mcpServers": { "sprout": { "command": "sprout", "args": ["mcp"] } }}If your client doesn’t start servers in the project directory, pass the path: "args": ["mcp", "/path/to/project"].
| Tool | Arguments | Returns |
|---|---|---|
project_map |
path?, budget? |
The --ai map with key files. Its description tells agents to call it first |
reading_order |
path? |
The --entry list |
tree |
path?, depth? (default 3), all?, git?, churn?, since? |
A tree of a folder |
diff_tree |
rev, path?, depth? |
The --diff view |
Safety
Section titled “Safety”An agent’s arguments are untrusted input, so:
pathmust stay inside the root once..and symlinks are resolved. Absolute paths and URLs are refused, so the server never clones anything.revcan’t become a git option.- Output uses paths relative to the root, never your home directory.
- The server is read-only.