Update doc in server/index.ts
This commit is contained in:
parent
90d1b664ee
commit
cb5f70cf20
1 changed files with 0 additions and 1 deletions
|
|
@ -22,7 +22,6 @@ export type ServerFactoryResponse = {
|
||||||
* This function initializes a `McpServer` with specific capabilities and instructions,
|
* This function initializes a `McpServer` with specific capabilities and instructions,
|
||||||
* registers tools, resources, and prompts, and configures resource subscription handlers.
|
* registers tools, resources, and prompts, and configures resource subscription handlers.
|
||||||
*
|
*
|
||||||
* @function
|
|
||||||
* @returns {ServerFactoryResponse} An object containing the server instance, a `clientConnected`
|
* @returns {ServerFactoryResponse} An object containing the server instance, a `clientConnected`
|
||||||
* callback for post-connection setup, and a `cleanup` function for handling server-side cleanup
|
* callback for post-connection setup, and a `cleanup` function for handling server-side cleanup
|
||||||
* when a session ends.
|
* when a session ends.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue