接口的使用
com.github.codeboyzhou.mcp.declarative.server.McpServer
使用McpServer的程序包
-
com.github.codeboyzhou.mcp.declarative.server中McpServer的使用
修饰符和类型类说明classAbstractMcpServer<S extends McpServerInfo>This abstract class is used to provide a base implementation for an MCP server.classThis class is used to create a new instance ofMcpSseServerbased on the specifiedMcpSseServerInfoin HTTP SSE mode.classThis class is used to create a new instance ofMcpStdioServerbased on the specifiedMcpServerInfoin STDIO mode.classThis class is used to create a new instance ofMcpStreamableServerbased on the specifiedMcpStreamableServerInfoin Streamable HTTP mode.