Mix.Interactive.SupervisedShell (hermes_mcp v0.9.1)

Supervised shell for interactive MCP sessions with automatic restart capability.

This module provides a robust shell that monitors both the transport and client processes, automatically restarting them if they crash due to timeouts or other errors.

Summary

Functions

Starts a supervised interactive shell session.

Functions

start(opts)

Starts a supervised interactive shell session.

Options

  • :transport_module - The transport module (e.g., Hermes.Transport.StreamableHTTP)
  • :transport_opts - Options for starting the transport
  • :client_opts - Options for starting the client (excluding transport)
  • :max_restarts - Maximum number of automatic restarts (default: 3)