MCP setup per client
The OELTKit MCP server (@oeltkit/mcp) exposes the toolkit as tools, so you author conversationally — no shell, no copy-pasting CLI output into chat. Tools operate on course names in a managed directory (default ~/Documents/OELTKit Courses/), never raw file paths.
The tools
Section titled “The tools”scaffold_course, get_course, update_structure, add_page, update_page, list_components, get_component_doc, validate, preview, package_course, export_course / import_course, set_theme.
A good authoring loop:
scaffold_course(name + title + targets).list_components→get_component_docfor any component before writing it into a page — the doc has the canonical markup, so don’t guess attributes.add_page/update_pageto build the content.validate— read each finding’smessage_human; it tells you exactly what to fix.- Fix and re-
validateuntil clean. previewto eyeball it, thenpackage_coursefor the LMS (orexport_coursefor a.oeltcourse).
Claude Desktop
Section titled “Claude Desktop”Build the desktop bundle and install it:
npm run build:mcpb -w @oeltkit/mcpThis produces packages/mcp/dist/oelt-mcp.mcpb. Open it in Settings → Extensions → Install. The bundle is self-contained (specs, schema, runtime, and harness are all included) and works with no repo checkout. You can set a custom courses folder during install.
Claude Code
Section titled “Claude Code”npm run build -w @oeltkit/mcpclaude mcp add oelt -- node /abs/path/packages/mcp/dist/esm/index.jsAny stdio host
Section titled “Any stdio host”Run the server with:
node <path>/dist/esm/index.jsSet the OELT_COURSES_DIR environment variable to relocate the managed courses folder.