afrise/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.
Implements attribute-based tool exposure with automatic JSON-RPC handling and parameter validation, supporting both stdio and SSE transports. Integrates seamlessly with Microsoft.Extensions.AI and Semantic Kernel, allowing .NET methods to be registered as AIFunctions or KernelFunctions without vendor lock-in. Features dynamic tool registration, resource endpoints, XML documentation extraction, and real-time tool change notifications for connected clients.
362 stars.
Stars
362
Forks
41
Language
C#
License
MIT
Category
Last pushed
Oct 20, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/mcp/afrise/MCPSharp"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
microsoft/mcp
Catalog of official Microsoft MCP (Model Context Protocol) server implementations for AI-powered...
microsoft/mcp-dotnet-samples
A comprehensive set of samples of creating and using MCP servers and clients with .NET
nisalgunawardhana/How-To-Create-MCP-Server
This guide will help you set up a basic MCP (Model Context Protocol) server in .NET, configure...
kooshi/SharpToolsMCP
A suite of MCP tools for AIs to analyze and modify C# solutions with high signal, Roslyn powered context.
MCDxAI/minecraft-dev-mcp
Model Context Protocol server for Minecraft Development