One of the following:
McpTransportResourceHTTP { server_url, type }

Connects to an MCP server over HTTP.

server_url: string

The URL of the MCP server.

minLength0
type: "http"

The type of the object. Always http.

McpTransportResourceStdio { 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.