Terminal Editor Ships an MCP Server So Agents Can Add Their Own UI at Runtime
Either_Recognition12 · reddit · 2026-11-28
The author built a terminal editor where everything except the terminal is an extension, and it starts an MCP server by default so any coding assistant (Claude Code, opencode, pi, ...) can connect and modify it while running.
What an agent can do over MCP
- Write a new extension (panels on left/right/top/bottom, toolbars, status items, commands) and get the load result back to know immediately if it works
- Copy a built-in and modify it
- Read and type into the terminal
- Show generated UI in a canvas panel
- Switch color schemes, change config, edit Markdown docs
No rebuild needed; the UI reloads within a second and shells keep running. Every change is a git snapshot for rollback, plus a safe mode with only built-ins.
Stack: Tauri 2, Rust, xterm.js, Ghostty color schemes; Linux only for now. Next up: extensions opening their own views in the main area, like a Markdown or graph editor next to terminal tabs. The author wants feedback on the MCP tool design.
More from coding & agent
- Team bets on iLands agent economy with stakes to counter closed-loop collapse — profjamesevans · 2026-12-06
- Running but dead: a 2-minute TCP watchdog for services restart policies can't save — petrusenko_max · 2026-12-06
- 20 Useful Hermes Plugins Across Work, Life, Creative, and Money, Curated From ~3,000 — alexcovo_eth · 2026-12-06
- Perplexity Teammates: 1M+ automations in first month, already 20% of credit revenue — inductionheads · 2026-12-06
- I built 60+ business automations. 38 of 63 survived — here's what the winners did differently — Beautiful-Radish-624 · 2026-12-06
- Dev still hand-writes 0.1-1% of code to keep a 'human touch' in the AI era — rachittshah · 2026-12-06