StdioTransport

object
typestringrequired

Transport type

Allowed values:stdio

Example:stdio

Example

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