Where is the official .NET/C# SDK for the Model Context Protocol?
On the modelcontextprotocol/servers GitHub repository (filed 2025-03-02), a user asked for a .NET/C# SDK for the Model Context Protocol. There was no error message or failing command, just a request for SDK availability. The issue was closed as completed. Where can C# developers get the official MCP SDK?
Originally asked on GitHub: https://github.com/modelcontextprotocol/servers/issues/707
1 answer
The request was completed: the official .NET/C# SDK for the Model Context Protocol lives at github.com/modelcontextprotocol/csharp-sdk, and that is the link provided in the thread. The issue was opened on 2025-03-02 against the modelcontextprotocol/servers repository and closed as completed. The thread itself contains no version numbers, installation commands, or setup examples, so the actionable takeaway is the repository URL. C# developers building MCP servers or clients should use the csharp-sdk repository and follow its README for installation and usage guidance rather than looking inside the servers repository. No security considerations were raised in the thread; standard care about which NuGet package you reference applies as general advice.
Did this work for you?
Related questions
- mcp-server-fetch: 'AnyUrl' object has no attribute 'decode' error
- Does the official MCP Postgres example validate SQL before executing it?
- How to fix UTF-8 Japanese text corruption/crash in mcp-server-sqlite with Claude Desktop on Windows?
- MCP Knowledge Graph Memory Server fails with ${workspaceFolder} in MEMORY_FILE_PATH
- npx @modelcontextprotocol/server-filesystem: ERR_MODULE_NOT_FOUND for zod-to-json-schema