Documentation
¶
Overview ¶
Command lectern is the control plane: one binary that serves the API, the PWA and the scheduler that drives every dispatched agent.
Usage:
lectern run the control plane lectern up start a private local runtime, register a target/project, open the browser lectern doctor check tmux/git/agents/auth/TLS/push/hooks and print fixes lectern mcp speak MCP on stdio against a running control plane lectern relay run an end-to-end encrypted relay for phones (docs/relay.md) lectern version print the version
`lectern mcp --http` serves Lectern's MCP tool surface over the Streamable-HTTP web-connector transport (internal/mcp/http.go), so claude.ai's own cloud — not the owner's browser — can add Lectern as a custom connector and drive it from an ordinary chat: "start a Lectern session that builds this," "give my open session doing X this file."
Ported from grimoire-mcp's identical feature (github.com/JeremiahM37/grimoire/go/cmd/grimoire-mcp/main.go), the same owner's MIT-licensed sibling project, already live in production for the same problem: a hosted MCP client can only authenticate with whatever an OAuth 2.1 authorization-code-with-PKCE flow hands it, so this is what makes Lectern usable as a connector without a static header.
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package localruntime starts the per-user Lectern control plane used by the local CLI.
|
Package localruntime starts the per-user Lectern control plane used by the local CLI. |