MCP ServersMCP.so
MCPSharp

MCPSharp

Visit Server
created by
MCPSharpafrise15 days ago
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.
MCPSharp
Information

What is MCPSharp?

MCPSharp is a .NET library designed to help developers build Model Context Protocol (MCP) servers, which are standardized API protocols used by AI assistants and models.

How to use MCPSharp?

To use MCPSharp, install the library via NuGet and define your tools and functions using specific attributes. Start the server to expose your .NET methods as MCP endpoints.

Key features of MCPSharp?

  • Easy-to-use attribute-based API for defining tools and functions.
  • Built-in JSON-RPC support for automatic request/response handling.
  • Automatic parameter validation and type conversion.
  • Rich documentation support through XML comments.
  • Zero configuration required for basic usage.

Use cases of MCPSharp?

  1. Creating tools for AI assistants like Anthropic's Claude Desktop.
  2. Building MCP-compliant APIs without dealing with protocol complexities.
  3. Exposing existing .NET code as MCP endpoints.
  4. Adding AI capabilities to applications through standardized interfaces.

FAQ from MCPSharp?

  • What is the minimum .NET version required?

.NET Framework 4.6 or higher is required.

  • How do I install MCPSharp?

You can install it using the command: dotnet add package MCPSharp.

  • Can I contribute to MCPSharp?

Yes! Contributions are welcome, and you can submit a Pull Request.