UNPKG

digital-samba-mcp-server

Version:

Digital Samba MCP Server - Model Context Protocol server for Digital Samba's video conferencing API

46 lines 1.67 kB
/** * Digital Samba MCP Server - HTTP Transport * * This module provides the HTTP transport implementation for the Digital Samba MCP Server. * It's designed for web applications, API integrations, and scenarios where full server * features like webhooks, metrics, and health checks are needed. * * @module http-transport * @author Digital Samba Team * @version 1.0.0 */ import { ServerOptions } from '../index.js'; /** * Configuration options specific to HTTP transport */ export interface HttpTransportOptions extends Partial<ServerOptions> { /** Port to run the HTTP server on */ port?: number; /** Enable all advanced features by default for HTTP mode */ enableAdvancedFeatures?: boolean; } /** * Run the Digital Samba MCP Server with HTTP transport * * This function sets up the server optimized for HTTP communication, * with full features enabled for production web environments. * * @param options - Configuration options for the HTTP transport * @returns Promise that resolves to the HTTP server instance */ export declare function runHttpServer(options?: HttpTransportOptions): Promise<any>; /** * Create HTTP server configuration without starting it * * This is useful for testing or when you need to customize the server * setup before starting it. * * @param options - Configuration options for the HTTP transport * @returns Server configuration object */ export declare function createHttpServerConfig(options?: HttpTransportOptions): any; /** * Validate HTTP transport configuration */ export declare function validateHttpConfig(options: HttpTransportOptions): void; //# sourceMappingURL=http-transport.d.ts.map