pardhu
c6a97d94d6
Add HttpServerSessionMode for hybrid stateful/stateless HTTP serving ( #1796 )
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Jeff Handley <jeffhandley@users.noreply.github.com>
2026-08-12 23:36:36 -07:00
Tarek Mahmoud Sayed
8ddb3cc36f
Obsolete Roots, Sampling, and Logging surface area per SEP-2577 ( #1651 )
...
Co-authored-by: Tarek Mahmoud Sayed <tarekms@ntdev.microsoft.com>
2026-06-22 10:24:50 -07:00
Jeff Handley
2c5d1ed2be
Document and demonstrate allowed hosts and CORS policy guidance ( #1554 )
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Stephen Halter <halter73@gmail.com>
2026-05-01 19:03:30 -07:00
dependabot[bot]
a693ce2d8c
Bump OpenTelemetry and 3 others ( #1514 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-26 16:38:22 -05:00
Stephen Halter
8eb4023c20
Add stateless doc, prefer stateless mode and disable legacy SSE by default ( #1468 )
2026-03-27 13:56:16 -07:00
Copilot
7dcdbafe9d
Add 3-arg RequestContext constructor and obsolete 2-arg to eliminate null-forgiving operator usage ( #1462 )
2026-03-27 12:33:23 -07:00
Copilot
84cd6917bb
Mark RunSessionHandler experimental (MCPEXP002) ( #1383 )
...
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: halter73 <54385+halter73@users.noreply.github.com>
Co-authored-by: jeffhandley <1031940+jeffhandley@users.noreply.github.com>
2026-02-24 15:02:34 -08:00
Copilot
80b1ad21d7
Use ReadOnlyMemory<byte> for binary data to eliminate UTF-16 transcoding ( #1070 )
...
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
Co-authored-by: ericstj <8918108+ericstj@users.noreply.github.com>
Co-authored-by: Eric StJohn <ericstj@microsoft.com>
2026-02-19 14:08:05 -08:00
Copilot
774411b22c
Add 2025-11-25 as supported version ( #1130 )
...
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
2026-01-15 09:59:42 -05:00
Mike Kistler
50e29c572d
Add examples of icons on tools, resources, prompts, and server implementation to EverythingServer ( #1096 )
...
Co-authored-by: Stephen Halter <halter73@gmail.com>
2026-01-09 08:49:37 -06:00
Mike Kistler
c447973972
Add request options bag to high level requests and include Meta ( #970 )
...
Co-authored-by: Stephen Toub <stoub@microsoft.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-04 17:32:12 -05:00
Stephen Toub
15139cc569
Add tools support to sampling ( #976 )
2025-11-20 09:52:23 -05:00
Mike Kistler
fb07d666a6
Convert EverythingServer to use Streamable HTTP ( #709 )
...
* Convert EverythingServer to use Streamable HTTP
* Apply suggestion from @halter73
Co-authored-by: Stephen Halter <halter73@gmail.com>
---------
Co-authored-by: Stephen Halter <halter73@gmail.com>
2025-10-16 14:39:42 -07:00
Stephen Halter
3255adb4d6
Propagate tool call exceptions through filters ( #844 )
...
* Add McpProtocolException specifically for JSON-RPC errors
2025-10-14 19:10:55 -07: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
Eirik Tsarpalis
55bda787ae
Styling: remove a few redundant parens from object initializer expressions. ( #548 )
...
* Styling: remove a few redundant parens from object initializer expressions.
* Fix build error.
2025-06-26 16:55:54 +03: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 Toub
5cc7c00456
Add elicitation capability ( #467 )
...
* Add elicitation capability
2025-05-29 22:03:03 -04: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 Toub
26c3622101
Use WithResources in EverythingServer sample ( #400 )
2025-05-10 06:13:42 -04:00
Mike Kistler
2eeb61f4fa
Add static resources to EverythingServer sample ( #361 )
...
* Add static resources
* Apply suggestions from PR review
---------
Co-authored-by: Stephen Halter <halter73@gmail.com>
2025-04-28 21:15:37 -05:00
Stephen Toub
7d77be68cf
Clean up (use of) McpException and McpTransportException ( #321 )
...
* Clean up (use of) McpException
* Replace McpTransportException with InvalidOperationException
* Add cancellation test
2025-04-18 09:25:29 -07:00
Liudmila Molkova
d6cc65aced
OpenTelemetry: context propagation and semconv update ( #262 )
2025-04-12 22:12:11 -04:00
Stephen Toub
f4c87f5e2f
Wrap each request in a service scope ( #276 )
...
* Wrap each request in a service scope
* Change request/notification delegates to return ValueTask
* Address feedback
2025-04-11 19:19:12 -04:00
Tyler Kendrick
03e3094dcc
Fix and enhance cancellation operations across MCP Sessions. ( #179 )
...
* Propagate CancellationToken request cancellation to remote endpoint
* Refactor existing tests to have a shared base class
* Add cancellation tests
---------
Co-authored-by: Stephen Toub <stoub@microsoft.com>
2025-04-08 16:12:12 -04:00
Stephen Toub
82510d5629
Add server "completions" capability ( #232 )
...
* Split apart Capabilities.cs
No code changes, just moving each type to its own file.
* Add server completions capability
2025-04-07 16:59:37 -04:00
Aaron Powell
01410df5ad
Add EverythingServer sample ( #151 )
2025-04-04 11:48:53 -07:00