Skip to content

MCPGatewayConfigurationDict

Dictionary Type

MCPGatewayConfigurationDict

Bases: TypedDict

Dictionary form of MCPGatewayConfiguration.

Attributes

disable_mcp_list_tools_pagination 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 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 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 instance-attribute
session_configuration: SessionConfiguration | SessionConfigurationDict | None

The session configuration for the MCP gateway. This configuration controls session behavior, including session timeout settings.

streaming_configuration instance-attribute
streaming_configuration: StreamingConfiguration | StreamingConfigurationDict | None

The streaming configuration for the MCP gateway. This configuration controls whether response streaming is enabled for the gateway.

supported_versions instance-attribute
supported_versions: Sequence[str] | None

The supported versions of the Model Context Protocol. This field specifies which versions of the protocol the gateway can use.