跳到主要内容
版本:Next

IMidwayMCPConfigurationOptions

Hierarchy

  • IConfigurationOptions
    • IMidwayMCPConfigurationOptions

Index

Properties

optionalappLogger

appLogger?: ILogger

optionalcontextLoggerApplyLogger

contextLoggerApplyLogger?: string

optionalcontextLoggerFormat

contextLoggerFormat?: any

optionalendpoints

endpoints?: { messages?: string; sse?: string; streamHttp?: string }

Endpoint paths for different transport types

optionallogger

logger?: ILogger

serverInfo

serverInfo: {}

serverOptions

serverOptions: ServerOptions

transportType

transportType: stdio | sse | stream-http

Transport type for MCP communication

  • 'stdio': Standard input/output transport for CLI applications
  • 'stream-http': HTTP-based transport with streaming support and backward compatibility with SSE
  • 'sse': Legacy SSE transport (deprecated, use 'stream-http' instead which provides backward compatibility)