MCPGatewayConfiguration¶
Structure Class¶
MCPGatewayConfiguration
dataclass
¶
Bases: _SerdeShape
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 = ...
Specifies whether the gateway disables pagination 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. For information about changing this value
on an existing gateway, see
UpdateGateway.
instructions
class-attribute
instance-attribute
¶
instructions: str | 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: str | 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 = ...
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 = ...
The streaming configuration for the MCP gateway. This configuration controls whether response streaming is enabled for the gateway.