From 84b58759ed38ee4d0a35c78e31ec68ae894bce90 Mon Sep 17 00:00:00 2001 From: Glen Maddern Date: Fri, 27 Jun 2025 16:12:00 +1000 Subject: [PATCH] updated readme --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 6f94dbb..20eebaa 100644 --- a/README.md +++ b/README.md @@ -167,6 +167,7 @@ function useMcp(options: UseMcpOptions): UseMcpResult | `debug` | `boolean` | Whether to enable verbose debug logging | | `autoRetry` | `boolean \| number` | Auto retry connection if initial connection fails, with delay in ms | | `autoReconnect` | `boolean \| number` | Auto reconnect if an established connection is lost, with delay in ms (default: 3000) | +| `transportType` | `'auto' \| 'http' \| 'sse'` | Transport type preference: 'auto' (HTTP with SSE fallback), 'http' (HTTP only), 'sse' (SSE only) (default: 'auto') | #### Return Value