Originally created by: Avazbek22
Connect the GUI and the MCP server so the human curates context visually and the agent consumes it live: open DevProjex, toggle ignore checkboxes, apply a filter, select files in the tree — and the MCP server serves exactly that selection to the AI right now. In the chat you just say "take the context and look at this bug"; the model sees precisely what is selected on screen at that moment.
This is a direction sketch, not a finished spec. It is the strongest v5.2 candidate because it builds on an asset no other packing MCP server has: a desktop context curator with a live tree, exclusion toggles, and token metrics. It also completes the product line "you control what the AI sees" in the most literal way — the ceiling for the agent becomes the user's live on-screen selection.
User in GUI: unchecks Tests/, applies a filter, selects 12 files
Agent: pack_context(...) (server started with --follow-gui)
Server: asks the running GUI over IPC for a snapshot of the effective selection
-> builds the pack from exactly those 12 files, mandatory redaction as always
Next call: user changed the selection meanwhile -> agent sees the new state
devprojex ui preview open, ui filter set, ui search set, ...) with instance addressing (--instance, --project) and bounded timeouts (Docs/Desktop-Control.md). Today the pipe is command-shaped (CLI -> GUI "do"); this feature adds the query direction (MCP -> GUI "what is selected?").--hide-private-data, --allow-remote); --follow-gui follows the same shape.devprojex mcp --follow-gui — the server resolves the effective selection from the running GUI for pack_context / analyze / get_tree. This alone is the demo: change a checkbox, the next agent call sees it.DPX-MCP-*, clear retry guidance). Does --follow-gui require --root to pin which project may be followed, or does the followed GUI instance define the root?paths/globs mean on top of a followed selection (presumably the usual narrowing), and is profile rejected in this mode?ui command timeouts.devprojex export context --follow-gui) for surface parity.--follow-gui changes where the baseline comes from, never what redaction does.