Sharing live Java app state between the model and UI via MCP Apps

Sea-Faithlessness-67 · reddit · 2026-08-19

The author experiments with MCP Apps using Spring Boot, Spring AI and webforJ: a routed Java view is exposed as both an MCP tool and a UI resource, so the model operates on the live application the user is looking at — not a disposable generated interface.

Key points:

The author (disclosing they work on webforJ) asks whether sharing one live application state between human UI and model beats generating a separate UI per turn.

Original post →

More from coding & agent

coding & agent channel →