MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / getVault

Function getVault

apps/desktop/src/mcp/server.ts:800–803  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

798 // but every tool call will report the missing-vault error.
799 let vaultPromise: Promise<string> | null = null
800 const getVault = (): Promise<string> => {
801 if (!vaultPromise) vaultPromise = resolveVaultRoot()
802 return vaultPromise
803 }
804
805 const instructions = await resolveInstructions()
806 const server = new Server(

Callers 1

runMcpServerFunction · 0.85

Calls 1

resolveVaultRootFunction · 0.85

Tested by

no test coverage detected