-
Notifications
You must be signed in to change notification settings - Fork 150
Open
Labels
enhancementNew feature or requestNew feature or request
Description
The current implementation of Server focuses on a low-level interface. API consumers create a server instance with defined capabilities, call withMethodHandler and pass a closure that's called in response to requests of the specified type. This is in line with the TypeScript SDK's low-level interface.
It'd be nice to provide a simpler, high-level API for use cases that don't require this level of control. Looking again at the TS SDK, we could provide an alternative interface that let API consumers specify the prompts, resources, and/or tools to serve, and let the implementation take care of the rest (including automatically determining capabilities #12).
lin72h
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request