OptionalapiOverride the IMF REST base URL.
OptionaltimeoutPer-request timeout in milliseconds.
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')
IMF client connection options, as accepted by the native TypeScript SDMX 3.0 REST client in
src/mcp/imf-mcp-client.ts.Extends MCPClientOptions so existing call-sites that pass the shared base options continue to compile, but adds the three fields actually consumed by the native HTTP transport:
apiBaseUrl— override the IMF REST base URL (defaulthttps://dataservices.imf.org/REST/SDMX_3.0).timeoutMs— per-request timeout in milliseconds.fetchImpl— optionalfetchinjection for tests.The inherited legacy MCP transport fields (
serverPath,gatewayUrl,gatewayApiKey,maxConnectionAttempts,connectionRetryDelay) are accepted for backwards compatibility but ignored by the native client — they date from the earlierc-cf/imf-data-mcpproxy transport and are retained only so existing callers do not break.