Copilot
3f39ba7936
Skip flaky test on Mono where stderr callbacks are unsupported ( #980 )
...
* Initial plan
* Fix race condition in StdioClientSessionTransport stderr handling
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
* Simplify WaitForExit logic as suggested in code review
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
* Skip flaky test on Mono and revert incorrect fix
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
2025-11-19 22:34:06 -05:00
Eirik Tsarpalis
d8768de302
Fix stdio client transport CLI argument escaping. ( #811 )
...
* Fix stdio client transport CLI argument escaping.
* Fix failing Windows test.
* Add more test cases and refine escaping logic.
* Fix test failures in mono
* Style fixes
* Tweak stdio test
* Tweak tests further
2025-09-25 14:46:39 +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
Eirik Tsarpalis
f2dc714cd5
Update packages and Infra ( #732 )
...
* Update packages and Infra
* Update Directory.Packages.props
* Update Directory.Packages.props
* Install mono on macos gh-actions machines
* Skip failing test
* Attempt to fix failing macos test.
2025-08-26 17:28:35 +03:00
Eirik Tsarpalis
aa75f6f37e
Enable netfx testing. ( #588 )
...
* Enable netfx testing.
* Skip impacted tests and re-enable netfx testing.
* Remove redundant comment.
* Remove unnecessary project configuration.
* Simplify test server copying.
2025-07-08 18:50:37 +03:00
Stephen Toub
b9b4a23005
Add a callback for receiving stderr output ( #525 )
...
* Add a callback for receiving stderr output
* Add asserts to test
2025-06-17 16:03:20 -04:00
Stephen Halter
317f468807
Automatically fall back from Streamable HTTP to SSE on the client by default ( #456 )
2025-05-28 11:06:58 -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 Toub
c11c634945
Improve exception diagnostics for stdio client ( #376 )
...
* Improve exception diagnostics for stdio client
Track the last several lines of stderr and include those in an exception created as part of CleanupAsync if the server process has already exited. This is based on an assumption that the server should never exit prior to CleanupAsync being called.
* Address feedback and fix test failure
2025-05-14 10:46:49 -04:00