PulseAugur
EN
LIVE 02:32:59

MCP C# SDK updates array/scalar tool outputs, drops wrapper

The Model Context Protocol (MCP) C# SDK has updated its handling of array and scalar tool outputs, moving away from a required object wrapper. With the MCP 2026-07-28 protocol, arrays and scalars are treated directly, eliminating the need for a `result` field within `structuredContent`. This change simplifies data handling and requires clients to adapt to the new wire contract. The SDK's latest versions, particularly v2.2.0, support this direct serialization, while older versions maintain compatibility by still emitting the envelope when necessary. AI

IMPACT Simplifies data handling for developers using the MCP C# SDK by removing a legacy wrapper for tool outputs.

RANK_REASON The article details an update to a specific software development kit (SDK) and its protocol handling, which is a technical improvement rather than a major industry event.

Read on dev.to — MCP tag →

AI-generated summary · Google Gemini · from 1 sources. How we write summaries →

MCP C# SDK updates array/scalar tool outputs, drops wrapper

COVERAGE [1]

  1. dev.to — MCP tag TIER_1 English(EN) · Sukhpinder Singh ·

    MCP C# SDK Array Tool Outputs: Stop Looking for a `result` Wrapper

    <p>MCP C# SDK array tool outputs are easy to misread after a protocol upgrade. A client written around the older wire shape may always reach for <code>structuredContent.result</code>. Once both sides negotiate MCP <code>2026-07-28</code>, an array is an array and a scalar is a sc…