OptionalapiOverride the IMF REST base URL (default: DEFAULT_IMF_API_BASE_URL).
OptionaltimeoutPer-request timeout in milliseconds (default: DEFAULT_IMF_API_TIMEOUT_MS).
OptionalfetchOptional fetch implementation injection for testing.
Optionalinit: RequestInitOptionalinit: RequestInitOptionalserverOptionalmaxOptionalconnectionOptionalmaxMaximum retries for callToolWithRetry() (default: 2)
OptionalgatewayMCP Gateway URL for HTTP transport (e.g., http://host.docker.internal:80/mcp/european-parliament)
OptionalgatewayAPI key for MCP Gateway authentication
OptionalserverHuman-readable server name used in operational log messages (default: 'European Parliament MCP Server')
OptionalpendingPath 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.
Options accepted by IMFMCPClient. Shape intentionally matches MCPClientOptions for historical compatibility — fields unused by the native HTTP transport (
serverPath,gatewayUrl,gatewayApiKey,maxConnectionAttempts,connectionRetryDelay) are accepted and silently ignored so existing call-sites do not break.