MCPSharpMM - Model Context Protocol for .NET
Build Model Context Protocol (MCP) servers and clients in .NET with MCPSharpMM. Create MCP-compliant tools and functions that AI models can discover and use. Features easy to use attribute-based API allowing anyone to spin up a server in minutes, and a Microsoft.Extensions.AI compatible client that generates AIFunctions, ready to be consumed by any IChatClient or compatible system. await MCPServer.StartAsync("EchoServer", "1.0.0"); --- server: class MyTool { [McpTool("echo","returns the input string back to you")] public string echo(string input) => input; } ---client: var client = new MCPClient("MyClient","1.0.0", "EchoServer.exe" //or dotnet EchoServer.dll if you wish await client.CallToolAsync("echo", new Dictionary<string, object>{{"input", "input string to echo"}});
Ask AI about MCPSharpMM - Model Context Protocol for .NET
Powered by Claude · Grounded in docs
I know everything about MCPSharpMM - Model Context Protocol for .NET. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
No README available
