Package io.modelcontextprotocol.server
Class McpStatelessServerFeatures
java.lang.Object
io.modelcontextprotocol.server.McpStatelessServerFeatures
MCP stateless server features specification that a particular server can choose to
support.
- Author:
- Dariusz Jędrzejczyk, Christian Tzolov
-
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
-
McpStatelessServerFeatures
public McpStatelessServerFeatures()
-