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¶
disable_mcp_list_tools_pagination
class-attribute
instance-attribute
¶
disable_mcp_list_tools_pagination: bool | None = None
Specifies whether pagination is disabled for the Model Context Protocol
(MCP) tools/list operation. When set to true, the gateway returns
the complete list of tools in a single response without a pagination
cursor. When set to false or omitted, the gateway returns tools in
paginated responses.
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: str | 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.