Announcing the NuGet MCP Server Preview

来源:Microsoft.com

文章摘要

Microsoft's .NET team has released a preview of a Model Context Protocol (MCP) server, now available as a NuGet package, allowing .NET developers to expose applications and libraries as tools for AI assistants.

  • This server enables AI models, such as Anthropic's Claude, to discover and invoke external tools and consume real-world data and services.
  • Developers can define custom tools using C# code, which are then packaged as NuGet packages, making them easily discoverable and consumable by MCP-compatible AI agents.
  • The initiative provides a standardized way for AI models to interact with external codebases, significantly enhancing their capabilities and enabling them to perform actions beyond their core training data.