MCP Directory
Back

ModelContextProtocol.NET

by salty-flower · C# · ★ 81

ModelContextProtocol.NET — MCP server.

Install

git clone https://github.com/salty-flower/ModelContextProtocol.NET.git

Claude Desktop config

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "modelcontextprotocol-net": {
      "command": "npx",
      "args": [
        "-y",
        "github:salty-flower/ModelContextProtocol.NET"
      ]
    }
  }
}

From the README

A C# SDK implementation of the Model Context Protocol (MCP). - ✅ Standard I/O Communication - ✅ Tool Integration Framework - ✅ Native AOT Compatible - ✅ Calculator Demo Implementation - 🚧 WebSocket Support - 🚧 Resource Management - 🚧 Prompt System See for a fully functional calculator demo that covers: - Logging setup - Tool handler implementation - Request/response handling - Error management Install [the server package](https://www.nuget.org/packages/ModelContextProtocol.NET.Server): For hosting integration, add [the server hosting package](https://www.nuget.org/packages/ModelContex…
Read full README on GitHub →

💡 Need a managed MCP host?

Try Claude Pro for the smoothest MCP experience, or browse our cloud-hosted servers.

Related other servers