[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:
parent
08b6a501ce
commit
2ce87b168c
1 changed files with 89 additions and 29 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
||||
import { registerAddTool } from "./add.js";
|
||||
import { registerEchoTool } from "./echo.js";
|
||||
import { registerGetTinyImageTool } from "./get-tiny-image.js";
|
||||
import { registerLongRunningOperationTool } from "./long-running-operation.js";
|
||||
import { registerPrintEnvTool } from "./print-env.js";
|
||||
import { registerSamplingRequestTool } from "./sampling-request.js";
|
||||
|
|
@ -14,6 +15,7 @@ import { registerToggleSubscriberUpdatesTool } from "./toggle-subscriber-updates
|
|||
export const registerTools = (server: McpServer) => {
|
||||
registerAddTool(server);
|
||||
registerEchoTool(server);
|
||||
registerGetTinyImageTool(server);
|
||||
registerLongRunningOperationTool(server);
|
||||
registerPrintEnvTool(server);
|
||||
registerSamplingRequestTool(server);
|
||||
|
|
|
|||
Loading…
Reference in a new issue