Summary
Expose inventory discovery via REST API with the same privacy flags as the CLI.
Problem
src/mcts/api/ has scan endpoints but no inventory operation. CLI privacy controls from #87 / PR #279 are CLI-only:
| CLI flag |
Behavior |
--paths-only |
List paths, no parse |
--config-path |
Single-file scope |
--redact-paths |
Redact home in entries/skills (default inventory JSON) |
Expected Behavior
POST /inventory (or equivalent) accepting paths_only, config_path, redact_paths; MCTS_API_KEY auth; documented threat model aligned with docs/platform/rest-api.md live consent section.
References
Acceptance Criteria
Summary
Expose inventory discovery via REST API with the same privacy flags as the CLI.
Problem
src/mcts/api/has scan endpoints but no inventory operation. CLI privacy controls from #87 / PR #279 are CLI-only:--paths-only--config-path--redact-pathsExpected Behavior
POST /inventory(or equivalent) acceptingpaths_only,config_path,redact_paths;MCTS_API_KEYauth; documented threat model aligned withdocs/platform/rest-api.mdlive consent section.References
mcts inventoryreads local MCP configs without consent gate #87 / PR feat(inventory): add privacy controls for config discovery (#87) #279 — CLI reference implementationdocs/platform/rest-api.mdAcceptance Criteria