What's Changed
The MCP server (rulesync mcp) now covers the whole CLI (#3591).
- feat(mcp): accept the remaining CLI options in
generate,importandconvertby @dyoshikawa in #3595generategainsdryRun,check(returnsupToDateand aplaninstead of exiting),retireTargets,outputRoots,inputRoots,inputRootandconfigPath;importacceptstargetsandoutputRoot.- Every path an MCP caller passes, and the roots read from a config file the caller selects, must resolve inside the project directory, symbolic links included.
- feat(mcp): expose
init,gitignore,add,fetch,install,doctor,docsandrelease-notesby @dyoshikawa in #3596- Each is a new
rulesyncToolfeature with arunoperation and structured results;doctorreturns its diagnostics as data andinstallwithoutdated: truereports instead of exiting. - Tokens come from the environment only; no MCP argument accepts one.
- Each is a new
- test(mcp): guard CLI/MCP parity with an explicit exclusion list by @dyoshikawa in #3597
- A test now fails when a CLI command or option lands without an MCP counterpart; the exclusions (
mcp,update,--watch,--interactive,--token, output flags) are documented in the MCP server reference.
- A test now fails when a CLI command or option lands without an MCP counterpart; the exclusions (
Contributors
Full Changelog: v40.0.0...v40.1.0