Package dev.tachyonmcp.api.server
Interface ServerFeature<D extends ServerFeature.Descriptor>
- Type Parameters:
D- the descriptor type for this feature
- All Known Subinterfaces:
ToolHandler
- All Known Implementing Classes:
AbstractToolHandler,EchoToolHandler,ResourceTemplateEntry,TaskEntry,YouComSearchTool
public interface ServerFeature<D extends ServerFeature.Descriptor>
Common interface for server features (tools, resources, prompts, tasks).
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interface -
Method Summary
Modifier and TypeMethodDescriptionReturns the metadata descriptor for this feature.
-
Method Details
-
descriptor
D descriptor()Returns the metadata descriptor for this feature.- Returns:
- the descriptor
-