Documentation
¶
Overview ¶
Package mcpserver exposes vault operations as MCP tools over the Streamable HTTP transport (PHY-111). It is a thin, deterministic layer: every tool maps 1:1 to a vault/index operation, and the tool surface is deliberately small (~15 tools) to keep agent context cheap.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Deps ¶
type Deps struct {
Vault *vault.Vault
Index *vault.Index
Searcher vault.Searcher
Structure vault.Structure
Version string
// Curator registers the suggest_*/find_* context tools (VELLUM_CURATOR).
Curator bool
// note takes its link along, a deleted one loses it. Set whenever
// sharing is enabled at all, independently of ShareTools.
Shares *share.Store
ShareTools bool
// WebsiteURL is the server's public URL, advertised in the MCP server info.
WebsiteURL string
}
Deps are the vault-layer collaborators of the MCP server.