Add acknowledgements to README (#94)
* Add acknowledgements to README * Apply suggestions from PR review. Co-authored-by: Stephen Toub <stoub@microsoft.com> --------- Co-authored-by: Stephen Toub <stoub@microsoft.com>
This commit is contained in:
parent
367f265516
commit
ed079b9711
1 changed files with 7 additions and 3 deletions
10
README.MD
10
README.MD
|
|
@ -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
|
||||
|
|
@ -65,7 +65,7 @@ IList<AIFunction> tools = await client.GetAIFunctionsAsync();
|
|||
IChatClient chatClient = ...;
|
||||
var response = await chatClient.GetResponseAsync(
|
||||
"your prompt here",
|
||||
new()
|
||||
new()
|
||||
{
|
||||
Tools = [.. tools],
|
||||
});
|
||||
|
|
@ -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()
|
||||
{
|
||||
|
|
@ -166,6 +166,10 @@ await server.StartAsync();
|
|||
await Task.Delay(Timeout.Infinite);
|
||||
```
|
||||
|
||||
## Acknowledgements
|
||||
|
||||
The starting point for this library was a project called [mcpdotnet](https://github.com/PederHP/mcpdotnet), initiated by [Peder Holdgaard Pederson](https://github.com/PederHP). We are grateful for the work done by Peder and other contributors to that repository, which created a solid foundation for this library.
|
||||
|
||||
## License
|
||||
|
||||
This project is licensed under the [MIT License](LICENSE).
|
||||
|
|
|
|||
Loading…
Reference in a new issue