Raxol.MCP.Supervisor (Raxol MCP v2.8.0)

Copy Markdown View Source

Supervision tree for the MCP subsystem.

Starts the client's shared table owner, the Registry and the Server. The stdio transport is NOT started automatically (it takes over stdin/stdout) -- use mix mcp.server or start it explicitly.

Children (rest_for_one)

  1. Raxol.MCP.Client.Tables -- the per-origin era verdicts and circuit breakers the HTTP client transport shares between clients. First, so that a Registry or Server restart does not discard state that belongs to neither of them (ADR-0037 decision 2).
  2. Raxol.MCP.Registry -- ETS-backed tool/resource store
  3. Raxol.MCP.Server -- transport-agnostic message router

Summary

Functions

Returns a specification to start this module under a supervisor.

Start the MCP supervisor.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(opts \\ [])

@spec start_link(keyword()) :: Supervisor.on_start()

Start the MCP supervisor.