Skip to content

API Reference

ModuleDescription
@ontrove/extend/source@ontrove/extend/source — the shared vocabulary for Trove sources: scheduled adapters that fetch content into a knowledge base. A source exports a sync(ctx) that returns documents; this package owns the shapes both ends of that call agree on.
@ontrove/extend/toolkit@ontrove/extend/toolkit — 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).