McpServer

@Serializable
data class McpServer(val name: String? = null, val streamableHttpTransport: StreamableHttpTransport? = null)

A MCPServer is a server that can be called by the model to perform actions. It is a server that implements the MCP protocol. Next ID: 6. This data type is not supported in Vertex AI.

Constructors

Link copied to clipboard
constructor(name: String? = null, streamableHttpTransport: StreamableHttpTransport? = null)

Properties

Link copied to clipboard
val name: String? = null

The name of the MCPServer.

Link copied to clipboard

A transport that can stream HTTP requests and responses.