类 McpEndpointSpec
java.lang.Object
com.alibaba.nacos.api.ai.model.mcp.McpEndpointSpec
AI MCP Server Endpoint Specification.
- 作者:
- xiweng.yy
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
-
字段详细资料
-
type
Endpoint type. Should beAiConstants.Mcp.MCP_ENDPOINT_TYPE_DIRECTorAiConstants.Mcp.MCP_ENDPOINT_TYPE_REF. -
data
Endpoint data. Depend on the `type`, the data should be different.If `type` is
AiConstants.Mcp.MCP_ENDPOINT_TYPE_DIRECT, the data should be include `address` and `port` to spec mcp server endpoint.If `type` is
AiConstants.Mcp.MCP_ENDPOINT_TYPE_REF, the data should be include `namespaceId`, `groupName` and `serviceName` to spec the ref server which already register into Nacos.
-
-
构造器详细资料
-
McpEndpointSpec
public McpEndpointSpec()
-
-
方法详细资料
-
getType
-
setType
-
getData
-
setData
-