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

Connects to an MCP server over HTTP.

headers: Record<string, string>

Non-secret HTTP headers sent to the MCP server.

server_url: string

The URL of the MCP server.

minLength0
type: "http"

The type of the object. Always http.

PersistedMcpTransportResourceStdio { args, command, cwd, 2 more }

Starts an MCP server as a local process.

args: Array<string>

Arguments passed to the MCP server command.

minItems0
maxItems2000
command: string

The command used to start the MCP server.

minLength0
cwd: string

The working directory used to start the MCP server.

minLength0
env_vars: Array<string>

Environment variable names inherited from the execution environment.

minItems0
maxItems2000
type: "stdio"

The type of the object. Always stdio.