Enables building Model Context Protocol (MCP) servers and clients in .NET for AI assistant integration.
MCPSharp is a .NET library designed to streamline the creation of MCP-compliant tools and functions, allowing developers to seamlessly integrate .NET applications with AI assistants and models. It simplifies the process of building MCP servers and clients by offering an easy-to-use, attribute-based API, built-in JSON-RPC support, and automatic parameter validation. MCPSharp facilitates exposing .NET methods as MCP endpoints, dynamic tool registration, and integration with Microsoft.Extensions.AI and Semantic Kernel, making it a powerful tool for adding AI capabilities to applications through standardized interfaces.