One of the following:
PersistedMcpTransportConfigParamHTTP { server_url, type, headers }

Connects to an MCP server over HTTP.

server_url: string

The URL of the MCP server.

minLength0
maxLength1048576
type: "http"

The type of the object. Always http.

headers?: Record<string, string> | null

Non-secret HTTP headers sent to the MCP server.

PersistedMcpTransportConfigParamStdio { command, cwd, type, 2 more }

Starts an MCP server as a local process.

command: string

The command used to start the MCP server.

minLength0
maxLength1048576
cwd: string

The working directory used to start the MCP server.

minLength0
maxLength1048576
type: "stdio"

The type of the object. Always stdio.

args?: Array<string> | null

Arguments passed to the MCP server command.

minItems0
maxItems16384
env_vars?: Array<string> | null

Environment variable names to inherit from the selected execution environment.

minItems0
maxItems16384