Package io.modelcontextprotocol.server
Class McpServerFeatures
java.lang.Object
io.modelcontextprotocol.server.McpServerFeatures
MCP server features specification that a particular server can choose to support.
- Author:
- Dariusz Jędrzejczyk, Jihoon Kim
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordSpecification of a completion handler function with asynchronous execution support.static final recordSpecification of a prompt template with its asynchronous handler function.static final recordSpecification of a resource with its asynchronous handler function.static final recordSpecification of a tool with its asynchronous handler function.static final recordSpecification of a completion handler function with synchronous execution support.static final recordSpecification of a prompt template with its synchronous handler function.static final recordSpecification of a resource with its synchronous handler function.static final recordSpecification of a tool with its synchronous handler function. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
McpServerFeatures
public McpServerFeatures()
-