Update doc in tools/toggle-subscriber-updates.ts

This commit is contained in:
cliffhall
2025-12-13 15:18:15 -05:00
parent b8074f9b9c
commit 45ea1e21f9

View File

@@ -19,7 +19,7 @@ const clients: Set<string | undefined> = new Set<string | undefined>();
/**
* Registers the `toggle-subscriber-updates` tool with the provided MCP server.
*
* The registered tool toggles the state of the updates based on whether the session is already active.
* The registered tool toggles the state of the simulated resource update mechanism for the client.
* - When enabled, the simulated resource updates are sent to the client at a regular interval.
* - When disabled, updates are stopped for the session.
*