-
v0.59.0
Stablereleased this
2026-09-29 02:12:33 -07:00 | 63 commits to master since this releaseMCP read-only mode
PLAN §11, the owner's request of 2026-09-29: one binary, two modes.
(docs/features/mcp-read-only.)lucisv-mcp --read-onlyoffers exactly the five read tools —
hierarchy,find,outline,read,check, in that order, with the
same descriptions and schemas as full mode. The model-visible catalogue is
1 797 bytes (budget ≤ 1 800) and the instructions 297 bytes (≤ 300), both
pinned bytests/read_only.rs.- The mode filters the tool registry:
tools/callofrename,port,
edit_itemorformatis the unknown-tool error (-32602,
unknown tool: rename (the server runs --read-only)); no edit handler is
reachable. Resources answer as in full mode. - No write inside a root, whatever is called: a test snapshots every
path, size and mtime (directories too) of a fixture copy, calls every
full-catalogue tool name (the four edits with valid edit arguments, which
a control test shows do write in full mode) and every resource, and finds
the snapshot unchanged after the server exits. The server's own index
store under--index-cacheis still written (outside the roots unless
--index-cachenames a directory inside one). - Full mode is byte-identical to 0.58.0 on the wire (
initialize,
tools/list); only the usage line gains[--read-only]. - Extension: setting
lucisv.mcp.mode("full"default,"read-only")
— the definition gains--read-onlyand the label becomes
lucisv read-only (<folder>); a change of the setting re-announces the
servers. lucisv: Copy MCP server config follows it (server key
lucisv-ro, args ending--read-only, the message names the mode). editors/vscode/mcp_smoke.js <binary> --read-onlysmokes the mode (five
tools, onehierarchy,renamerefused, files untouched);
tools/release.shruns both smokes on the host binary and on the one
embedded in the package.hierarchycaps at 300 instances, 100 withpeek;peeklines no
longer count toward the cap (census round 5:prim_fifo_syncup with
peek showed 20 of 77 instantiations). Withoutpeekthe answer is
unchanged.
Downloads