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
¶
- account.go
- agent_quick.go
- attach.go
- autonomy_overlay.go
- browser.go
- client.go
- demo.go
- doctor.go
- help.go
- listen.go
- local_cli.go
- main.go
- mcp_http.go
- native_attach.go
- native_bare.go
- native_bare_screen.go
- native_hints.go
- native_input_other.go
- native_links.go
- native_links_unix.go
- native_split.go
- native_status.go
- phone.go
- plugin.go
- pty.go
- recovery_checkpoint.go
- relay.go
- restore.go
- server_choice.go
- service.go
- service_other.go
- shell.go
- terminal_desktop.go
- terminal_tabs.go
- up.go
- update.go
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. |