Skip to main content

Crate vestige_mcp

Crate vestige_mcp 

Source
Expand description

MCP adapter — six high-level tools over project memory (PRD §13.2).

Thin adapter crate: each tool maps 1:1 to a vestige-core or vestige-engine function. No SQL, no destructive defaults, no cross-project access. Errors are always structured {code, message, retryable} so coding agents can branch on them.

§Tool surface (PRD §13.2)

ToolFilePurpose
vestige_bootstraptools/bootstrap.rsStanding context at session start
vestige_searchtools/search.rsLexical / semantic / hybrid search
vestige_expandtools/expand.rsFull content at chosen depth
vestige_get_project_contexttools/project_context.rsBudget-bounded context pack
vestige_record_observationtools/record_observation.rsWrite a new observation
vestige_record_decisiontools/record_decision.rsWrite a new decision

§Entry point

run resolves the project config, opens the store, and starts the rmcp stdio server. vestige-cli calls this from its mcp subcommand.

Structs§

ExpandParams
GetCandidateParams
ListCandidatesParams
McpOptions
Options forwarded from vestige mcp CLI flags.
ProposeCandidateParams
ProposeSource
SearchParams
TraceParams
VestigeServer

Functions§

run