csharp-sdk/src/ModelContextProtocol.Core/Protocol
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Stephen Halter fd38f51e27
Tighten draft protocol negotiation boundaries (#1692)
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Tarek Mahmoud Sayed <tarekms@ntdev.microsoft.com>
2026-07-12 14:30:49 -07:00
..
Annotations.cs Core Protocol docs edit pass (#1032) 2025-11-25 23:05:25 -05:00
Argument.cs Core Protocol docs edit pass (#1032) 2025-11-25 23:05:25 -05:00
BlobResourceContents.cs Fix XML documentation spelling, grammar, and correctness issues across SDK (#1372) 2026-02-23 23:56:22 -05:00
CacheScope.cs Add SEP-2549 caching hints (ttlMs and cacheScope) to cacheable results (#1623) 2026-06-15 14:44:01 -07:00
CacheScopeConverter.cs Add SEP-2549 caching hints (ttlMs and cacheScope) to cacheable results (#1623) 2026-06-15 14:44:01 -07:00
CallToolRequestParams.cs Implement SEP-2663 Tasks Extension (#1579) 2026-06-11 13:10:45 -07:00
CallToolResult.cs Implement SEP-2663 Tasks Extension (#1579) 2026-06-11 13:10:45 -07:00
CancelledNotificationParams.cs Core Protocol docs edit pass (#1032) 2025-11-25 23:05:25 -05:00
CancelTaskRequestParams.cs Implement SEP-2663 Tasks Extension (#1579) 2026-06-11 13:10:45 -07:00
CancelTaskResult.cs Implement SEP-2663 Tasks Extension (#1579) 2026-06-11 13:10:45 -07:00
ClientCapabilities.cs Fully stabilize now-stable protocol properties (#1686) 2026-07-01 22:44:19 +03:00
CompleteContext.cs Audit protocol types (#892) 2025-11-04 15:41:10 -08:00
CompleteRequestParams.cs Audit protocol types (#892) 2025-11-04 15:41:10 -08:00
CompleteResult.cs Update content according to latest spec (#513) 2025-06-16 19:39:41 -04:00
Completion.cs Core Protocol docs edit pass (#1032) 2025-11-25 23:05:25 -05:00
CompletionsCapability.cs Fix XML documentation spelling, grammar, and correctness issues across SDK (#1372) 2026-02-23 23:56:22 -05:00
ContentBlock.cs Obsolete Roots, Sampling, and Logging surface area per SEP-2577 (#1651) 2026-06-22 10:24:50 -07:00
ContextInclusion.cs Obsolete Roots, Sampling, and Logging surface area per SEP-2577 (#1651) 2026-06-22 10:24:50 -07:00
CreateMessageRequestParams.cs Obsolete Roots, Sampling, and Logging surface area per SEP-2577 (#1651) 2026-06-22 10:24:50 -07:00
CreateMessageResult.cs Obsolete Roots, Sampling, and Logging surface area per SEP-2577 (#1651) 2026-06-22 10:24:50 -07:00
CreateTaskResult.cs Use TimeToLive (TimeSpan?) instead of TtlMs (long?) in public APIs (#1644) 2026-06-23 09:12:15 -07:00
DebuggerDisplayHelper.cs Use ReadOnlyMemory<byte> for binary data to eliminate UTF-16 transcoding (#1070) 2026-02-19 14:08:05 -08:00
DiscoverRequestParams.cs Follow-ups to #1610: de-draft 2026-07-28 terminology, renumber error codes, ProtocolVersion floor (#1671) 2026-06-25 14:07:52 -07:00
DiscoverResult.cs Tighten draft protocol negotiation boundaries (#1692) 2026-07-12 14:30:49 -07:00
ElicitationCapability.cs Fall back to well-known URL in client if 401 response is missing resource_metadata parameter (#1054) 2025-12-05 14:12:51 -08:00
ElicitationCompleteNotificationParams.cs Add support for URL mode elicitation (#1021) 2025-12-05 00:03:16 -08:00
ElicitRequestParams.cs Implement SEP-2663 Tasks Extension (#1579) 2026-06-11 13:10:45 -07:00
ElicitResult.cs Fix XML documentation spelling, grammar, and correctness issues across SDK (#1372) 2026-02-23 23:56:22 -05:00
EmptyResult.cs Update content according to latest spec (#513) 2025-06-16 19:39:41 -04:00
FormElicitationCapability.cs Add support for URL mode elicitation (#1021) 2025-12-05 00:03:16 -08:00
GetPromptRequestParams.cs Core Protocol docs edit pass (#1032) 2025-11-25 23:05:25 -05:00
GetPromptResult.cs Update content according to latest spec (#513) 2025-06-16 19:39:41 -04:00
GetTaskRequestParams.cs Implement SEP-2663 Tasks Extension (#1579) 2026-06-11 13:10:45 -07:00
GetTaskResult.cs Use TimeToLive (TimeSpan?) instead of TtlMs (long?) in public APIs (#1644) 2026-06-23 09:12:15 -07:00
IBaseMetadata.cs Core Protocol docs edit pass (#1032) 2025-11-25 23:05:25 -05:00
ICacheableResult.cs Default draft protocol support: sessionless + handshake-less (SEP-2575 + SEP-2567) (#1610) 2026-06-23 21:24:22 -07:00
Icon.cs Fix Icon.Theme documentation to match MCP specification (#1090) 2025-12-12 16:33:51 +02:00
Implementation.cs Core Protocol docs edit pass (#1032) 2025-11-25 23:05:25 -05:00
InitializedNotificationParams.cs Update content according to latest spec (#513) 2025-06-16 19:39:41 -04:00
InitializeRequestParams.cs Tighten draft protocol negotiation boundaries (#1692) 2026-07-12 14:30:49 -07:00
InitializeResult.cs Tighten draft protocol negotiation boundaries (#1692) 2026-07-12 14:30:49 -07:00
InputRequest.cs Remove ExperimentalAttribute from official Extensions/Tasks/MRTR APIs and align MCPEXP001 usage (#1642) 2026-06-25 13:47:14 -07:00
InputRequiredException.cs Remove ExperimentalAttribute from official Extensions/Tasks/MRTR APIs and align MCPEXP001 usage (#1642) 2026-06-25 13:47:14 -07:00
InputRequiredResult.cs Remove ExperimentalAttribute from official Extensions/Tasks/MRTR APIs and align MCPEXP001 usage (#1642) 2026-06-25 13:47:14 -07:00
InputResponse.cs Remove ExperimentalAttribute from official Extensions/Tasks/MRTR APIs and align MCPEXP001 usage (#1642) 2026-06-25 13:47:14 -07:00
ITransport.cs Core Protocol docs edit pass (#1032) 2025-11-25 23:05:25 -05:00
JsonRpcError.cs Core Protocol docs edit pass (#1032) 2025-11-25 23:05:25 -05:00
JsonRpcErrorDetail.cs Core Protocol docs edit pass (#1032) 2025-11-25 23:05:25 -05:00
JsonRpcMessage.cs Tighten draft protocol negotiation boundaries (#1692) 2026-07-12 14:30:49 -07:00
JsonRpcMessageContext.cs Follow-ups to #1610: de-draft 2026-07-28 terminology, renumber error codes, ProtocolVersion floor (#1671) 2026-06-25 14:07:52 -07:00
JsonRpcMessageWithId.cs Core Protocol docs edit pass (#1032) 2025-11-25 23:05:25 -05:00
JsonRpcNotification.cs Audit protocol types (#892) 2025-11-04 15:41:10 -08:00
JsonRpcRequest.cs Core Protocol docs edit pass (#1032) 2025-11-25 23:05:25 -05:00
JsonRpcResponse.cs Core Protocol docs edit pass (#1032) 2025-11-25 23:05:25 -05:00
ListPromptsRequestParams.cs Update content according to latest spec (#513) 2025-06-16 19:39:41 -04:00
ListPromptsResult.cs Add SEP-2549 caching hints (ttlMs and cacheScope) to cacheable results (#1623) 2026-06-15 14:44:01 -07:00
ListResourcesRequestParams.cs Update content according to latest spec (#513) 2025-06-16 19:39:41 -04:00
ListResourcesResult.cs Add SEP-2549 caching hints (ttlMs and cacheScope) to cacheable results (#1623) 2026-06-15 14:44:01 -07:00
ListResourceTemplatesRequestParams.cs Update content according to latest spec (#513) 2025-06-16 19:39:41 -04:00
ListResourceTemplatesResult.cs Add SEP-2549 caching hints (ttlMs and cacheScope) to cacheable results (#1623) 2026-06-15 14:44:01 -07:00
ListRootsRequestParams.cs Obsolete Roots, Sampling, and Logging surface area per SEP-2577 (#1651) 2026-06-22 10:24:50 -07:00
ListRootsResult.cs Obsolete Roots, Sampling, and Logging surface area per SEP-2577 (#1651) 2026-06-22 10:24:50 -07:00
ListToolsRequestParams.cs Update content according to latest spec (#513) 2025-06-16 19:39:41 -04:00
ListToolsResult.cs Add SEP-2549 caching hints (ttlMs and cacheScope) to cacheable results (#1623) 2026-06-15 14:44:01 -07:00
LoggingCapability.cs Obsolete Roots, Sampling, and Logging surface area per SEP-2577 (#1651) 2026-06-22 10:24:50 -07:00
LoggingLevel.cs Obsolete Roots, Sampling, and Logging surface area per SEP-2577 (#1651) 2026-06-22 10:24:50 -07:00
LoggingMessageNotificationParams.cs Obsolete Roots, Sampling, and Logging surface area per SEP-2577 (#1651) 2026-06-22 10:24:50 -07:00
McpExtensions.cs Implement SEP-2663 Tasks Extension (#1579) 2026-06-11 13:10:45 -07:00
McpHeaderEncoder.cs Align x-mcp-header implementation with SEP-2243 spec clarifications (#1619) 2026-06-05 15:45:08 -07:00
McpTaskStatus.cs Implement SEP-2663 Tasks Extension (#1579) 2026-06-11 13:10:45 -07:00
MetaKeys.cs Follow-ups to #1610: de-draft 2026-07-28 terminology, renumber error codes, ProtocolVersion floor (#1671) 2026-06-25 14:07:52 -07:00
MissingRequiredClientCapabilityErrorData.cs Follow-ups to #1610: de-draft 2026-07-28 terminology, renumber error codes, ProtocolVersion floor (#1671) 2026-06-25 14:07:52 -07:00
ModelHint.cs Obsolete Roots, Sampling, and Logging surface area per SEP-2577 (#1651) 2026-06-22 10:24:50 -07:00
ModelPreferences.cs Obsolete Roots, Sampling, and Logging surface area per SEP-2577 (#1651) 2026-06-22 10:24:50 -07:00
NotificationMethods.cs Follow-ups to #1610: de-draft 2026-07-28 terminology, renumber error codes, ProtocolVersion floor (#1671) 2026-06-25 14:07:52 -07:00
NotificationParams.cs Update content according to latest spec (#513) 2025-06-16 19:39:41 -04:00
PaginatedRequest.cs Audit protocol types (#892) 2025-11-04 15:41:10 -08:00
PaginatedResult.cs Core Protocol docs edit pass (#1032) 2025-11-25 23:05:25 -05:00
PingRequestParams.cs Add request options bag to high level requests and include Meta (#970) 2025-12-04 17:32:12 -05:00
PingResult.cs Update content according to latest spec (#513) 2025-06-16 19:39:41 -04:00
ProgressNotificationParams.cs Core Protocol docs edit pass (#1032) 2025-11-25 23:05:25 -05:00
ProgressToken.cs Add McpClient/Session methods using .Protocol types (#1063) 2025-12-05 13:45:12 -05:00
Prompt.cs Remove server back-references from protocol DTO types (#1345) 2026-02-23 14:17:54 -05:00
PromptArgument.cs Core Protocol docs edit pass (#1032) 2025-11-25 23:05:25 -05:00
PromptListChangedNotification.cs Core Protocol docs edit pass (#1032) 2025-11-25 23:05:25 -05:00
PromptMessage.cs Fix ToJsonObject serialization failure with anonymous types and add support for custom JsonSerializerOptions (#1113) 2026-01-20 11:21:11 +02:00
PromptsCapability.cs Remove obsolete APIs from codebase and standardize MCP diagnostic IDs (#985) 2025-12-02 10:28:46 -08:00
ReadResourceRequestParams.cs Document https:// direct-fetch provision in ReadResourceRequestParams (#1296) 2026-02-17 09:30:11 -05:00
ReadResourceResult.cs Add SEP-2549 caching hints (ttlMs and cacheScope) to cacheable results (#1623) 2026-06-15 14:44:01 -07:00
Reference.cs Fix XML documentation spelling, grammar, and correctness issues across SDK (#1372) 2026-02-23 23:56:22 -05:00
RequestId.cs Default draft protocol support: sessionless + handshake-less (SEP-2575 + SEP-2567) (#1610) 2026-06-23 21:24:22 -07:00
RequestMethods.cs Tighten draft protocol negotiation boundaries (#1692) 2026-07-12 14:30:49 -07:00
RequestParams.cs Fully stabilize now-stable protocol properties (#1686) 2026-07-01 22:44:19 +03:00
RequestParamsMetadata.cs Audit protocol types (#892) 2025-11-04 15:41:10 -08:00
Resource.cs Remove server back-references from protocol DTO types (#1345) 2026-02-23 14:17:54 -05:00
ResourceContents.cs Fix base64 deserialization when JSON encoder escapes forward slashes (#1342) 2026-02-23 14:20:25 -05:00
ResourceListChangedNotificationParams.cs Core Protocol docs edit pass (#1032) 2025-11-25 23:05:25 -05:00
ResourcesCapability.cs Remove obsolete APIs from codebase and standardize MCP diagnostic IDs (#985) 2025-12-02 10:28:46 -08:00
ResourceTemplate.cs Remove server back-references from protocol DTO types (#1345) 2026-02-23 14:17:54 -05:00
ResourceUpdatedNotificationParams.cs Audit protocol types (#892) 2025-11-04 15:41:10 -08:00
Result.cs Implement SEP-2663 Tasks Extension (#1579) 2026-06-11 13:10:45 -07:00
ResultOrCreatedTask.cs Implement SEP-2663 Tasks Extension (#1579) 2026-06-11 13:10:45 -07:00
Role.cs Update to .NET 10.x packages (#957) 2025-11-12 14:14:40 +01:00
Root.cs Obsolete Roots, Sampling, and Logging surface area per SEP-2577 (#1651) 2026-06-22 10:24:50 -07:00
RootsCapability.cs Obsolete Roots, Sampling, and Logging surface area per SEP-2577 (#1651) 2026-06-22 10:24:50 -07:00
RootsListChangedNotificationParams.cs Obsolete Roots, Sampling, and Logging surface area per SEP-2577 (#1651) 2026-06-22 10:24:50 -07:00
SamplingCapability.cs Obsolete Roots, Sampling, and Logging surface area per SEP-2577 (#1651) 2026-06-22 10:24:50 -07:00
SamplingContextCapability.cs Obsolete Roots, Sampling, and Logging surface area per SEP-2577 (#1651) 2026-06-22 10:24:50 -07:00
SamplingMessage.cs Obsolete Roots, Sampling, and Logging surface area per SEP-2577 (#1651) 2026-06-22 10:24:50 -07:00
SamplingToolsCapability.cs Obsolete Roots, Sampling, and Logging surface area per SEP-2577 (#1651) 2026-06-22 10:24:50 -07:00
ServerCapabilities.cs Fully stabilize now-stable protocol properties (#1686) 2026-07-01 22:44:19 +03:00
SetLevelRequestParams.cs Obsolete Roots, Sampling, and Logging surface area per SEP-2577 (#1651) 2026-06-22 10:24:50 -07:00
SingleItemOrListConverter.cs Core Protocol docs edit pass (#1032) 2025-11-25 23:05:25 -05:00
SubscribeRequestParams.cs Core Protocol docs edit pass (#1032) 2025-11-25 23:05:25 -05:00
SubscriptionsAcknowledgedNotificationParams.cs Follow-ups to #1610: de-draft 2026-07-28 terminology, renumber error codes, ProtocolVersion floor (#1671) 2026-06-25 14:07:52 -07:00
SubscriptionsListenRequestParams.cs Follow-ups to #1610: de-draft 2026-07-28 terminology, renumber error codes, ProtocolVersion floor (#1671) 2026-06-25 14:07:52 -07:00
TaskStatusNotificationParams.cs Use TimeToLive (TimeSpan?) instead of TtlMs (long?) in public APIs (#1644) 2026-06-23 09:12:15 -07:00
TextResourceContents.cs Add DebuggerDisplay attributes to Protocol types (#1068) 2025-12-05 15:09:46 -08:00
TimeSpanMillisecondsConverter.cs Add SEP-2549 caching hints (ttlMs and cacheScope) to cacheable results (#1623) 2026-06-15 14:44:01 -07:00
Tool.cs Relax outputSchema to any JSON Schema 2020-12 document per SEP-2106 (#1568) 2026-06-16 15:02:04 -07:00
ToolAnnotations.cs Clarify null semantics in ToolAnnotations hint property docs (#1346) 2026-02-22 22:52:22 -08:00
ToolChoice.cs Obsolete Roots, Sampling, and Logging surface area per SEP-2577 (#1651) 2026-06-22 10:24:50 -07:00
ToolListChangedNotificationParams.cs Fix XML documentation spelling, grammar, and correctness issues across SDK (#1372) 2026-02-23 23:56:22 -05:00
ToolsCapability.cs Remove obsolete APIs from codebase and standardize MCP diagnostic IDs (#985) 2025-12-02 10:28:46 -08:00
TransportBase.cs Add client completion notification and details (#1368) 2026-03-02 09:17:22 -05:00
UnsubscribeRequestParams.cs Core Protocol docs edit pass (#1032) 2025-11-25 23:05:25 -05:00
UnsupportedProtocolVersionErrorData.cs Follow-ups to #1610: de-draft 2026-07-28 terminology, renumber error codes, ProtocolVersion floor (#1671) 2026-06-25 14:07:52 -07:00
UpdateTaskRequestParams.cs Implement SEP-2663 Tasks Extension (#1579) 2026-06-11 13:10:45 -07:00
UpdateTaskResult.cs Implement SEP-2663 Tasks Extension (#1579) 2026-06-11 13:10:45 -07:00
UrlElicitationCapability.cs Add support for URL mode elicitation (#1021) 2025-12-05 00:03:16 -08:00
UrlElicitationRequiredErrorData.cs Make UrlElicitationRequiredErrorData.Elicitations consistent with other Protocol DTOs (#1335) 2026-02-20 23:12:16 -05:00