import { FastifyInstance } from 'fastify'; /** * MCP Server Management API Routes (v1.1 format) * * Provides comprehensive CRUD (Create, Read, Update, Delete) operations for managing MCP (Model Context Protocol) servers * and their runtime instances within the MCP Hub Lite system. This module serves as the primary interface for * server configuration management, process control, and bulk operations. * * The API supports both static server template configuration and dynamic * instance management (controlling actual running server processes). It includes sophisticated validation * using Zod schemas to ensure configuration integrity and provides detailed error handling with appropriate * HTTP status codes. * * Key features include: * - Full CRUD operations for server templates * - Instance-level management for running server processes * - Batch import/export capabilities for server configurations * - Automatic server startup based on enabled status * - Comprehensive validation using Zod schemas * - Detailed error handling with appropriate HTTP status codes * - Support for multiple server types (stdio, sse, streamable-http) * * @param fastify - The Fastify instance to register routes on * @returns Promise that resolves when all routes are registered * * @example * ```typescript * // Register server management routes * await webServerRoutes(app); * ``` */ export declare function webServerRoutes(fastify: FastifyInstance): Promise; //# sourceMappingURL=servers.d.ts.map