Interface: DocStore
Defined in: packages/mcp/src/content.ts:21
Properties
| Property | Type | Defined in |
|---|---|---|
entries | DocEntry[] | packages/mcp/src/content.ts:22 |
Methods
allDocs()
allDocs(): Doc[];Defined in: packages/mcp/src/content.ts:26
Load every page (cached after first call).
Returns
Doc[]
getDoc()
getDoc(path): Doc;Defined in: packages/mcp/src/content.ts:24
Load a single page by manifest path. Throws on unknown paths.
Parameters
| Parameter | Type |
|---|---|
path | string |