Lutra/crates/engine/src
danny 0e56c22b66 M3.8: MCP server lutra mcp
- crates/mcp (L5): JSON-RPC 2.0 over stdio, dual era: MCP 2026-07-28
  (per-request _meta, server/discover, -32022) and legacy initialize
  (2025-11-25, 2025-06-18, 2025-03-26, 2024-11-05). Tools list_commands,
  execute_command (app.quit only with confirm: true), screenshot (image
  content), read_buffer, get_events (ring of 1000 events via
  events.subscribe); resources lutra://buffer/<path> for open buffers.
  Engine errors become tool errors with the engine code. Lines capped at
  16 MiB, guard around every request, parser and tool args fuzzed.
- lutra mcp [--port PORT] [--no-start] in apps/lutra-cli: connects through
  the rendezvous file and token, or starts Lutra.
- Engine: read-only buffer.list command.
- Tests: protocol units + proptest fuzz, integration over the token
  listener, stdio end to end. Docs: architecture (MCP), G7, ROADMAP.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 20:43:12 +02:00
..
cmd M3.8: MCP server lutra mcp 2026-10-20 20:43:12 +02:00
buffers.rs M1.7: crash-recovery journal and restore dialog 2026-10-16 15:56:41 +02:00
command.rs M1.8: command palette, global keymap, UI commands 2026-10-16 16:59:43 +02:00
engine.rs M3.8: MCP server lutra mcp 2026-10-20 20:43:12 +02:00
error.rs M1.3: engine workspace, file and buffer commands, event stream 2026-10-14 20:24:44 +02:00
event.rs M3.1: PHP detection and pinned Phpactor download 2026-10-18 11:30:57 +02:00
guard.rs M0.6: command registry, guard, theme tokens, app.about and app.quit 2026-10-14 06:40:15 +02:00
journal.rs M1.7: crash-recovery journal and restore dialog 2026-10-16 15:56:41 +02:00
lib.rs M2.3: find in files backend 2026-10-16 22:04:28 +02:00
registry.rs M1.8: command palette, global keymap, UI commands 2026-10-16 16:59:43 +02:00
settings.rs M3.1: PHP detection and pinned Phpactor download 2026-10-18 11:30:57 +02:00
state.rs M3.1: PHP detection and pinned Phpactor download 2026-10-18 11:30:57 +02:00
theme.rs M2.2: PHP highlighting, syntax colour tokens and editor.reveal 2026-10-17 12:17:17 +02:00
workspace.rs M2.5: symbol index and go-to commands 2026-10-17 12:53:33 +02:00