EU Parliament Monitor - API Documentation - v0.8.2
    Preparing search index...

    Class MCPHealthMonitor

    Monitors circuit breaker health across multiple MCP tools.

    Each tool is backed by its own CircuitBreaker instance; the monitor provides both per-tool access and aggregated health snapshots.

    Index

    Constructors

    Methods

    • Get or create the CircuitBreaker for the named tool.

      If the tool has not been registered yet a new breaker is created with the monitor's default options.

      Parameters

      • toolName: string

        Unique identifier for the MCP tool

      Returns CircuitBreaker

      The circuit breaker instance for the tool

    • Return the names of all registered tools.

      Returns readonly string[]

      Array of tool names

    Properties

    breakers: Map<string, CircuitBreaker> = ...
    defaultOptions: CircuitBreakerOptions