MacMusic  |  PcMusic  |  440 Software  |  440 Forums  |  440TV  |  Zicos
protocol
Search

MCP C# SDK updated to support latest Model Context Protocol spec

Thursday July 24, 2025. 02:09 AM , from InfoWorld
Microsoft announced that the MCP C# SDK now supports the latest specification version of the Model Context Protocol, allowing.NET developers to leverage an improved authentication protocol, elicitation support, and structured tool output when building AI applications with Model Context Protocol clients and servers.

The update to the open source SDK, accessible on GitHub, was detailed in a July 22 blog post. To use the new features, developers can update their MCP C# SDK package by running the command dotnet add package ModelContextProtocol --prerelease.

Whether building AI assistants, automation tools, or integrating AI capabilities into existing.NET applications, the new features will help developers create more robust and secure solutions, Microsoft said. MCP is an open protocol that enables seamless integration between large language model (LLM) applications and external data sources and tools.

With the MCP C# SDK, which now supports protocol specification version 2025-06-18, developers get a new authentication protocol that enhances security and flexibility for AI applications, according to Microsoft. The new protocol separates roles of the authentication and resource servers, enabling easier integration with existing OAuth 2.0 and OpenID connect providers.

Developers using the updated SDK also gain access to MCP’s new elicitation feature, which allows servers to request additional information during interaction. Elicitation enables more dynamic and interactive AI experiences, making it easier to gather necessary context before executing tasks, Microsoft said. Elicitation is an optional feature. Clients can declare support for it as part of their initialize request. In the MCP C# SDK, this is done by configuring an ElicitationHandler in the McpClientOptions.

Finally, the 2025-06-18 spec also supports structured tool output. Prior to this support, tool results were allowed to contain structured data but the LLM had to perform parsing and interpretation without any guidance from the tool itself. Now, tools can return structured content that is explicitly defined. This allows AI models to better understand and process the output, according to Microsoft. The MCP C# SDK enables tools to specify that their output is structured via the UseStructuredContent parameter of the McpServerTool attribute.
https://www.infoworld.com/article/4027591/mcp-c-sdk-updated-to-support-latest-model-context-protocol...

Related News

News copyright owned by their original publishers | Copyright © 2004 - 2025 Zicos / 440Network
Current Date
Jul, Fri 25 - 05:24 CEST