DEV Community

EvanLin | Contorium
EvanLin | Contorium

Posted on

Contorium MCP Dual-Mode Architecture Update

We introduced a structural split in MCP rendering and interaction layers.

Architecture Overview

  1. View Layer Separation
  • SimpleViewRenderer
    • Aggregated state snapshot
    • Reduced event frequency
    • UI flattening for readability
  • FullContextRenderer
    • Raw MCP event stream
    • State transitions exposed
    • Debug + reasoning trace support

  1. Interaction Modes

We added two system-level interaction profiles:

Passive Mode

  • Read-only system monitoring
  • No proactive suggestions
  • Event subscription only

Active Assistant Mode

  • Real-time inference triggers
  • Context-based suggestion injection
  • Optional workflow intervention layer

  1. Core Design Principle

We decouple:

  • System truth (MCP events)
  • User perception (rendered view)

This prevents UI overload while preserving full observability.

  1. Implementation Notes
  • Event bus remains unchanged
  • Only presentation + interaction policy layers modified
  • Backward compatible with existing MCP servers
  • No schema breaking changes

Direction

Next step:

  • Adaptive mode switching based on user behavior
  • Signal importance scoring layer
  • UI density auto-adjustment engine

https://www.contorium.dev/

https://github.com/ContoriumLabs/contorium

Top comments (0)