/** * Server Configuration Types * Defines options interfaces for server creation and startup functions */ /** * Options for creating an MCP server instance */ export interface ServerOptions { /** API hostname to proxy requests to */ hostname: string; /** Bearer token for authentication */ bearerToken: string; /** Emulate resources via tools instead of native MCP resources */ emulateResourcesViaTools?: boolean; } /** * Options for starting the MCP server in stdio mode */ export interface StdioServerOptions { /** Bearer token for API authentication */ bearerToken: string; /** Target API hostname */ hostname: string; /** Emulate resources via tools instead of native MCP resources */ emulateResourcesViaTools?: boolean; } /** * Options for starting the MCP server in HTTP mode */ export interface HttpServerOptions { /** Port to listen on */ port: number; /** Emulate resources via tools instead of native MCP resources (for all requests) */ emulateResourcesViaTools?: boolean; } //# sourceMappingURL=types.d.ts.map