StreamableHttpTransport

object
typestringrequired

Transport type

Allowed values:streamable-http

Example:streamable-http

urlstringrequired

URL template for the streamable-http transport. Variables in {curly_braces} are resolved based on context: In Package context, they reference argument valueHints, argument names, or environment variable names from the parent Package. In Remote context, they reference variables from the transport’s ‘variables’ object. After variable substitution, this should produce a valid URI.

Match pattern:^https?://[^\s]+$

Example:https://api.example.com/mcp

headersarray

HTTP headers to include

Show Child Parameters
Example

SseTransport

object
typestringrequired

Transport type

Allowed values:sse

Example:sse

urlstringrequired

Server-Sent Events endpoint URL template. Variables in {curly_braces} are resolved based on context: In Package context, they reference argument valueHints, argument names, or environment variable names from the parent Package. In Remote context, they reference variables from the transport’s ‘variables’ object. After variable substitution, this should produce a valid URI.

Match pattern:^https?://[^\s]+$

Example:https://mcp-fs.example.com/sse

headersarray

HTTP headers to include

Show Child Parameters
Example

LocalTransport

Transport protocol configuration for local/package context

Any Of
typestringrequired

Transport type

Allowed values:stdio

Example:stdio

Example

RemoteTransport

Transport protocol configuration for remote context - extends StreamableHttpTransport or SseTransport with variables

Any Of
variablesobject

Configuration variables that can be referenced in URL template {curly_braces}. The key is the variable name, and the value defines the variable properties.

typestringrequired

Transport type

Allowed values:streamable-http

Example:streamable-http

urlstringrequired

URL template for the streamable-http transport. Variables in {curly_braces} are resolved based on context: In Package context, they reference argument valueHints, argument names, or environment variable names from the parent Package. In Remote context, they reference variables from the transport’s ‘variables’ object. After variable substitution, this should produce a valid URI.

Match pattern:^https?://[^\s]+$

Example:https://api.example.com/mcp

headersarray[object]

HTTP headers to include

Show Child Parameters
Example

Icon

object

An optionally-sized icon that can be displayed in a user interface.

srcstring(uri)required

A standard URI pointing to an icon resource. Must be an HTTPS URL. Consumers SHOULD take steps to ensure URLs serving icons are from the same domain as the server or a trusted domain. Consumers SHOULD take appropriate precautions when consuming SVGs as they can contain executable JavaScript.

<= 255 characters

Example:https://example.com/icon.png

mimeTypestring

Optional MIME type override if the source MIME type is missing or generic. Must be one of: image/png, image/jpeg, image/jpg, image/svg+xml, image/webp.

Allowed values:image/pngimage/jpegimage/jpgimage/svg+xmlimage/webp

Example:image/png

sizesarray[string]

Optional array of strings that specify sizes at which the icon can be used. Each string should be in WxH format (e.g., ‘48x48’, ‘96x96’) or ‘any’ for scalable formats like SVG. If not provided, the client should assume that the icon can be used at any size.

Match pattern:^(\d+x\d+|any)$

Example:48x48, 96x96

themestring

Optional specifier for the theme this icon is designed for. ‘light’ indicates the icon is designed to be used with a light background, and ‘dark’ indicates the icon is designed to be used with a dark background. If not provided, the client should assume the icon can be used with any theme.

Allowed values:lightdark

Example