MCPSharp — MCP Server by afrise

by afrise · MCP Server · ★ 361

Last updated: · Indexed by AgentSkillsHub · Auto-synced every 8h

About MCPSharp

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

aiaifunctionsdotnetdotnet-standardmcpmcp-clientmcp-servermicrosoft-extensions-aimodel-context-protocolsdk

Quick Facts

Stars361
Forks41
LanguageC#
CategoryMCP Server
LicenseMIT
Quality Score42.2/100
Open Issues12
Last Updated2025-10-20
Created2025-02-17
Platformscli, dotnet, mcp
Est. Tokens~17k

MCPSharp alternative? Top 6 similar tools

Looking for a MCPSharp alternative? If you're comparing MCPSharp with other mcp server tools, these 6 projects are the closest alternatives on Agent Skills Hub — ranked by topic overlap, star count, and community traction.

  • gopher-mcp by GopherSecurity · ⭐ 118

    MCP C++ SDK - Model Context Protocol implementation in CPP with enterprise-grade security, observability and c

  • context-space by context-space · ⭐ 804

    Ultimate Context Engineering Infrastructure, starting from MCPs and Integrations

  • mcp-client-for-ollama by jonigl · ⭐ 749

    Harness the power of local LLMs with this TUI MCP Client for Ollama. Featuring all core MCP primitives (tools,

  • volcano-agent-sdk by Kong · ⭐ 388

    🌋 Build AI agents that seamlessly combine LLM reasoning with real-world actions via MCP tools — in just a few

  • pluggedin-app by VeriTeknik · ⭐ 95

    The Crossroads for AI Data Exchanges. A unified, self-hostable web interface for discovering, configuring, and

  • mcphub.nvim by ravitemer · ⭐ 1.7k

    An MCP client for Neovim that seamlessly integrates MCP servers into your editing workflow with an intuitive i

More MCP Server Tools

Explore other popular mcp server tools:

View all MCP Server tools →

Popular C# Agent Tools

Frequently Asked Questions

What is MCPSharp?

MCPSharp is 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.. It is categorized as a MCP Server with 361 GitHub stars.

What programming language is MCPSharp written in?

MCPSharp is primarily written in C#. It covers topics such as ai, aifunctions, dotnet.

How do I install or use MCPSharp?

You can find installation instructions and usage details in the MCPSharp GitHub repository at github.com/afrise/MCPSharp. The project has 361 stars and 41 forks, indicating an active community.

What license does MCPSharp use?

MCPSharp is released under the MIT license, making it free to use and modify according to the license terms.

What are the best alternatives to MCPSharp?

The top alternatives to MCPSharp on Agent Skills Hub include gopher-mcp, context-space, mcp-client-for-ollama. Each offers a different approach to the same problem space — compare them side-by-side by stars, quality score, and community activity.

View on GitHub → Browse MCP Server tools