EU Parliament Monitor — API Documentation - v0.8.49
    Preparing search index...

    Interface MCPClientOptions

    MCP client options

    interface MCPClientOptions {
        serverPath?: string;
        maxConnectionAttempts?: number;
        connectionRetryDelay?: number;
        maxRetries?: number;
        gatewayUrl?: string;
        gatewayApiKey?: string;
        serverLabel?: string;
        pendingDocumentsStorePath?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    serverPath?: string
    maxConnectionAttempts?: number
    connectionRetryDelay?: number
    maxRetries?: number

    Maximum retries for callToolWithRetry() (default: 2)

    gatewayUrl?: string

    MCP Gateway URL for HTTP transport (e.g., http://host.docker.internal:80/mcp/european-parliament)

    gatewayApiKey?: string

    API key for MCP Gateway authentication

    serverLabel?: string

    Human-readable server name used in operational log messages (default: 'European Parliament MCP Server')

    pendingDocumentsStorePath?: string

    Path to the pending-documents sidecar JSON file used for UPSTREAM_404 indexing-lag retry scheduling. Defaults to <cwd>/data/pending-documents.json. Override for test isolation or custom deployment layouts.