The reputation layer for AI skills, tools & agents

afrise/MCPSharp

Score: 43.9 Rank #721

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.

Overview

afrise/MCPSharp is a C# MCP server licensed under MIT. 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. Topics: ai, dotnet, mcp, mcp-client, mcp-server, model-context-protocol, sdk, aifunctions, dotnet-standard, microsoft-extensions-ai, semantic-kernel.

Ranked #721 out of 25632 indexed tools.

In the top 3% of all indexed tools.

Used by 19 other projects.

Ecosystem

C# MIT
aidotnetmcpmcp-clientmcp-servermodel-context-protocolsdkaifunctionsdotnet-standardmicrosoft-extensions-aisemantic-kernel

Signal Breakdown

Stars 361
Freshness 4mo ago
Issue Health 52%
Contributors 5
Dependents 19
Forks 41
Description Detailed
License MIT

How to Improve

Freshness high impact

Last commit was 146 days ago — a recent commit would boost your freshness score

Badge

AgentRank score for afrise/MCPSharp
[![AgentRank](https://agentrank-ai.com/api/badge/tool/afrise--MCPSharp)](https://agentrank-ai.com/tool/afrise--MCPSharp)
<a href="https://agentrank-ai.com/tool/afrise--MCPSharp"><img src="https://agentrank-ai.com/api/badge/tool/afrise--MCPSharp" alt="AgentRank"></a>

Matched Queries

"mcp server""mcp-server""model context protocol""model-context-protocol"

From the README

# 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 
Read full README on GitHub →
Are you the maintainer? Claim this listing