src / index.ts
import { type PluginContext } from "@lmstudio/sdk";
import { configSchematics } from "./configSchematics";
import { toolsProvider } from "./toolsProvider";
/**
* Entry point of the OneNote Retrieval plugin.
*
* Registers:
* - the configuration UI (how to launch local-onenote-mcp, page sizes), and
* - the tools provider that exposes paginated, non-truncating OneNote read tools.
*/
export async function main(context: PluginContext) {
context.withConfigSchematics(configSchematics);
context.withToolsProvider(toolsProvider);
}