RustManifest MCP tools
All tools are read-only and restricted to paths inside the MCP server’s
workspace root (its startup directory); paths outside the root are rejected —
fall back to the CLI for those. Methodology documents are also exposed as MCP
resources under rustmanifest://methodology/...; finding rationale URIs
resolve to them.
Prefer MCP tools when the server is connected: results arrive structured, no
shell quoting, no temp files. Prefer the CLI for: paths outside the root,
SARIF output, --expand/--scip/--resolution overlays, and very large
scopes you want to post-process with jq.
Review
review_file(path)— every bundled rule against one file; returns the findings list.review_path(path)— every bundled rule against a file or directory.check_rule(rule_id, path)— exactly one bundled rule against a path; use to re-run a single rule after a fix.lint_structure(path)— only the structural rules (RM-STRUCT-*), as a JSON array.
Knowledge
project_overview(path)— everything the engine knows about a path as one Markdown report: module map with cycle warnings, central types, behavioral roles, outside-world boundaries, most contended state, learned conventions.function_facts(path)— behavioral facts of every function under a path as a JSON array (reads, writes, constructions, error types, effects, parameter ownership, derived role).suppressions(path)— every inline suppression with whether the full bundled-rules run used it, and which silences went stale.deduce_trait(...)— deduce a trait impl for a workspace type and answer with the chain itself: one recorded fact per step, workspace precedent, the block installed in memory and confirmed by re-reading; nothing touches disk.derived_intents(path)— every intent the written calls prove: a call only an uninstalled ability can satisfy is the author’s stated intent, each record cites the function that wrote it.whence_value(...)— where the value a function hands back comes from: each written position cited with its byte range; refusals name candidates with their files.why_kept(...)— why the program keeps a store: the declaration that makes it a store, every verb proven at its own bytes, the routes serving it.learn_conventions(path)— per-role convention clauses as an auditable rule list; training is deterministic.
Explanation
explain_rule(rule_id)— identifier, title, severity, tier, rationale URI, and the methodology excerpt the URI resolves to.