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.
14 lines • 710 B
TypeScript
/**
* @fileoverview Handles registration of the `fetch_image_test` tool.
* This module acts as the "handler" layer, connecting the pure business logic to the
* MCP server and ensuring all outcomes (success or failure) are handled gracefully.
* @module src/mcp-server/tools/imageTest/registration
* @see {@link src/mcp-server/tools/imageTest/logic.ts} for the core business logic and schemas.
*/
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
/**
* Registers the fetch_image_test tool with the MCP server.
* @param server - The McpServer instance.
*/
export declare const registerFetchImageTestTool: (server: McpServer) => Promise<void>;
//# sourceMappingURL=registration.d.ts.map