-
v0.58.0
Stablereleased this
2026-09-24 03:00:54 -07:00 | 67 commits to master since this releaseThe lean MCP catalogue: nine tools, short answers, trusted writes
The census (
mcp_analysis.md) found the server right on every run and
dearer than plain file reads on every small task: a 5 400-token catalogue
read each session, answers carrying more than the question, and agents
dry-running what they were told to trust. PLAN §10 is the owner's ruling:
accuracy over breadth. (docs/features/mcp-lean-catalogue.)- Nine tools, in this order:
hierarchy,find,outline,read,
check,rename,port,edit_item,format. The model-visible
catalogue (name, description, schema of every tool) is 3 440 bytes, was
17.9 kB; theinitializeinstructions are 398 bytes. Both budgets
(≤ 3 500 and ≤ 400) and the names and order are pinned bytests/wire.rs.
Notitle, nostructuredContent(a result is its text), no
per-argument descriptions; the schemas aretype(andenum) only. hierarchy— withoutroot:N files, M modules, K topand each
top asname file:line; withroot: the instance tree (depth1–20,
default 1), every instance at its instantiation site;up: every
instantiation, all levels todepth;peek: each statement's source.
Opentitan'stop_earlgreynames 0.57.0's instance set, pinned.find— every declaration of a name (orunit.name), macros
included, askind name file:line;refsadds each declaration's uses
one file per line (file:120,133) and the unresolved mentions.outline(fileorunit),read(one item; design-wide
withoutfile),check(file:line:col severity message [rule],
errors first,okwhen clean — the 0.57.0diagnosticsline set).rename(by name;fileandname@LINEpick a declaration),
port(addafterafter, orremove, in every instantiation),
edit_item(replace,insert_before,insert_after,delete—
the M4 verifier unchanged;deletehas noforceany more),format
(a path, directory or glob;fixapplies the safe lint fixes first; a
file the formatter refuses is named, the rest written).- Census round 4 (
mcp_analysis.md): on the same four OpenTitan tasks
the lean server answered every run correctly, at parity with plain file
tools on the whole-design questions (task a −1 %, task d −0.4 % over two
runs) and +9…+10 % on the two small edits (was +15…+25 % in round 1). - Gone from the wire:
dry_run,limit,offset,in,template,
overrides,force, and the toolsproject_overview,list_units,
unit_interface,read_item,search_symbols,defines,definition,
references,diagnostics,fix_lint,expand_wildcard,
convert_ports,organize_imports,inline_module,propagate_ports,
remove_port,add_port,extract_module,replace_item,
insert_item,delete_item,instantiate(the engines stay in the CLI
and the language server). Answers are capped (300 lines;check200)
with one… and N moreline.
Downloads
- Nine tools, in this order: