pocketsmith-mcp
Version:
MCP server for managing budgets via PocketSmith API
15 lines (14 loc) • 700 B
TypeScript
/**
* @fileoverview Handles the registration of the `echo` resource with an MCP server instance.
* This module defines the resource's template, metadata, and the asynchronous handler
* that processes `resources/read` requests.
* @module src/mcp-server/resources/echoResource/registration
*/
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
/**
* Registers the 'echo' resource and its handlers with the provided MCP server instance.
*
* @param server - The MCP server instance to register the resource with.
* @returns A promise that resolves when the resource registration is complete.
*/
export declare const registerEchoResource: (server: McpServer) => Promise<void>;