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
¶
instructions: str | None = field(repr=False, default=None)
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.
supported_versions
class-attribute
instance-attribute
¶
supported_versions: list[str] | None = None
The supported versions of the Model Context Protocol. This field specifies which versions of the protocol the gateway can use.