Skip to content

HarnessRemoteMcpConfig

Structure Class

HarnessRemoteMcpConfig dataclass

Bases: _SerdeShape

Configuration for connecting to a remote MCP server.

Attributes

headers class-attribute instance-attribute
headers: dict[str, str] | None = ...

Custom headers to include when connecting to the remote MCP server.

outbound_auth class-attribute instance-attribute
outbound_auth: HarnessRemoteMcpOutboundAuth | None = ...

How the harness authenticates to this MCP server. Defaults to no authentication.

url instance-attribute
url: str

URL of the MCP endpoint.