API Reference
Modules
Section titled “Modules”| Module | Description |
|---|---|
| @ontrove/mcp | @ontrove/mcp — the thin standard library for authoring hosted Trove MCP servers. It owns the MCP protocol, JSON-RPC, schema validation, auth-context injection, secret access, and error envelopes, so authors write only the handlers (see the hosted-MCP SDK reference). |
| @ontrove/sdk | @ontrove/sdk — the thin standard library for authoring Trove connectors. You write a sync(ctx) that fetches from a source and returns documents; the SDK owns the document shape (which maps 1:1 onto IngestDocumentInput), the typed ctx capability object, the watermark/cursor model, the local-run harness the CLI drives, and manifest validation. |