fromTransport
Creates a ToolRegistry with tools from an MCP server using provided transport for communication.
This method establishes a connection to an MCP server through provided transport. It's typically used when the MCP server is running as a separate process (e.g., a Docker container or a CLI tool).
Return
A ToolRegistry containing all tools from the MCP server.
Parameters
The transport to use.
Information about the MCP server.
The name of the MCP client.
The version of the MCP client.
Deprecated
Use from fromTransport with `serverInfo`
Creates a ToolRegistry with tools from an MCP server using provided transport for communication.
This method establishes a connection to an MCP server through provided transport. It's typically used when the MCP server is running as a separate process (e.g., a Docker container or a CLI tool).
Return
A ToolRegistry containing all tools from the MCP server.
Parameters
The transport to use.
The name of the MCP client.
The version of the MCP client.