HtmlWidgetPayload.McpUrl Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Optional MCP server URL. When set, the Teams client combines it with the owner id ("ownerId-mcpUrl") as the input for deriving the widget hosting origin. A widget produced by an MCP server must set it to that server's URL to get its own hosting scope.
[System.Text.Json.Serialization.JsonIgnore(Condition=System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)]
[System.Text.Json.Serialization.JsonPropertyName("mcpUrl")]
public string? McpUrl { get; set; }
[<System.Text.Json.Serialization.JsonIgnore(Condition=System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)>]
[<System.Text.Json.Serialization.JsonPropertyName("mcpUrl")>]
member this.McpUrl : string with get, set
Public Property McpUrl As String
Property Value
- Attributes