MCPGatewayConfiguration¶
Structure Class¶
MCPGatewayConfiguration
dataclass
¶
The configuration for a Model Context Protocol (MCP) gateway. This structure defines how the gateway implements the MCP protocol.
Attributes¶
instructions
class-attribute
instance-attribute
¶
The instructions for using the Model Context Protocol gateway. These instructions provide guidance on how to interact with the gateway.
search_type
class-attribute
instance-attribute
¶
search_type: SearchType | None = None
The search type for the Model Context Protocol gateway. This field specifies how the gateway handles search operations.
session_configuration
class-attribute
instance-attribute
¶
session_configuration: SessionConfiguration | None = None
The session configuration for the MCP gateway. This configuration controls session behavior, including session timeout settings.
streaming_configuration
class-attribute
instance-attribute
¶
streaming_configuration: StreamingConfiguration | None = None
The streaming configuration for the MCP gateway. This configuration controls whether response streaming is enabled for the gateway.