Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

The official C# SDK for the [Model Context Protocol](https://modelcontextprotocol.io/), enabling .NET applications, services, and libraries to implement and interact with MCP clients and servers.

> [!NOTE]
> [!NOTE]
> This repo is still in preview, breaking changes can be introduced without prior notice.

## About MCP
Expand Down Expand Up @@ -65,7 +65,7 @@ IList<AIFunction> tools = await client.GetAIFunctionsAsync();
IChatClient chatClient = ...;
var response = await chatClient.GetResponseAsync(
"your prompt here",
new()
new()
{
Tools = [.. tools],
});
Expand Down Expand Up @@ -110,7 +110,7 @@ using Microsoft.Extensions.Logging.Abstractions;
McpServerOptions options = new()
{
ServerInfo = new() { Name = "MyServer", Version = "1.0.0" },
Capabilities = new()
Capabilities = new()
{
Tools = new()
{
Expand Down Expand Up @@ -166,6 +166,10 @@ await server.StartAsync();
await Task.Delay(Timeout.Infinite);
```

## Acknowledgements

The starting point for this library was a community project called [mcpdotnet](https://github.com/PederHP/mcpdotnet) developed by [Peder Holdgaard Pederson](@PederHP). We are grateful for the work done by Peder to create a solid foundation for this library.

## License

This project is licensed under the [MIT License](LICENSE).