Add @deprecated annotations to legacy APIs (#1018)
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
parent
664e66e575
commit
216604720b
1 changed files with 17 additions and 0 deletions
|
|
@ -101,6 +101,7 @@ export type ServerOptions = ProtocolOptions & {
|
|||
* version: "1.0.0"
|
||||
* })
|
||||
* ```
|
||||
* @deprecated Use `McpServer` instead for the high-level API. Only use `Server` for advanced use cases.
|
||||
*/
|
||||
export class Server<
|
||||
RequestT extends Request = Request,
|
||||
|
|
|
|||
Loading…
Reference in a new issue