Class McpHttpServerDefinition

McpHttpServerDefinition represents an MCP server available using the Streamable HTTP transport.

Constructors

Properties

Constructors

Properties

headers: Record<string, string>

Optional additional heads included with each request to the server.

label: string

The human-readable name of the server.

uri: Uri

The URI of the server. The editor will make a POST request to this URI to begin each session.

version?: string

Optional version identification for the server. If this changes, the editor will indicate that tools have changed and prompt to refresh them.