csharp-sdk/src/ModelContextProtocol.Core/Protocol
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Tarek Mahmoud Sayed ed19286a08
Align x-mcp-header implementation with SEP-2243 spec clarifications (#1619)
Co-authored-by: Tarek Mahmoud Sayed <tarekms@ntdev.microsoft.com>
2026-06-05 15:45:08 -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
CallToolRequestParams.cs Hide experimental types from external source generators using internal property pattern (#1301) 2026-02-19 07:27:30 -08:00
CallToolResult.cs Normalize CallToolResult.StructuredContent to JsonElement? (#1357) 2026-02-23 18:04:09 -05:00
CancelledNotificationParams.cs Core Protocol docs edit pass (#1032) 2025-11-25 23:05:25 -05:00
CancelMcpTaskRequestParams.cs Implement MCP task support (SEP-1686) (#1170) 2026-01-27 19:21:02 -08:00
ClientCapabilities.cs Add Extensions support to ClientCapabilities and ServerCapabilities (#1317) 2026-02-21 00:08:20 -08: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 Fix XML documentation spelling, grammar, and correctness issues across SDK (#1372) 2026-02-23 23:56:22 -05:00
ContextInclusion.cs Core Protocol docs edit pass (#1032) 2025-11-25 23:05:25 -05:00
CreateMessageRequestParams.cs Fix CreateMessageRequestParams.Metadata type to JsonObject (#1354) 2026-02-23 18:08:03 -05:00
CreateMessageResult.cs Align sampling specification XML docs with spec revision d165cd6 (#1293) 2026-02-17 16:02:14 -05:00
CreateTaskResult.cs Implement MCP task support (SEP-1686) (#1170) 2026-01-27 19:21:02 -08:00
DebuggerDisplayHelper.cs Use ReadOnlyMemory<byte> for binary data to eliminate UTF-16 transcoding (#1070) 2026-02-19 14:08:05 -08: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 Fix XML documentation spelling, grammar, and correctness issues across SDK (#1372) 2026-02-23 23:56:22 -05: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
GetTaskPayloadRequestParams.cs Implement MCP task support (SEP-1686) (#1170) 2026-01-27 19:21:02 -08:00
GetTaskRequestParams.cs Implement MCP task support (SEP-1686) (#1170) 2026-01-27 19:21:02 -08:00
IBaseMetadata.cs Core Protocol docs edit pass (#1032) 2025-11-25 23:05:25 -05: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 Core Protocol docs edit pass (#1032) 2025-11-25 23:05:25 -05:00
InitializeResult.cs Align InitializeResult.instructions XML docs with latest MCP spec guidance (#1290) 2026-02-17 15:39:50 -05:00
InputRequest.cs Multi Round-Trip Requests (MRTR) (#1458) 2026-06-03 16:19:31 -07:00
InputRequiredException.cs Multi Round-Trip Requests (MRTR) (#1458) 2026-06-03 16:19:31 -07:00
InputRequiredResult.cs Multi Round-Trip Requests (MRTR) (#1458) 2026-06-03 16:19:31 -07:00
InputResponse.cs Multi Round-Trip Requests (MRTR) (#1458) 2026-06-03 16:19:31 -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 Fix XML documentation spelling, grammar, and correctness issues across SDK (#1372) 2026-02-23 23:56:22 -05:00
JsonRpcMessageContext.cs Multi Round-Trip Requests (MRTR) (#1458) 2026-06-03 16:19:31 -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 Core Protocol docs edit pass (#1032) 2025-11-25 23:05:25 -05:00
ListResourcesRequestParams.cs Update content according to latest spec (#513) 2025-06-16 19:39:41 -04:00
ListResourcesResult.cs Core Protocol docs edit pass (#1032) 2025-11-25 23:05:25 -05:00
ListResourceTemplatesRequestParams.cs Update content according to latest spec (#513) 2025-06-16 19:39:41 -04:00
ListResourceTemplatesResult.cs Update content according to latest spec (#513) 2025-06-16 19:39:41 -04:00
ListRootsRequestParams.cs Fix XML documentation spelling, grammar, and correctness issues across SDK (#1372) 2026-02-23 23:56:22 -05:00
ListRootsResult.cs Audit protocol types (#892) 2025-11-04 15:41:10 -08:00
ListTasksRequestParams.cs Replace concrete collection types with interfaces in public API surface (#1326) 2026-02-19 19:48:45 -08:00
ListToolsRequestParams.cs Update content according to latest spec (#513) 2025-06-16 19:39:41 -04:00
ListToolsResult.cs Core Protocol docs edit pass (#1032) 2025-11-25 23:05:25 -05:00
LoggingCapability.cs Fix XML documentation spelling, grammar, and correctness issues across SDK (#1372) 2026-02-23 23:56:22 -05:00
LoggingLevel.cs Fix XML documentation spelling, grammar, and correctness issues across SDK (#1372) 2026-02-23 23:56:22 -05:00
LoggingMessageNotificationParams.cs Make LoggingMessageNotificationParams.Data required per MCP spec (#1353) 2026-02-23 11:37:35 -05:00
McpHeaderEncoder.cs Align x-mcp-header implementation with SEP-2243 spec clarifications (#1619) 2026-06-05 15:45:08 -07:00
McpTask.cs Implement MCP task support (SEP-1686) (#1170) 2026-01-27 19:21:02 -08:00
McpTaskMetadata.cs Implement MCP task support (SEP-1686) (#1170) 2026-01-27 19:21:02 -08:00
McpTasksCapability.cs Implement MCP task support (SEP-1686) (#1170) 2026-01-27 19:21:02 -08:00
McpTaskStatus.cs Implement MCP task support (SEP-1686) (#1170) 2026-01-27 19:21:02 -08:00
McpTaskStatusNotificationParams.cs Implement MCP task support (SEP-1686) (#1170) 2026-01-27 19:21:02 -08:00
ModelHint.cs Core Protocol docs edit pass (#1032) 2025-11-25 23:05:25 -05:00
ModelPreferences.cs Core Protocol docs edit pass (#1032) 2025-11-25 23:05:25 -05:00
NotificationMethods.cs docs: align roots terminology with MCP spec clarification (#1469) 2026-03-27 07:25:45 -04: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 Update content according to latest spec (#513) 2025-06-16 19:39:41 -04:00
Reference.cs Fix XML documentation spelling, grammar, and correctness issues across SDK (#1372) 2026-02-23 23:56:22 -05:00
RequestId.cs Add McpClient/Session methods using .Protocol types (#1063) 2025-12-05 13:45:12 -05:00
RequestMethods.cs Fix XML documentation spelling, grammar, and correctness issues across SDK (#1372) 2026-02-23 23:56:22 -05:00
RequestParams.cs Multi Round-Trip Requests (MRTR) (#1458) 2026-06-03 16:19:31 -07: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 Multi Round-Trip Requests (MRTR) (#1458) 2026-06-03 16:19:31 -07:00
Role.cs Update to .NET 10.x packages (#957) 2025-11-12 14:14:40 +01:00
Root.cs docs: align roots terminology with MCP spec clarification (#1469) 2026-03-27 07:25:45 -04:00
RootsCapability.cs docs: align roots terminology with MCP spec clarification (#1469) 2026-03-27 07:25:45 -04:00
RootsListChangedNotificationParams.cs Fix XML documentation spelling, grammar, and correctness issues across SDK (#1372) 2026-02-23 23:56:22 -05:00
SamplingCapability.cs Remove obsolete APIs from codebase and standardize MCP diagnostic IDs (#985) 2025-12-02 10:28:46 -08:00
SamplingContextCapability.cs Add tools support to sampling (#976) 2025-11-20 09:52:23 -05:00
SamplingMessage.cs Add DebuggerDisplay attributes to Protocol types (#1068) 2025-12-05 15:09:46 -08:00
SamplingToolsCapability.cs Add tools support to sampling (#976) 2025-11-20 09:52:23 -05:00
ServerCapabilities.cs Add Extensions support to ClientCapabilities and ServerCapabilities (#1317) 2026-02-21 00:08:20 -08:00
SetLevelRequestParams.cs Audit protocol types (#892) 2025-11-04 15:41:10 -08: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
TextResourceContents.cs Add DebuggerDisplay attributes to Protocol types (#1068) 2025-12-05 15:09:46 -08:00
TimeSpanMillisecondsConverter.cs Implement MCP task support (SEP-1686) (#1170) 2026-01-27 19:21:02 -08:00
Tool.cs Remove server back-references from protocol DTO types (#1345) 2026-02-23 14:17:54 -05:00
ToolAnnotations.cs Clarify null semantics in ToolAnnotations hint property docs (#1346) 2026-02-22 22:52:22 -08:00
ToolChoice.cs Core Protocol docs edit pass (#1032) 2025-11-25 23:05:25 -05:00
ToolExecution.cs Implement MCP task support (SEP-1686) (#1170) 2026-01-27 19:21:02 -08: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
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