Transport

data class Transport(val transport: String) : McpAttributes.Network(source)

The transport protocol used for the MCP session. This is RECOMMENDED.

https://github.com/open-telemetry/semantic-conventions/blob/main/model/mcp/common.yaml

Valid values:

  • "pipe" for stdio transport

  • "tcp" for HTTP transport

  • "quic" for HTTP/3 transport

Constructors

Link copied to clipboard
constructor(transport: String)

Properties

Link copied to clipboard
open override val key: String

Attribute key

Link copied to clipboard
Link copied to clipboard
open override val value: String

Attribute value.

Functions

Link copied to clipboard
open fun String.concatKey(other: String): String

Joins two attribute-key segments with a . separator.