Commit graph csharp-sdk/README.MD
Author SHA1 Message Date
Eirik Tsarpalis
32f5e07254 Update README.md 2025-03-19 15:42:48 +02:00
Eirik Tsarpalis
c9ed453745 Rename project and namespaces 2025-03-19 15:02:38 +02:00
Stephen Toub
4597bbd7c2
Integrate Microsoft.Extensions.AI as a foundational building block (#94)
* Integrate Microsoft.Extensions.AI as a foundational building block

As with logging abstractions coming from M.E.Logging and DI abstractions coming from M.E.DependencyInjection, M.E.AI provides the relevant AI abstractions.

- Adds AsAIFunction and GetAIFunctionsAsync methods for getting functions for tools via a client.
- Uses AIFunctionFactory to implement McpServerBuilderExtensions.WithTools.
- Adds a RequestSamplingAsync overload that accepts ChatMessages/Options.
- Adds an AsSamplingChatClient method that provides an IChatClient usable on the server to request sampling of the client.
- Adds a CreateSamplingHandler method to enable an IChatClient to be easily used to satisfy sampling requests on the client.
- Deprecate McpDotNet.Extensions.AI.

* Address PR feedback
2025-03-17 16:34:00 -04:00
Stephen Toub
08b0a04dab
Overhaul McpClientFactory/McpServerFactory (#87)
Handlers are now specified before connecting the client/server. Otherwise, race conditions exist. Handlers move into being a part of the McpClientOptions/McpServerOptions, so that they're provided to the factories. Where relevant, the handlers are specified as part of the capability descriptors, so that they go hand in hand.

The factories are no longer stateful. Instead of allocating a factory and then calling a create method on it, you just call a static factory method.
2025-03-16 12:08:52 -04:00
Stephen Toub
2c852f0757
Update README to work with latest code (#70) 2025-03-13 12:50:37 -04:00
Toni Wenzel
ec9bdfcf5d
Improve tool handling (#28)
* Improve tool handling

* Rework stuff with new hosting options

* Update readme

* Fix build

* Try run client tests

* Fix build

* Fix issues on linux

* Try to run testserver on linux

* Fix test issue

* Fix code smells
2025-03-07 16:48:55 +01:00
Toni Wenzel
7d69499ad5
Remove warnings from build (#29)
* Remove warnings from build

* More fixes.

* Using const for transport types
2025-03-06 21:02:13 +01:00
Toni Wenzel
80daa5b73d
Add ci build workflow (#31)
* Add ci build workflow

* Using cake build

* Update readme
2025-03-06 20:49:59 +01:00
Peder Holdgaard Pedersen
89c4913ed7
Microsoft.Extensions.AI.Abstractions integration (#25)
* MEAI integration
* README and xmldocs
2025-02-23 13:23:56 +01:00
Peder Holdgaard Pedersen
502a09d9fc
Linux-related stdio fixes and update version (#22)
- Modified `GetCommand` to return OS-specific commands and changed return type to `string?`.
- Improved `InitializeCommand` for better command initialization and logging.
- Cleaned up using directives in `Log.cs` and `SseClientTransport.cs`.
- Updated `CreateNoWindow` property in `StdioClientTransport` to be OS-dependent.
- Bumped version number in `mcpdotnet.csproj` to 1.0.1.1.
2025-02-19 19:52:56 +01:00
Peder Holdgaard Pedersen
535d342367
Update README.MD (#21) 2025-02-08 17:15:04 +01:00
Peder Holdgaard Pedersen
c99076094f
Update README.MD (#20) 2025-02-08 17:14:29 +01:00
Peder Holdgaard Pedersen
8fe797e1f3
Server support (stdio) (#19)
* Server support (stdio)
* TestServer project
* Refactored McpClient class to extract shared endpoint logic (with McpServer) to a base class, McpJsonRpcEndpoint.
* Improved xmldoc comments for protocol types, mirroring specification schema comments.
* Update README.MD
2025-02-08 16:21:26 +01:00
Peder Holdgaard Pedersen
86f1edfe38
Server instructions added to IMcpClient (#17) 2025-01-24 20:36:05 +01:00
Peder Holdgaard Pedersen
107c7acc8f
Completion support (#15) 2025-01-19 12:59:21 +01:00
Peder Holdgaard Pedersen
3e35efe79c
Reorganize folders, samples, minor bug fix (#14)
Reorganize folders
Samples
Casing fixes
2025-01-18 12:34:13 +01:00
Peder Holdgaard Pedersen
e51c78e5e4
SSE Transport Support (#13)
* First iteration

* Tests

* SSE support
2025-01-12 16:35:39 +01:00
Peder Holdgaard Pedersen
e5abb4bb8e
Roots capability support (#12)
Notification sending support
2025-01-09 21:10:29 +01:00
Peder Holdgaard Pedersen
4b8df6638e
Logging (#11)
* Logging
Fixed bug in stdio transport argument promotion

* Logging
Fixed bug in stdio transport argument promotion

* Version bump
2025-01-09 19:39:11 +01:00
Bradley Grainger
67bcba5af4
Fix example in Getting Started docs. (#10)
The variable name was misspelt. Additionally, use collection expression syntax to simplify the example.
2025-01-07 19:43:28 +01:00
Peder Holdgaard Pedersen
80c31fb91b
Badge (#9) 2025-01-06 16:45:09 +01:00
Peder Holdgaard Pedersen
f862dc338f
Update README (#8) 2025-01-05 20:13:47 +01:00
Peder Holdgaard Pedersen
c9ace236a0
Resource capability (#5)
Prompt capability
Pagination support
2025-01-04 19:39:22 +01:00
Peder Holdgaard Pedersen
85cefc23ff
Code example (#4) 2025-01-04 13:32:13 +01:00
PederHP
fdbd94b3f9 Initial commit 2024-12-30 20:30:31 +01:00