McpClientFactory
should accept an IClientTransport
instead of McpServerConfig
#82
Labels
enhancement
New feature or request
Currently, it is not possible to use
McpClientFactory
with custom transports. Instead, the factory accepts a genericMcpServerConfig
object that the factory uses to construct the right transport. This makes it difficult to spin up custom transports such as in-memory transports for testing purposes. We should consider removingMcpServerConfig
replacing it bespoke factories for each of the built-in client transport implementations.The text was updated successfully, but these errors were encountered: