mcp-ts-template
Version:
A production-grade TypeScript template for building robust Model Context Protocol (MCP) servers, featuring built-in observability with OpenTelemetry, advanced error handling, comprehensive utilities, and a modular architecture.
13 lines • 637 B
TypeScript
/**
* @fileoverview Handles the registration of the `echo` resource with an MCP server instance.
* @module src/mcp-server/resources/echoResource/registration.ts
* @see {@link src/mcp-server/resources/echoResource/logic.ts} for the core business logic and schemas.
*/
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.
*/
export declare const registerEchoResource: (server: McpServer) => Promise<void>;
//# sourceMappingURL=registration.d.ts.map