Make McpClientFactory
accept an IClientTransport
directly instead of McpServerConfig
#190
Labels
enhancement
New feature or request
Originally posted by @stephentoub in #181
Spinning off this conversation into a new issue. What I have in mind roughly is change the
McpClientFactory
signature to be the following:Then exposing bespoke configuration options for individual transports
This seems perfectly doable, the only blocker in my view is that
ITransport
instances are currently stateful. For this to work best we need to be able to offload all their state in session objects created by the client factory. cc @halter73The text was updated successfully, but these errors were encountered: