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.

49
/ 100
Emerging

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.

No Package No Dependents
Maintenance 6 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 17 / 25

How are scores calculated?

Stars

362

Forks

41

Language

C#

License

MIT

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.