The invention discloses a man-
machine interaction method and
system based on MCP large
language model dynamic
graphical user interface generation, and relates to the field of man-
machine interaction, and the method comprises the steps that an intelligent back end maps an identified user interaction intention into a structured MCP
message frame through a protocol
encoder; after the rendering front end receives the
message frame, a virtual component structure tree is generated through strong type
protocol specification verification, an interface updating patch is obtained through difference calculation, and a local component is dynamically instantiated to generate a real-time
interaction interface; then capturing user operation, packaging the user operation into a state feedback message, returning the state feedback message to a rear end, triggering incremental reasoning of the model to determine whether to update an interface, and forming an intention-protocol-rendering-feedback interactive
closed loop; according to the method, dynamic interaction of generation and evolution of a large
language model interface along with
natural language dialogue is achieved, the stability and safety of generation are improved through protocol layer strong
verification, and low-
delay response and deep man-
machine cooperation are achieved through a difference rendering and event feedback mechanism.