From 4e4d9d99a3f460400206a1d04d17ce283645f304 Mon Sep 17 00:00:00 2001 From: Glen Maddern Date: Thu, 26 Jun 2025 09:49:14 +1000 Subject: [PATCH] Default transport type to HTTP instead of auto --- examples/chat-ui/src/components/McpServerModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/chat-ui/src/components/McpServerModal.tsx b/examples/chat-ui/src/components/McpServerModal.tsx index a168882..d629e5a 100644 --- a/examples/chat-ui/src/components/McpServerModal.tsx +++ b/examples/chat-ui/src/components/McpServerModal.tsx @@ -57,7 +57,7 @@ const McpServerModal: React.FC = ({ isOpen, onClose, onTool }) const [transportType, setTransportType] = useState<'auto' | 'http' | 'sse'>(() => { const stored = localStorage.getItem('mcpTransportType') - return (stored as 'auto' | 'http' | 'sse') || 'auto' + return (stored as 'auto' | 'http' | 'sse') || 'http' }) // Helper to cycle through transport types