MCP Session Lifecycle
Manages and troubleshoots the complex lifecycle of Model Context Protocol (MCP) server sessions within the nteract ecosystem.
This skill provides comprehensive guidance on the nteract Model Context Protocol (MCP) session management system, detailing the interactions between the process supervision proxy, the session state layer, and the daemon room layer. It is specifically designed for developers working on runt-mcp and runt-mcp-proxy to help them navigate the session state machine, handle background rejoin races, and implement safe concurrency patterns using Rust's Arc and RwLock. By explaining the nuances of daemon events, heartbeat gating, and room eviction, this skill ensures robust session stability and prevents common mistakes like lock contention or phantom room creation.