Is your feature request related to a problem? Please describe.
I'm coming from llama.cpp - localai fails on all my existing MCP servers. It appears the localai implementation of v1.5.0 of the mcp/go-sdk does not consider all permutations of transport/schema, currently hard-codes StreamableClientTransport and fails on 2025-06-18 stateless servers and SSE servers.
Describe the solution you'd like
Probe initialise, pick StreamableClientTransport{Stateless:false} for session-based 2025-11-25+, StreamableClientTransport{Stateless:true} for 2024-11-05/2025-03-26/2025-06-18, and fall back to SSEClientTransport
Describe alternatives you've considered
cleaner than a proxy - as should only be a single function (and the sdk is already in go.mod)
Additional context
Is your feature request related to a problem? Please describe.
I'm coming from llama.cpp - localai fails on all my existing MCP servers. It appears the localai implementation of v1.5.0 of the mcp/go-sdk does not consider all permutations of transport/schema, currently hard-codes StreamableClientTransport and fails on 2025-06-18 stateless servers and SSE servers.
Describe the solution you'd like
Probe initialise, pick StreamableClientTransport{Stateless:false} for session-based 2025-11-25+, StreamableClientTransport{Stateless:true} for 2024-11-05/2025-03-26/2025-06-18, and fall back to SSEClientTransport
Describe alternatives you've considered
cleaner than a proxy - as should only be a single function (and the sdk is already in go.mod)
Additional context