Align InitializeResult.instructions XML docs with latest MCP spec guidance (#1290)

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
Co-authored-by: Stephen Toub <stoub@microsoft.com>
Co-authored-by: Stephen Halter <halter73@gmail.com>
This commit is contained in:
Copilot 2026-02-17 15:39:50 -05:00 • committed by GitHub
commit 49fbc513f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -54,8 +54,9 @@ public sealed class McpServerOptions
/// </summary>
/// <remarks>
/// These instructions are sent to clients during the initialization handshake and provide
/// guidance on how to effectively use the server's capabilities. They can include details
/// about available tools, expected input formats, limitations, or other helpful information.
/// guidance on how to effectively use the server's capabilities. They should focus on
/// information that helps models use the server effectively and should not duplicate
/// tool, prompt, or resource descriptions already exposed elsewhere.
/// Client applications typically use these instructions as system messages for LLM interactions
/// to provide context about available functionality.
/// </remarks>