C# SDK

modelcontextprotocol
2476
Official C# SDK for Model Context Protocol Server and Client Maintained by Microsoft.

Overview

What is C# SDK

csharp-sdk is the official C# SDK for Model Context Protocol servers and clients, maintained by Microsoft. It allows .NET applications to implement and interact with MCP clients and servers.

How to Use

To use csharp-sdk, you start by creating a client using the `McpClientFactory.CreateAsync` method to connect to an MCP server. Once connected, you can list available tools and invoke them as needed.

Key Features

Key features of csharp-sdk include support for secure integration with Large Language Models (LLMs), the ability to enumerate and invoke tools, and a straightforward API for .NET developers.

Where to Use

csharp-sdk can be used in various fields such as application development, data processing, and any scenario where integration with Large Language Models is required.

Use Cases

Use cases for csharp-sdk include building applications that leverage LLMs for data analysis, creating tools that interact with multiple data sources, and developing services that require context-aware interactions.

Content