Eirik Tsarpalis
7628b3064f
Onboard repo to the .NET 10 sdk ( #822 )
...
* Onboard repo to the .NET 10 sdk
* Remove redundant property.
* Remove console logger
* Disabling failing tests in .NET 10.
2025-09-30 20:36:12 +03:00
Mackinnon Buck
38b4a26998
Restructure IMcpEndpoint, IMcpClient, and IMcpServer ( #723 )
...
* Remove `McpEndpoint` & `IMcpClient`
* Revise naming, add abstract classes
* Fix missing renames
* Move extension methods to instance methods
* Add back old API, but obsoleted
* Add back obsoleted factory classes
* Move deprecation attributes
* `SseClientTransport` -> `HttpClientTransport`
* Update src/ModelContextProtocol.Core/Server/AugmentedServiceProvider.cs
Co-authored-by: Stephen Halter <halter73@gmail.com>
* PR feedback
* PR feedback
* Add back dispose lock
* Fix docs projects
* PR feedback
* Undo `docs/*.md` changes
---------
Co-authored-by: Stephen Halter <halter73@gmail.com>
2025-09-16 10:22:10 -07:00
Stephen Halter
b067261ca7
Prune idle sessions before starting new ones ( #701 )
2025-08-18 11:04:27 -07:00
Stephen Halter
a88ef0deb7
Flow ExecutionContext with JsonRpcMessage ( #616 )
...
The primary goal of this change is to support IHttpContextAccessor in tool calls when the Streamable HTTP is in its default non-Stateless mode.
2025-07-15 13:58:43 -07:00
Stephen Toub
2bcff315f8
Update content according to latest spec ( #513 )
...
* Update content according to latest spec
* Add Title to a bunch of types
* Add _meta to lots of types
* Address feedback, more cleanup, fix NAOT test failure
2025-06-16 19:39:41 -04:00
Stephen Halter
d23f442a69
Allow more accept headers ( #429 )
2025-05-19 17:31:20 -07:00
Stephen Toub
106ab8064f
Clean up namespaces ( #410 )
...
No meaningful code changes, just lots of namespace shuffling to have fewer namespaces and to put things in better namespaces.
2025-05-14 14:50:26 -04:00
Stephen Halter
ce9f73f43f
Add stateless Streamable HTTP support ( #392 )
...
- It allows a single MCP session spanning multiple requests
to be handled by different servers without sharing state
- It does require the servers share data protection keys, but this
is standard for ASP.NET Core cookies and antiforgery as well
- It immediately throws for unsupported operations like sampling
2025-05-14 04:51:03 -07:00
Stephen Halter
bac97efec6
Remove batching support from StreamableHttpServerTransport ( #372 )
2025-05-01 15:48:53 -07:00
Stephen Halter
e913d80f05
Add client-side Streamable HTTP transport support ( #356 )
2025-04-30 17:21:43 -07:00