{"repo":"afrise/MCPSharp","free":true,"listed":false,"github":"https://github.com/afrise/MCPSharp","clone":"git clone https://github.com/afrise/MCPSharp.git","description":"MCPSharp is a .NET library that helps you build Model Context Protocol (MCP) servers and clients - the standardized API protocol used by AI assistants and models.","language":"C#","stars":374,"topics":["ai","dotnet","mcp","mcp-client","mcp-server","model-context-protocol","sdk","aifunctions","dotnet-standard","microsoft-extensions-ai"],"license":"MIT","category":"mcp-servers","readme_excerpt":"MCPSharp MCPSharp is a .NET library that helps you build Model Context Protocol (MCP) servers and clients - the standardized API protocol used by AI assistants and models. With MCPSharp, you can: - Create MCP-compliant tools and functions that AI models can discover and use - Connect directly to existing MCP servers from C# code with an easy to use client - Expose your .NET methods as MCP endpoints with simple attributes - Handle MCP protocol details and JSON-RPC communication seamlessly 🚀 What's New in MCPSharp - Microsoft.Extensions.AI Integration : MCPSharp now integrates with Microsoft.Extensions.AI, allowing tools to be exposed as AIFunctions - Semantic Kernel Support : Add tools using Semantic Kernel's KernelFunctionAttribute - Dynamic Tool Registration : Register tools on-the-fly with custom implementation logic - Tool Change Notifications : Server now notifies clients when tools are added, updated, or removed - Complex Object Parameter Support : Better handling of complex objects in tool parameters - Better Error Handling : Improved error handling with detailed stack traces When to Use MCPSharp Use MCPSharp when you want to: - Create tools that AI assistants like Anthropic's Claude Desktop can use - Build MCP-compliant APIs without dealing with the protocol details - Expose existing .NET code as MCP endpoints - Add AI capabilities to your applications through standardized interfaces - Integrate with Microsoft.Extensions.AI and/or Semantic Kernel without locking into ","default_branch":null,"files":null,"tree":[],"storefront":"/r/afrise","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/afrise/MCPSharp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}