Default transport type to HTTP instead of auto

This commit is contained in:
Glen Maddern 2025-06-26 09:49:14 +10:00
commit 4e4d9d99a3

View file

@ -57,7 +57,7 @@ const McpServerModal: React.FC<McpServerModalProps> = ({ 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