[WIP] Refactor everything server to be more modular and use recommended APIs.

* Added git-tiny-image.ts
  - registers a tool that returns a tiny MCP logo

* In all other tools, updated function docs
This commit is contained in:
cliffhall
2025-12-09 10:17:37 -05:00
parent 08b6a501ce
commit 2ce87b168c
10 changed files with 89 additions and 29 deletions

View File

@@ -21,9 +21,9 @@ const clients: Set<string | undefined> = new Set<string | undefined>();
* This tool enables or disables simulated resource update notifications for a client.
*
*
* Toggles the state of the updates based on whether the session is already active.
* When enabled, the simulated resource updates are sent to the client at a regular interval.
* When disabled, updates are stopped for the session.
* The registered tool toggles the state of the updates based on whether the session is already active.
* - When enabled, the simulated resource updates are sent to the client at a regular interval.
* - When disabled, updates are stopped for the session.
*
* The response provides feedback indicating whether simulated updates were started or stopped,
* including the session ID.