Table of Contents

Version Property

Definition

Namespace
Codebelt.Extensions.Swashbuckle.AspNetCore.ModelContextProtocol
Assemblies
Codebelt.Extensions.Swashbuckle.AspNetCore.ModelContextProtocol.dll
Source
src/Codebelt.Extensions.Swashbuckle.AspNetCore.ModelContextProtocol/McpDocumentOptions.cs

Version

Gets or sets the MCP protocol revision documented by McpDocumentFilter.

public string Version { get; set; }

Property Value

string

Defaults to 2026-07-28. The supported revisions are 2026-07-28, 2025-11-25, 2025-06-18, 2025-03-26, and 2024-11-05.

Remarks

The selected revision changes the documented transport, request metadata, headers, and request schema. The 2024-11-05 revision documents the legacy HTTP+SSE /sse and /message endpoints.