From 90d1b664eeedd7f19f739378eb788028d202a456 Mon Sep 17 00:00:00 2001 From: cliffhall Date: Sat, 13 Dec 2025 14:58:49 -0500 Subject: [PATCH] Update doc in server/index.ts --- src/everything/server/index.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/everything/server/index.ts b/src/everything/server/index.ts index 7cd15125..e8bfb7ef 100644 --- a/src/everything/server/index.ts +++ b/src/everything/server/index.ts @@ -22,12 +22,10 @@ export type ServerFactoryResponse = { * This function initializes a `McpServer` with specific capabilities and instructions, * registers tools, resources, and prompts, and configures resource subscription handlers. * - * It returns the server instance along with callbacks for post-connection setup and cleanup tasks. - * * @function - * @returns {ServerFactoryResponse} An object containing the server instance, a `clientConnected` callback - * for managing new client sessions, and a `cleanup` function for handling server-side cleanup when - * a session ends. + * @returns {ServerFactoryResponse} An object containing the server instance, a `clientConnected` + * callback for post-connection setup, and a `cleanup` function for handling server-side cleanup + * when a session ends. * * Properties of the returned object: * - `server` {Object}: The initialized server instance.