ExAthena.Mcp.Supervisor (ExAthena v0.7.1)

Copy Markdown View Source

Supervises one ExAthena.Mcp.Server per enabled MCP server config entry, plus the ExAthena.Mcp.Registry.

Started by ExAthena.Application when config :ex_athena, enable_mcp: true (the default). Returns :ignore when no servers are configured.

Each Server child uses :transient restart with max_restarts: 3 per 60-second window, so persistent failures surface via list_servers/0 without crash-looping the supervisor.

Summary

Functions

Returns a specification to start this module under a supervisor.

Start the supervisor. Returns :ignore when no servers are configured.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(opts \\ [])

Start the supervisor. Returns :ignore when no servers are configured.