From 38218c76fa6f8c56681e894e0823ebbc84fc0b50 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 3 Feb 2026 17:58:20 +0000 Subject: [PATCH 1/2] Initial plan From 14822616cea3f35497de4c8e2c9c46cdcbce38ba Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 3 Feb 2026 18:06:09 +0000 Subject: [PATCH 2/2] Clarify McpMetaAttribute documentation to explain scope of metadata application Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com> --- .../Server/McpMetaAttribute.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/ModelContextProtocol.Core/Server/McpMetaAttribute.cs b/src/ModelContextProtocol.Core/Server/McpMetaAttribute.cs index a70c26c10..c629277c4 100644 --- a/src/ModelContextProtocol.Core/Server/McpMetaAttribute.cs +++ b/src/ModelContextProtocol.Core/Server/McpMetaAttribute.cs @@ -11,7 +11,15 @@ namespace ModelContextProtocol.Server; /// /// /// The metadata is used to populate the , , -/// or property of the corresponding primitive. +/// or property of the corresponding primitive. This metadata is +/// included in the responses to listing operations (tools/list, prompts/list, +/// resources/list). +/// +/// +/// This metadata is not propagated to the results of invocation operations such as +/// tools/call, prompts/get, or resources/read. To include metadata in +/// those results, set the Meta property on the , +/// , or directly in your method implementation. /// /// /// This attribute can be applied multiple times to a method to specify multiple key/value pairs