程序包的使用
com.github.codeboyzhou.mcp.declarative.annotation
程序包
说明
-
com.github.codeboyzhou.mcp.declarative.reflect使用的com.github.codeboyzhou.mcp.declarative.annotation中的类类说明This annotation is used to mark a method as an MCP (Model Context Protocol) prompt method.Annotation for marking methods that provide completion functionality for MCP prompts.This annotation is used to mark a method as an MCP (Model Context Protocol) resource method.Annotation for marking methods that provide completion functionality for MCP resources.This annotation is used to mark a method as an MCP (Model Context Protocol) tool method.
-
com.github.codeboyzhou.mcp.declarative.server.converter使用的com.github.codeboyzhou.mcp.declarative.annotation中的类类说明This annotation is used to mark a method parameter as an MCP (Model Context Protocol) prompt parameter.This annotation is used to mark a method parameter as an MCP (Model Context Protocol) tool parameter.