Add MCP Apps extension support (typed metadata, attribute, and helpers) (#1484)
This commit is contained in:
parent
de75c7d0df
commit
f93df7e172
1 changed files with 1896 additions and 1 deletions
|
|
@ -50,6 +50,26 @@ internal static class Experimentals
|
|||
/// </summary>
|
||||
public const string Extensions_Url = "https://github.com/modelcontextprotocol/csharp-sdk/blob/main/docs/list-of-diagnostics.md#mcpexp001";
|
||||
|
||||
/// <summary>
|
||||
/// Diagnostic ID for experimental MCP Apps extension APIs.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// MCP Apps is the first official MCP extension (<c>"io.modelcontextprotocol/ui"</c>), enabling
|
||||
/// servers to deliver interactive UIs inside AI clients. This uses a dedicated diagnostic ID
|
||||
/// so that users can suppress it independently from other experimental APIs.
|
||||
/// </remarks>
|
||||
public const string Apps_DiagnosticId = "MCPEXP003";
|
||||
|
||||
/// <summary>
|
||||
/// Message for the experimental MCP Apps extension APIs.
|
||||
/// </summary>
|
||||
public const string Apps_Message = "The MCP Apps extension is experimental and subject to change as the specification evolves.";
|
||||
|
||||
/// <summary>
|
||||
/// URL for the experimental MCP Apps extension APIs.
|
||||
/// </summary>
|
||||
public const string Apps_Url = "https://github.com/modelcontextprotocol/csharp-sdk/blob/main/docs/list-of-diagnostics.md#mcpexp003";
|
||||
|
||||
/// <summary>
|
||||
/// Diagnostic ID for experimental SDK APIs unrelated to the MCP specification,
|
||||
/// such as subclassing <c>McpClient</c>/<c>McpServer</c> or referencing <c>RunSessionHandler</c>.
|
||||
|
|
|
|||
Loading…
Reference in a new issue