UNPKG

pocketsmith-mcp

Version:

MCP server for managing budgets via PocketSmith API

15 lines (14 loc) 705 B
/** * @fileoverview Handles the registration of the `echo_message` tool with an MCP server instance. * This module defines the tool's metadata, its input schema shape, * and the asynchronous handler function that processes tool invocation requests. * @module src/mcp-server/tools/echoTool/registration */ import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; /** * Registers the 'echo_message' tool and its handler with the provided MCP server instance. * * @param server - The MCP server instance to register the tool with. * @returns A promise that resolves when the tool registration is complete. */ export declare const registerEchoTool: (server: McpServer) => Promise<void>;