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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordRegistration of a prompt template with its asynchronous handler function.static final recordRegistration of a resource with its asynchronous handler function.static final recordRegistration of a tool with its asynchronous handler function.static final recordRegistration of a prompt template with its synchronous handler function.static final recordRegistration of a resource with its synchronous handler function.static final recordRegistration of a tool with its synchronous handler function. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
McpServerFeatures
public McpServerFeatures()
-